【发布时间】:2020-05-14 18:47:35
【问题描述】:
我正在使用 Azure Powershell 3.8.0
我正在尝试获取可以在此屏幕中看到的对象 ID:
我尝试使用以下方法:
PS> (Get-AzResource -Name "func-example").Identity.PrincipalId
但它与对象 ID 不匹配。
然后:
PS> (Get-AzWebApp -Name "func-example" -ResourceGroupName RGNAME).Identity
但也不匹配
有谁知道如何使用 Azure Powershell 获取该 ID?
【问题讨论】:
标签: azure powershell azure-web-app-service azure-powershell