A Microsoft file hosting and synchronization service.
Dear @YanC,
Thank you for posting your question in the Microsoft Q&A forum. The error AADSTS90094: Need admin approval occurs because the application requires permissions that only an administrator can grant.
Official guide: Unexpected error when performing consent to an application - Microsoft Entra ID | Microsoft Learn
Your app requests permissions (such as Microsoft Graph or OneDrive access) that need admin consent. Non-admin users cannot approve these permissions.
Please ask your IT administrator to:
- Sign in as a Global Administrator in Microsoft Entra admin center.
- Navigate to: Identity > Applications > Enterprise applications > [Your App] > Permissions
- Click Grant admin consent for (Organization Name) to approve the requested permissions.
For more details, please refer to Microsoft’s official documentation: Grant tenant-wide admin consent to an application - Microsoft Entra ID | Microsoft Learn
Optional
Enable Admin consent workflow so users can request approval directly from the consent screen: Configure how users consent to applications - Microsoft Entra ID | Microsoft Learn
Once admin consent is granted, the app should work without further approval prompts. If issues persist, confirm that all required permissions are granted and no new scopes were added after consent.
If you need help finding your admin, please see: How do I find my Microsoft 365 admin? - Microsoft Support
Please let me know if you have any further questions or if the problem persists after trying these solutions. Thank you for your patience and cooperation.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.