web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Queue mailbox test fails every time

(0) ShareShare
ReportReport
Posted on by 294

Hello Everyone,

We had requirement for Auto-creation of records for incoming Emails and It should be handled by some Team. So, for this I followed below Steps.
1) Create a Team: ServiceTeam 
2) It will create default queue also for that team <ServiceTeam>
3) I Updated its email-Id value: ServiceTeam@XRMLearning009.onmicrosoft.com
4) Click-on "Open Mailbox"
5)  Server Profile - Microsoft Exchange Online
     Incoming Email - Server Side Sync or Email Router
     Outgoing Email - Server Side Sync or Email Router
6) Email-box State is Activated. 
7) Approve Mail Box
8) Test & Enable Mailbox

Result:
Incoming Email Status - Failure
Outgoing Email Status - Failure.

I do have 24 available licenses for E3 plan but as it is queue it is not assigned any. 

In Alerts I am seeing below Error

ActivityId: 45638be8-73ed-4e8d-b7bb-ac28c4b5d56f
>Exception : Validation Failed for Mailbox 8e336933-7688-eb11-a812-000d3ac9b0d7. Unexpected error occured Unhandled exception:
Exception type: System.Data.ObjectNotFoundException
Message: User with email address 'ServiceTeam@XRMLearning009.onmicrosoft.com' does not exists in tenant with id '6cfe8e15-73e3-4ecc-a82f-7dc339fb6fb6'. OData Filter Used :
'$filter=(userPrincipalName eq '{0}') or (mail eq '{0}') or (proxyAddresses/any(a:a eq 'smtp:{0}') or proxyAddresses/any(a:a eq 'SMTP:{0}'))' at Microsoft.Crm.Asynchronous.EmailConnector.CredentialInfoFactory.EvoStsCredentialInfoProvider.RetrieveAzureActiveDirectoryObjectIdUsingEmailAddress(String emailAddress, ClientServicePrincipal clientServicePrincipal, ServerServicePrincipal serverPrincipal, AuthorizationServerServicePrincipalCollection authorizationServerPrincipals, ITraceListener traceListener, Guid organizationId, IMailboxData mailbox) at Microsoft.Crm.Asynchronous.EmailConnector.CredentialIn...


Let me know how to fix this issue.

Thanks & Regards,
Harshil Shah


I have the same question (0)
  • Esteban Coto Alfaro Profile Picture
    Microsoft Employee on at

    Hello, this situation is similar to the one presented in the attached link. The steps to follow to correct it are indicated there.

    support.microsoft.com/.../failure-after-clicking-test-enable-mailbox-in-dynamics-365-2c05e694-9f60-5909-ce1c-650adbca1610

    Thanks!

    Community Support Team - Esteban

    If this Post helps, then please consider Accept as solution to help the other members find it more quickly.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 165

#2
ManoVerse Profile Picture

ManoVerse 161 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans