Thank you for posting your query on Microsoft Q&A, from the above description I could understand you want advise on : What happens when user consent is requested while accessing any application?
Please do correct me if this is not the case by responding in the comments section.
Before an application can access your organization's data, a user must grant the application permissions to do so. Different permissions allow different levels of access. By default, all users are allowed to consent to applications for permissions that don't require administrator consent. For example, by default, a user can consent to allow an app to access their mailbox but can't consent to allow an app unfettered access to read and write to all files in your organization.
PFB example for reference:
- The below screenshot shows an application which have IMAP.AccessAsUser.All permission granted but it does not require Admin consent from Global Admin :
- And my test tenant User consent settings are set to Allow user consent for apps (All users can consent for any app to access the organization's data.).
- Such application when accessed by the user requests "User Consent" to access the "mailbox" of the same user.
- However if you don't want this to happen, then we can block it by updating User consent settings to Do Not Allow user consent (An administrator will be required for all apps.).
- This would require the user to send approval request to the admin every time any app requires consent to access organization data on behalf of the user.
- Then admin may review and decide if access should be granted or denied for the application.
Please do let me know if you have any queries in the comments section,
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.