|
| 1 | +--- |
| 2 | +title: Test and Enable Failed Because No User Was Found Error |
| 3 | +description: Explains how to resolve Test and Enable failures in Dataverse caused by unrecognized Microsoft 365 email addresses. |
| 4 | +ms.date: 09/10/2025 |
| 5 | +ms.custom: sap:Email and Exchange Synchronization\Set up and configuration of server-side synchronization |
| 6 | +author: debrau |
| 7 | +ms.author: debrau |
| 8 | +ms.reviewer: debrau |
| 9 | +--- |
| 10 | +# "Test and Enable failed because no user was found" error when configuring mailbox synchronization |
| 11 | + |
| 12 | +This article explains how to resolve the "Test and Enable failed because no user was found" error that occurs when you configure mailbox synchronization in Dataverse with Microsoft 365. |
| 13 | + |
| 14 | +## Symptoms |
| 15 | + |
| 16 | +When you attempt to [test and enable a mailbox](/power-platform/admin/connect-exchange-online#test-the-configuration-of-mailboxes) in Dataverse, you might receive the following error message: |
| 17 | + |
| 18 | +> Test and Enable failed because no user was found with the email address "`<[email protected]>`" in the Microsoft 365 tenant associated with this mailbox's Email Server Profile. Verify the user exists in [...] |
| 19 | +
|
| 20 | +## Cause |
| 21 | + |
| 22 | +This error occurs if: |
| 23 | + |
| 24 | +- The specified email address doesn't exist as a User Principal Name (UPN), SMTP address, or mail address for any user in the Microsoft 365 tenant associated with the mailbox's email server profile. |
| 25 | +- The mailbox associated with the email address belongs to a different Microsoft 365 tenant, and a cross-tenant email server profile isn't configured. |
| 26 | + |
| 27 | +## Resolution |
| 28 | + |
| 29 | +An administrator should verify that the user exists in the correct Microsoft 365 tenant and that the email address is properly configured. |
| 30 | + |
| 31 | +To confirm the UPN, SMTP, or mail address for the user: |
| 32 | + |
| 33 | +1. Sign in to the Microsoft 365 Admin Center. |
| 34 | + |
| 35 | +2. Navigate to **Users** > **Active Users**. |
| 36 | + |
| 37 | +3. Find the intended user. |
| 38 | + |
| 39 | +4. Open the user profile and confirm the user has at least one qualifying email address matching the email address in the Dataverse mailbox record: |
| 40 | + |
| 41 | + - **User Principal Name (UPN)** or username matches the email address. |
| 42 | + - Under the **Mail** tab, select **Edit Exchange properties**. In **Manage mailboxes**, open the mailbox. On the **General** tab, confirm the **User ID** or **Email addresses** fields contain the email address. |
| 43 | + |
| 44 | + > [!NOTE] |
| 45 | + > If a matching address is found in the **Email addresses**, select **Manage email address types** to confirm the address type is **SMTP**. |
| 46 | +
|
| 47 | +If the user exists in the same tenant as your Dataverse instance but doesn't have a matching UPN, SMTP, or mail address, update the Dataverse mailbox record to use a valid email address for the user. |
| 48 | + |
| 49 | +If the user doesn't exist in the same tenant as your Dataverse instance, you should [configure a cross-tenant email server profile](/power-platform/admin/connect-exchange-online-server-profile-oauth). |
0 commit comments