A cloud-based identity and access management service for securing user authentication and resource access
The notando.is administrator should first verify that this identity has an active Exchange Online user mailbox—not merely a valid Entra ID account—and restore its Exchange Online licence or mailbox if it is disconnected or soft-deleted.
GET /me/calendars is the correct endpoint, and delegated Calendars.ReadBasic is sufficient, so the successful OAuth flow plus MailboxNotEnabledForRESTAPI points to mailbox availability rather than an incorrect calendar URL.^1^ Microsoft documents this error when the associated mailbox lacks an Exchange Online licence, is disabled, or resides in an on-premises hybrid deployment.^2^
Administrator checks
- Confirm the Exchange Online licence
- Microsoft 365 admin center → Users → Active users → select the user → Licences and apps.
- Confirm that a product containing Exchange Online is assigned and that its Exchange Online service is enabled.
- Check Billing → Licences → Errors & Issues for assignment failures.
- If missing, assign the licence and save.^3^
- Determine what Exchange recipient currently owns the address In Exchange Online PowerShell, substitute the actual UPN:
$upn = "[Email]" Get-EXORecipient -Identity $upn | Format-List DisplayName,PrimarySmtpAddress,RecipientType,RecipientTypeDetails Get-EXOMailbox -Identity $upn | Format-List DisplayName,PrimarySmtpAddress,RecipientTypeDetails,ExternalDirectoryObjectIdGet-EXORecipientreturns mail-enabled objects, whereasGet-EXOMailboxreturns Exchange Online mailboxes.^5^ ^6^ Expected result: an active Exchange Online mailbox withRecipientTypeDetailssuch asUserMailbox. If the recipient exists butGet-EXOMailboxfinds no active mailbox, continue with deletion-state and hybrid checks. - Check whether it is soft-deleted or inactive
A soft-deleted mailbox can result from deletion or recycling of its associated Entra user and is generally retained for 30 days.^7^ Restore it from the same system where it was deleted; do not create a replacement mailbox until the existing$upn = "[Email]" Get-Mailbox -Identity $upn -SoftDeletedMailbox | Format-List Name,PrimarySmtpAddress,ExchangeGuid,WhenSoftDeleted Get-Mailbox -Identity $upn -IncludeInactive | Format-List Name,PrimarySmtpAddress,ExchangeGuid,WhenSoftDeletedExchangeGuidand recovery path have been checked, because conflicting objects can complicate recovery. - If this is a hybrid tenant, verify mailbox placement If the object represents an on-premises mailbox or a mail user rather than an Exchange Online mailbox, Graph cannot obtain the expected cloud mailbox. Microsoft’s documented resolution for a mailbox hosted on dedicated/on-premises Exchange is to have the Exchange administrator migrate it to a valid Microsoft 365 mailbox.^8^
- Allow provisioning to complete After assigning a licence, restoring a user, or changing synchronized mailbox attributes, provisioning usually completes in under 30 minutes but can take up to 24 hours. The admin should run the mailbox-provisioning diagnostic, resolve any user validation errors, and retest after provisioning completes.^9^
Incident question
There is insufficient public Microsoft evidence to attribute this user’s 16 November failure to MO1550821 or EX1550543. The tenant admin should check Microsoft 365 admin center → Health → Service health → Issue history for those incident IDs and confirm whether the tenant was listed as affected.^10^
If the mailbox is confirmed active, cloud-hosted, licensed, and fully provisioned but the request still fails, open a Microsoft 365 support case. Include the UTC timestamp, tenant ID, affected user object ID, HTTP status and error, and Graph response request-id and date headers. Future requests should also send and log a unique client-request-id; Microsoft identifies these values as necessary for support correlation.^11^
The browser screenshot showing InvalidAuthenticationToken is a separate result: navigating directly to the URL supplied no Bearer [Token] and therefore does not test the app’s authenticated request.
References
- List calendars
- Error code 8005E274 when you test and enable mailbox
- Assign or unassign licenses for users in the Microsoft 365 admin center
- Can't access the mailbox of an unlicensed user in Exchange Online
- Get-EXORecipient-Syntax
- Get-EXOMailbox-Syntax
- Delete or restore user mailboxes in Exchange Online
- REST API is not yet supported error - Exchange | Microsoft Learn
- Delays in provisioning of user/mailbox or synchronizing changes in Exchange Online
- How to check Microsoft 365 service health
- How to debug Microsoft Graph API calls