Thank you for reaching out to Microsoft Q&A forum
This behavior occurs because Microsoft Teams web and desktop clients acquire Microsoft Graph access tokens differently.
Therefore, in this context, you can follow these approaches below:
- Review the app registration in Microsoft Entra ID and ensure all required Microsoft Graph delegated permissions are added and admin consent is granted at the tenant level.
- Compare and decode the access tokens via https://jwt.ms/ obtained in Teams web and Teams desktop to confirm that the desktop token includes the same Graph scopes and is a delegated user token.
- Verify that the authentication flow is compatible with Teams SSO and does not rely on interactive browser-based consent, which is not available in the desktop client.
Disclaimer: This link may reference Microsoft-related content but is not hosted on an official Microsoft domain (such as .microsoft.com). Please note that Microsoft is not responsible for the accuracy, security, or advertising on this site.
Link references:
Resolve Microsoft Graph authorization errors: https://learn.microsoft.com/graph/resolve-auth-errors
Best regards
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.