我正在使用
使用azure cli创建和注册应用程序az ad app create ...
功能。
应用注册清单中有一个字段:signInAudience
我想设置为:AzureADandPersonalMicrosoftAccount
通话
az ad app update --id [[APP_ID]] --set signInAudience=AzureADandPersonalMicrosoftAccount
返回
Property 'signInAudience' not found on root. Send it as an additional property .
Updates to converged applications are not allowed in this version.
如何更改它?
答案 0 :(得分:0)
您可以尝试使用App registrations (Preview) in the Azure Portal更新它。找到您的应用并使用左侧导航导航到“清单”。找到signInAudience
属性并将其设置为AzureADandPersonalMicrosoftAccount
。然后保存您的更改。
答案 1 :(得分:0)
您可以使用--available-to-other-tenants
az ad app update --id xxxx --available-to-other-tenants
这会将signInAudience
中的manifest
属性设置为AzureADMultipleOrgs
或AzureADMyOrg
。
检查az ad app update -h
以获得更多帮助,或查看Microsoft Docs