Code: MailboxNotEnabledForRESTAPI message: The mailbox is either inactive, soft-deleted, or is hosted on-premise. #7271
-
instance
Sync Account Component
Error Description Error Microsoft Error: The mailbox is either inactive, soft-deleted, or is hosted on-premise. Error Respone:
Problem I am getting this error when try to fetch emails of the user I research on this problem and people say like this issue is about Microsoft 365 licence and buy a licence as well but nothing works i have this scopes in my register app and app type is also |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This Issue is Because of this tenant id in authority when I put common instead of tenant id its start working the reason why its like this because I am the guest user in the profile and I notice that when I put tenant id its not asking me for permission to access email or anything when I put common its start asking me a permissions. Hope its gonna help for others in the feature Thanks authority: |
Beta Was this translation helpful? Give feedback.
This Issue is Because of this tenant id in authority when I put common instead of tenant id its start working the reason why its like this because I am the guest user in the profile and I notice that when I put tenant id its not asking me for permission to access email or anything when I put common its start asking me a permissions. Hope its gonna help for others in the feature Thanks
authority:
https://login.microsoftonline.com/${process.env.NEXT_PUBLIC_AZURE_AD_TENANT_ID}
To
authority:
https://login.microsoftonline.com/common