Get-AzSystemAssignedIdentity
Gets the systemAssignedIdentity available under the specified RP scope.
Syntax
Get-AzSystemAssignedIdentity
-Scope <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the systemAssignedIdentity available under the specified RP scope.
Examples
Example 1: Gets the system assigned identity available under the specified RP scope
Get-AzSystemAssignedIdentity -Scope "/subscriptions/00000000-0000-0000-00000000000/resourcegroups/lucas-rg-test/providers/Microsoft.Web/sites/functionportal01"
Name Location ResourceGroupName
---- -------- -----------------
ubuntu-portal01 eastus azure-rg-test
This command gets the system assigned identity available under the specified RP scope.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Scope
The resource provider scope of the resource. Parent resource being extended by Managed Identities.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell