Get-AzSystemAssignedIdentity

Gets the systemAssignedIdentity available under the specified RP scope.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

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

PS C:\> 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 credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ISystemAssignedIdentity

Notes

ALIASES