Powershell AzureADPreview cmdlet Set-AzureADApplication "PreAuthorizedApplications" 参数的正确语法是什么?
What is the correct syntax for Powershell AzureADPreview cmdlet Set-AzureADApplication "PreAuthorizedApplications" parameter?
跟进另一个 ,但从不同的角度。
在AzureADPreview powershell module, there is a parameter -PreAuthorizedApplications for Set-AzureADApplication. But neither the cmdlet help nor the documentation page has been updated to detail all these, it was also mentioned here.
我只是想知道,也许有人碰巧知道如何使用它以及设置 preAuthorizedApplication 资源类型列表的语法是什么?
总结一下我的评论:
命令Set-AzureADApplication
实质上调用了Azure AD GraphAPI,但在Azure AD GraphAPI中,application
对象没有preAuthorizedApplications
属性,它仅存在于 Microsoft Graph API 中,这意味着该功能 未 实现。
你应该知道的一些信息:
旧的 Azure AD Graph API 似乎已被放弃,Microsoft 不再定期更新 AAD Graph 的此内容。您可以在 link.
中找到它
所以你会发现这与AzureADPreview
中的新功能-preAuthorizedApplications
相矛盾。一个解决方案是让AzureAD PowerShell调用Microsoft Graph,有人在azure feedback上发了这个想法,你可以投票。
跟进另一个
在AzureADPreview powershell module, there is a parameter -PreAuthorizedApplications for Set-AzureADApplication. But neither the cmdlet help nor the documentation page has been updated to detail all these, it was also mentioned here.
我只是想知道,也许有人碰巧知道如何使用它以及设置 preAuthorizedApplication 资源类型列表的语法是什么?
总结一下我的评论:
命令Set-AzureADApplication
实质上调用了Azure AD GraphAPI,但在Azure AD GraphAPI中,application
对象没有preAuthorizedApplications
属性,它仅存在于 Microsoft Graph API 中,这意味着该功能 未 实现。
你应该知道的一些信息:
旧的 Azure AD Graph API 似乎已被放弃,Microsoft 不再定期更新 AAD Graph 的此内容。您可以在 link.
中找到它所以你会发现这与AzureADPreview
中的新功能-preAuthorizedApplications
相矛盾。一个解决方案是让AzureAD PowerShell调用Microsoft Graph,有人在azure feedback上发了这个想法,你可以投票。