如何找出谁是我所属目录的全局管理员 [英] How to find out who the Global Administrator is for a directory to which I belong

查看:72
本文介绍了如何找出谁是我所属目录的全局管理员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经检查了经典Azure门户中所有可能的区域,但似乎找不到我所属目录的全局管理员".

I have checked in every possible area in the classic Azure portal but I can't seem to find the "Global Administrator" for the directory to which I belong.

是否可以在门户网站中找到答案?

Is there a way to find this out in the portal?

推荐答案

通过对AAD或Microsoft Graph API进行两次查询,您应该能够在租户中查找公司管理员.

You should be able to look up the company administrators in your tenant by making two queries to the AAD or Microsoft Graph API.

第一个查询将允许您标识租户中公司管理员"角色的objectId.

The first query will allow you to identify the objectId of the "Company Administrator" role in your tenant.

https://graph.windows.net/<tenant>/directoryRoles

然后,您需要找到"roleTemplateId": "62e90394-69f5-4237-9190-012177145e10"所在的目录角色,并保存objectId.

Then you need to find the directoryRole where "roleTemplateId": "62e90394-69f5-4237-9190-012177145e10", and save the objectId.

接下来,您可以使用以下命令查询该目录角色的成员:

Next you can query the members of that directoryRole using the following:

https://graph.windows.net/<tenant>/directoryRoles/<objectId>/members

使用Graph Explorer进行尝试,这是演示Tenant:

Try it all out using the Graph Explorer, and it's demo Tenant:

让我知道这是否有帮助!

Let me know if this helps!

这篇关于如何找出谁是我所属目录的全局管理员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆