列出有权访问企业应用程序AzureAD RBAC的组

2024-04-19 21:22:14 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用AzureAd的graphrestapi/python。 我已登录服务负责人。你知道吗

是否可以列出可以访问企业应用程序的用户/组?
如果是:如何?你知道吗

enter image description here


Tags: 用户应用程序企业负责人azureadgraphrestapi
2条回答

如果你找到了你需要的东西,请查看RestAPI: https://msdn.microsoft.com/Library/Azure/Ad/Graph/api/api-catalog

如果你找不到,那就不可能了。如果您找到了它,这个RestAPI将在Python中由azure-graphrbac包公开:

如果您在RestAPI中找到它,而不是在Python包中,请打开一个问题以获得对所需端点的支持:

https://github.com/Azure/azure-sdk-for-python/issues

(我在微软的azuresdkforpython团队工作)

多亏了@laurent mazuel,我发现了问题Navigation Properties are missing from SDK

解决方法:
从文档:Service Principal Entity具有导航属性appRoleAssignedTo。然后,解决方案是使用原始API端点,如下所示: https://graph.windows.net/{tenant_id}/servicePrincipals/{service_principal}/appRoleAssignedTo/并在azure-sdk-for-python中扩展ServicePrincipalOperations

返回批准实体。你知道吗

相关问题 更多 >