Hi @Jislin
If you have granted admin consent for the above permissions, the "Need admin approval" page will not pop up when users of this tenant log in to the authorization endpoint, unless you are logging in with users from other tenants.
However, if the scope
of the authorization URL contains "permissions that have been granted admin consent" and "permissions that do not require admin consent but have not been granted user consent", the expected user consent page will not pop up, but the "Need admin approval" page will pop up. This is because consent is specific to the entire scope
, and when you try to grant user consent for those permissions that "do not require admin consent", it will require you to consent to all permissions in the scope
. The solution is to use users to consent to these permissions that "do not require admin consent" separately. If all permissions in the scope
have been consented, the consent page will not pop up again.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.