Forum Discussion

Admin_t5r2c's avatar
Admin_t5r2c
Copper Contributor
Feb 04, 2024

Admin consent question

I will need to use some Graph scopes that require admin consent so user consent is basically out of the question. While testing this, I have found that as a non-admin user, I request Policy.Read.All (for example) which requires admin consent. Once the admin grants that access, I can see it listed...

This is all fine but what I have seen is that if I login as a different non-admin user and query something that needs Policy.Read.All, then it will succeed without asking for consent again. So if the admin consents to a permission/scope one time, does that mean the app is now stamped with that permission and anybody can just use it? That is what I am seeing unless I use "Assignment required" in the app...

 

I've read plenty of documentation but the answer isn't clear to me. If an admin grants admin consent, then is that app now authorized to make these admin consent calls regardless of whatever non-admin user is signing in and using it? 

No RepliesBe the first to reply