This issue may occur due to one or more of the following causes:
To resolve the issue, verify the following:
Check if the account has a mailbox:
Ensure the account is mailbox-enabled.
Verify mailbox location:
Confirm that the mailbox is stored in Microsoft 365 (Exchange Online) and not in an on-premises Exchange environment.
Validate account licensing and provisioning: