< Back

Reset-AzureRmPowerBIWorkspaceCollectionAccessKeys

Tue Jan 29, 2019 9:59 pm

NAME Reset-AzureRmPowerBIWorkspaceCollectionAccessKeys



SYNOPSIS

Resets the specified access key.





SYNTAX

Reset-AzureRmPowerBIWorkspaceCollectionAccessKeys [-ResourceGroupName] <String> [-WorkspaceCollectionName] <String> [-DefaultProfile

<IAzureContextContainer>] [-Key1] [-Key2] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Reset-AzureRmPowerBIWorkspaceCollectionAccessKeys cmdlet resets the specified access key in your Power BI workspace collection.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Key1 [<SwitchParameter>]

Indicates that this cmdlet resets the primary access key.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Key2 [<SwitchParameter>]

Indicates that this cmdlet resets the secondary access key.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group of the collection.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-WorkspaceCollectionName <String>

Specifies the name of the Power BI workspace collection on which this cmdlet operates.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Management.PowerBIEmbedded.Models.PSWorkspaceCollectionAccessKey







NOTES









Example 1: Reset the primary access key



PS C:\\>Reset-AzureRmPowerBIWorkspaceCollectionAccessKeys -ResourceGroupName "ResourceGroup17" -WorkspaceCollectionName "WCN11" -Key1



This command resets the primary access key for the workspace collection named WCN11 in the specified resource group.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... accesskeys

Get-AzureRmPowerBIWorkspaceCollectionAccessKeys