简体   繁体   English

Microsoft Graph Api User.Read.All 未授予我的域

[英]Microsoft Graph Api User.Read.All Not granted for my domain

I am getting the following error or status Not granted for my domain .我收到以下错误或状态Not granted for my domain see the attached document见附件
在此处输入图像描述 Is this because my role is User ?这是因为我的角色是User吗?

I tried to find who is Azure AD Global Administrator ?我试图找到谁是 Azure AD Global Administrator

I followed the following steps:我按照以下步骤操作:

  1. Log into the Azure Portal (https://portal.azure.com) .登录 Azure 门户网站(https://portal.azure.com)
  2. Click on Azure Active Directory单击Azure Active Directory
  3. Click on Roles and administrators单击Roles and administrators
  4. Click on Global administrator点击Global administrator
  5. Under Global administrator it says Microsoft Office 365 PortalGlobal administrator下它说Microsoft Office 365 Portal

what does it mean?这是什么意思?
How can I or someone else in organization become Global administrator ?我或组织中的其他人如何成为Global administrator
I want API permissions->User.Read.All Not granted for mydomain我想要API permissions->User.Read.All Not granted for mydomain

PS: My email is work email . PS:我的 email 是work email

Update 1更新 1
My role is user我的角色是用户
在此处输入图像描述

Update 2更新 2
Global administrator - Assignments say's Microsoft Office 365 Portal is my Admin. Global administrator - AssignmentsMicrosoft Office 365 Portal是我的管理员。 How to get these credentials?如何获得这些凭证?
在此处输入图像描述

授予同意截图

I was similiarly frustrated here: it's very hard to spot, however you'll notice that the 'grant admin consent for -' is reset on every update to permissions.我在这里同样感到沮丧:很难发现,但是您会注意到“授予管理员同意 -”在每次更新权限时都会重置。

Therefor simple re-tick this and wait a few seconds for the warnings to disappear.因此,简单地重新勾选此项并等待几秒钟让警告消失。

I too thought I was missing a step elsewhere, very misleading!我也以为我在别处错过了一步,非常误导!

For User.Read.All permission you should have Admin Consent which a User cannot avail.对于User.Read.All权限,您应该拥有User无法使用的Admin Consent

You should have either Global Admin or Application administrator credentials.您应该拥有Global AdminApplication administrator凭据。

Permission Required:权限要求:

在此处输入图片说明

Please refer to this official document Permission details请参考此官方文档Permission details

Admin Credentials:管理员凭据:

在此处输入图片说明

For Admin credentials details refer to this document有关管理员凭据的详细信息,请参阅此文档

Office 365 Admin Role Assignment: Office 365 管理员角色分配:

在此处输入图片说明

Hope this will help.希望这会有所帮助。 Let me know if you have any more concern.如果您还有其他问题,请告诉我。

Make sure that if you're the only one or just opened the account that you are an admin on Microsoft 365.确保如果你是唯一一个或刚刚打开帐户,你就是 Microsoft 365 的管理员。

  1. You will need to add a TXT record in your DNS settings (Fe Route53 - AWS) https://learn.microsoft.com/en-us/microsoft-365/admin/misc/become-the-admin?view=o365-worldwide您需要在 DNS 设置中添加 TXT 记录 (Fe Route53 - AWS) https://learn.microsoft.com/en-us/microsoft-365/admin/misc/become-the-admin?view=o365-全世界

Once that is verified you will automatically be a global administrator and then you will have access to all admin features.一旦通过验证,您将自动成为全局管理员,然后您将有权访问所有管理功能。

  1. Go back to Azure and then just click on the small hard to see in grey here: Go 回到 Azure 然后点击这里灰色的小难以看到:

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM