Fix Access Denied When Opening an Exchange Online Mailbox
Question details
Restore access to Exchange Online mailboxes that show Access Denied after a new primary SMTP domain was added.
- Product
- Exchange Online and Outlook on the web
- Device & OS
- not provided
- Scenario
- A hybrid Exchange organization has users whose primary SMTP addresses use a newly added domain.
- Observed behavior
- Affected users receive Access Denied and OwaADObjectNotFoundException in Outlook on the web or Outlook, while Outlook mobile continues to work.
Identify an affected account, a working account using the original domain, and whether each mailbox was created on-premises and migrated or created directly in Exchange Online. Have an Exchange administrator account available for the on-premises Exchange Management Shell and Exchange Online PowerShell.
Check mailbox objects and domains in the hybrid environment
Use this diagnostic approach to compare affected and working mailboxes and identify object or configuration differences.
On the on-premises Exchange server, open Exchange Management Shell and run Get-RemoteMailbox -Identity "user@example.com" for an affected user. If the mailbox was created directly in Exchange Online, the absence of a remote mailbox may reflect how it was provisioned.
Connect to Exchange Online PowerShell with Connect-ExchangeOnline, then run Get-Mailbox -Identity "user@example.com" and Get-User -Identity "user@example.com". Review the returned identity and primary SMTP address, and note any errors.
Run the same applicable commands for a mailbox using the original domain. Compare primary SMTP addresses, UPNs, mailbox provisioning paths, and remote mailbox attributes; also check whether a mailbox created directly online has the same issue.
In the Microsoft 365 admin center, open Settings > Domains and check the status of the new domain. Review recent hybrid configuration changes with your Exchange administrator, including the new SMTP domain and MX change.
Verify the license and test Outlook on the web
Confirm that Exchange Online is enabled and rule out a browser session issue before escalating.
Use WPS Office for Documents While Exchange Access Is Investigated
WPS Office is a free, lightweight alternative for working with Office documents through a familiar interface. Its Microsoft Office format compatibility can help you move existing files into your workflow, but it does not fix Exchange Online mailbox access.

Frequently Asked Questions
Why does Outlook mobile work when Outlook on the web shows Access Denied?
Mobile and web clients can use different access paths, so a working mobile app does not establish that the mailbox configuration is correct. Compare the affected mailbox objects and domains in Exchange Online PowerShell and the on-premises Exchange Management Shell.
Do the UPN and primary SMTP address have to use the same domain?
No. They can use different domains. Use Get-User and Get-Mailbox in Exchange Online PowerShell to inspect the account, and compare its configuration with a working mailbox before making changes.
Where can I check whether Exchange Online is enabled for a user?
In the Microsoft 365 admin center, go to Users > Active users, select the account, and open Licenses and apps. Check both the assigned license and the Exchange Online service setting.
What should I do if private browsing does not resolve the error?
Check the mailbox provisioning path and compare the on-premises and cloud objects. If the issue persists, use Help & support in the Microsoft 365 admin center and provide the error details and relevant diagnostic results.




