Skip to content

Code: MailboxNotEnabledForRESTAPI message: The mailbox is either inactive, soft-deleted, or is hosted on-premise. #7271

Closed Answered by Ammadshafi
Ammadshafi asked this question in Help
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ammadshafi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant