简体   繁体   English

用户的Azure AD安全组

[英]azure AD Security groups of a User

I am trying to get all of security groups of Authenticated user as in the example Github example , and it works for many people, but for one man it does not work. 我试图像示例Github示例中那样获得所有Authenticated用户的安全组,它对许多人都有效,但对于一个人却不起作用。 He has 403 error (forbidden) when the app requests his groups (lines 43-49). 当应用请求他的组时(第43-49行),他出现403错误(禁止)。 I am a beginner with the azure ad, and what can be a reason of this situation? 我是azure广告的初学者,导致这种情况的原因是什么? All of other people a prepared correctly as in this example. 所有人都正确地准备了此示例中的内容。 Thanx a lot. 非常感谢。

I would first check the User profile in Azure AD and make sure everything looks good there. 我首先要检查Azure AD中的用户配置文件,并确保在那里一切正常。 Then I would ask the user to send a Fiddler trace so you can see what data is being sent and received. 然后,我将要求用户发送Fiddler跟踪,以便您可以查看正在发送和接收的数据。

The problem is connected with the agreements. 问题与协议有关。 Some users had logged in before we added new requirement and the login page (I do not know why) did not ask the new accept. 在我们添加新需求之前,一些用户已经登录,并且登录页面(我不知道为什么)没有要求新的接受。 So the graph api just blocked our requests of these user's security groups. 因此,图api刚刚阻止了我们对这些用户的安全组的请求。

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

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