简体   繁体   English

AADSTS90093:由于缺少权限,主叫方无法同意

[英]AADSTS90093: Calling principal cannot consent due to lack of permissions

I'm getting the following error when non-global admin users are trying to access graph explorer 2 within our tenant: 当非全局管理员用户尝试访问我们的租户中的图形资源管理器2时,我收到以下错误:

Additional technical information: 其他技术信息:

Correlation ID: 2346b0f5-bb5f-4138-8f9d-07fa96dcf02f Timestamp: 2015-05-29 17:18:48Z AADSTS90093: Calling principal cannot consent due to lack of permissions. 相关ID:2346b0f5-bb5f-4138-8f9d-07fa96dcf02f时间戳:2015-05-29 17:18:48Z AADSTS90093:由于缺少权限,主叫方无法同意。

From within Azure we have "users may give applications permission to access their data" set to use. 从Azure中我们有“用户可以授予应用程序访问其数据的权限”设置以供使用。 We also have "users may add integrated applications" to yes. 我们还有“用户可能会添加集成应用程序”。

Just wanted to check which URL you are going to. 只想查看您要访问的网址。 We have 2 "graph explorers" - one is for exploring Azure AD Graph API, while the other (called API explorer) is for exploring the Office 365 unified API . 我们有2个“图形资源管理器” - 一个用于探索Azure AD Graph API,而另一个(称为API资源管理器)用于探索Office 365统一API

If you are going to https://graphexplorer2.cloudapp.net - this is (AAD) graph explorer, and should not require admin permissions. 如果您要访问https://graphexplorer2.cloudapp.net - 这是(AAD)图浏览器,不应该要求管理员权限。 Please let us know if this is what you are using and if this is causing issues. 如果这是你正在使用的,如果这是导致问题,请告诉我们。

If on the other hand you are going to https://graphexplorer2.azurewebsites.net - this is the API explorer, and due to the number of APIs it requires access to, it currently requires admin consent. 另一方面,如果您要访问https://graphexplorer2.azurewebsites.net - 这是API资源管理器,并且由于需要访问的API数量,它目前需要管理员同意。 We'll look into a way to reduce the number of scopes that this requires access to, to get to a place where users can consent (but that's not the case currently). 我们将研究一种减少这种需要访问的范围数量的方法,以便到达用户可以同意的地方(但目前情况并非如此)。

Hope this helps, 希望这可以帮助,

I ran into this issue today and here what I did: 我今天遇到了这个问题,在这里我做了什么:

I worked for Skype for business online use case (WEB API). 我曾在Skype for Business for online use case(WEB API)工作。 I faced this issue for users not global admins. 我为用户而不是全局管理员面临这个问题。 The users who added by global admin. 由全局管理员添加的用户。

I managed to resolve the issue by passing extra parameter prompt=admin_consent . 我设法通过传递额外的参数prompt = admin_consent来解决问题。

var href = 'https://login.microsoftonline.com/common/oauth2/authorize?response_type=token&client_id=';
    href += client_id + '&resource=https://webdir.online.lync.com&redirect_uri=' + window.location.href+'&prompt=admin_consent';

For more details visit link https://blogs.msdn.microsoft.com/exchangedev/2014/03/25/using-oauth2-to-access-calendar-contact-and-mail-api-in-office-365-exchange-online/ 有关详细信息,请访问链接https://blogs.msdn.microsoft.com/exchangedev/2014/03/25/using-oauth2-to-access-calendar-contact-and-mail-api-in-office-365-exchange -线上/

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

相关问题 AADSTS90093:由于Azure Active Directory中缺少权限,因此调用主体无法同意 - AADSTS90093:Calling principal cannot consent due to lack of permissions in Azure Active directory Office365 OAuth API返回错误“AADSTS90093:无权访问” - Office365 OAuth API returns error “AADSTS90093: Does not have access to consent” 以全局管理员身份登录时的AADSTS90093 - AADSTS90093 when signed in as Global Admin AADSTS90093:此操作只能由管理员执行 - AADSTS90093: This operation can only be performed by an administrator 批准AAD租户中的单个应用以防止AADSTS90093错误 - Approve single app in AAD tenant to prevent AADSTS90093 error 错误AADSTS90093在Microsoft“融合”OAuth授权组织O365帐户 - Error AADSTS90093 on Microsoft “converged” OAuth authorize for organizational O365 account 使用非管理员/Microsoft 帐户登录 Azure AD 时出现错误 AADSTS90093 - Error AADSTS90093 when logging into Azure AD with non-admin/Microsoft Accounts AADSTS65001 invalid_grant 当所有权限都得到管理员同意时 - AADSTS65001 invalid_grant when all permissions have admin consent 我想将UAMI分配给kubelet,但是由于缺少权限而失败 - I want to assign UAMI to kubelet, but it fails due to lack of permissions 为服务主体授予管理员同意 - Grant admin consent for service principal
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM