Azure API(图形或 REST)中的 AAD 用户默认权限 (UserSettings) 在哪里?

Where is AAD users-default-permissions (UserSettings) in Azure API (Graph or REST)?

我无法在Azure API Rest 或Graph 中引入“限制成员用户默认权限”->“用户可以注册应用程序”(https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/users-default-permissions) 的数据。

我使用 powershell 中的“Get-MsolCompanyInformation”。我想在不使用 azure 交互式帐户登录的情况下执行此操作,而是使用使用 .NETFramework

的帐户和应用程序

如何以编程方式获取值?

提前致谢。

您只能在 Azure AD 门户中的用户设置下或使用 Azure AD MSOL 模块管理这些设置 Get-MsolCompanyInformation,截至今天没有 API 控制方式。

如果您使用利用 Azure AD 连接配置端点的 msol 模块 (Get-MsolCompanyInformation) https://provisioningapi.microsoftonline.com/provisioningwebservice.svc(基于 SOAP 请求)来检索无法像 Graph 那样开箱即用的 UserSettings API 方式。