Azure AD应用程序事先同意无法正常工作 [英] Azure AD application preconsent not working
问题描述
(与此问题有关)
I have an application that should be automatically usable for all customer tenants, and therefore tried this tutorial to enable preconsent
.
执行Powershell命令并再次获取应用程序后,我可以看到它已启用:
After doing the Powershell commands and getting again the application, I can see that it is enabled:
PS C:\Windows\system32> $graphResponse.value.recordConsentConditions
SilentConsentForPartnerManagedApp
但是,当创建一个新的租户(或使用现有的租户)并尝试访问Microsoft Graph的/users调用时,出现500错误,直到导航到
However, when creating a new tenant(or using an existing one) and trying to access Microsoft Graph's /users call, I get a 500 error until I navigate to https://login.windows.net/common/oauth2/authorize?response_type=code&client_id={0}&prompt=admin_consent (with {0}
being the cliendId
of the app), sign in as an admin and accept the delegation.
我在这里错过了一步吗?
Am I missing a step here?
推荐答案
与Microsoft支持部门联系后,这是他们的错误.他们昨天告诉我,工程师团队承认了这一点.它将得到解决.
After a contact with Microsoft support, this is a bug on their side. They told me yesterday that the engineer team acknowledged it. It will be fixed.
这篇关于Azure AD应用程序事先同意无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!