简体   繁体   中英

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. He has 403 error (forbidden) when the app requests his groups (lines 43-49). I am a beginner with the azure ad, and what can be a reason of this situation? 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. Then I would ask the user to send a Fiddler trace so you can see what data is being sent and received.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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