az cli - getting details about a managed identities
This is really handy command to get information about your managed identity or service principal. It returns displayName or Application Id.
az ad sp list --display-name 'your-managed-identity-name'
This can be very useful compare to az identity show --- which requires a resource group. Sometimes we might not know what the resource group is.
Comments