Skip to content

Commit 2a97a8c

Browse files
authored
Update exception-when-using-server-side-sync.md
1 parent b7796d6 commit 2a97a8c

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

support/power-platform/dataverse/email-exchange-synchronization/exception-when-using-server-side-sync.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 401 Unauthorized exception when using server-side synchronization
33
description: Provides a solution to an error that occurs when you use server-side synchronization in Dynamics 365.
44
ms.reviewer: dmartens
5-
ms.date: 12/03/2024
5+
ms.date: 12/09/2024
66
ms.custom: sap:Email and Exchange Synchronization
77
---
88
# 401 Unauthorized exception occurs when using server-side synchronization in Microsoft Dynamics 365
@@ -13,7 +13,7 @@ _Applies to:_   Microsoft Dynamics 365
1313
_Original KB number:_   3212785
1414

1515
> [!IMPORTANT]
16-
> If you are using Exchange Online and this error occurs after October 1st, 2022, this may be caused by Basic authentication being disabled. For more information about how to temporarily enable Basic authentication again for a limited time, see [Use of Basic authentication with Exchange Online](/power-platform/admin/use-basic-authentication-exchange-online).
16+
> If you use Exchange Online and this error occurs after October 1st, 2022, this may be caused by Basic authentication being disabled. For more information about how to temporarily enable Basic authentication again for a limited time, see [Use of Basic authentication with Exchange Online](/power-platform/admin/use-basic-authentication-exchange-online).
1717
1818
## Symptoms
1919

@@ -31,30 +31,30 @@ The message also includes the following error code:
3131
3232
## Cause 1: The e-mail address in Dynamics 365 doesn't match the one in Exchange
3333

34-
To solve this issue, verify the e-mail address of the mailbox record in Dynamics 365 matches the e-mail address in Exchange. The error includes a link to the mailbox record in Dynamics 365. You can use this link to quickly verify the **Email Address** field.
34+
To solve this issue, verify the email address of the mailbox record in Dynamics 365 matches the one in Exchange. The error includes a link to the mailbox record in Dynamics 365. You can use this link to quickly verify the **Email Address** field.
3535

3636
## Cause 2: Using an Exchange Server (Hybrid) profile with a mailbox in Exchange Online
3737

38-
If you're using Dynamics 365 (online) with Exchange Online, make sure you're using an [Exchange Online email server profile](/power-platform/admin/connect-exchange-online#create-an-email-server-profile-for-exchange-online). Only use an Exchange Server (Hybrid) profile for users that have mailboxes in Exchange on-premises. For more information, see [Connect to Exchange Server (on-premises)](/power-platform/admin/connect-exchange-server-on-premises).
38+
If you use Dynamics 365 (online) with Exchange Online, make sure you use an [Exchange Online email server profile](/power-platform/admin/connect-exchange-online#create-an-email-server-profile-for-exchange-online). Only use an Exchange Server (Hybrid) profile for users that have mailboxes in Exchange on-premises. For more information, see [Connect to Exchange Server (on-premises)](/power-platform/admin/connect-exchange-server-on-premises).
3939

4040
## Cause 3: The user doesn't have an Exchange Online license
4141

42-
If you're using Dynamics 365 with Exchange Online, verify the user has an Exchange Online license. For more information about assigning licenses in Microsoft 365, see [Add users and assign licenses at the same time](/microsoft-365/admin/add-users/add-users).
42+
If you use Dynamics 365 with Exchange Online, verify the user has an Exchange Online license. For more information about assigning licenses in Microsoft 365, see [Add users and assign licenses at the same time](/microsoft-365/admin/add-users/add-users).
4343

4444
## Cause 4: Dynamics 365 and Exchange Online aren't in the same Microsoft 365 tenant
4545

46-
If you're using Dynamics 365 (online) with Exchange Online, verify Dynamics 365 (online) and Exchange Online are in the same Microsoft 365 account or tenant.
46+
If you use Dynamics 365 (online) with Exchange Online, verify Dynamics 365 (online) and Exchange Online are in the same Microsoft 365 account or tenant.
4747

4848
## Cause 5: Basic authentication isn't enabled for EWS (Exchange Web Services)
4949

50-
If you're using Dynamics 365 (online) with Exchange on-premises, verify Basic authentication is enabled for [EWS (Exchange Web Services)](/exchange/client-developer/exchange-web-services/start-using-web-services-in-exchange). For more information, see the Prerequisites section of [Connect Dynamics 365 (online) to Exchange Server (on-premises)](/previous-versions/dynamicscrm-2016/administering-dynamics-365/mt622059(v=crm.8)#prerequisites).
50+
If you use Dynamics 365 (online) with Exchange on-premises, verify Basic authentication is enabled for [EWS (Exchange Web Services)](/exchange/client-developer/exchange-web-services/start-using-web-services-in-exchange). For more information, see the Prerequisites section of [Connect Dynamics 365 (online) to Exchange Server (on-premises)](/previous-versions/dynamicscrm-2016/administering-dynamics-365/mt622059(v=crm.8)#prerequisites).
5151

52-
## Cause 6: A deleted user or mailbox was recreated with the same email address
52+
## Cause 6: A deleted user or mailbox is re-created with the same email address
5353

54-
When you try to test and enable the mailbox, you might see that the **NoUserFoundWithGivenClaims** message is included as part of an error level alert. You might also see an alert where the details section shows, "User does not exist in tenant with id '\<_User ID_>'".
54+
When you try to test and enable the mailbox, you might see that the **NoUserFoundWithGivenClaims** message is included as a part of an error level alert. You might also see a "User does not exist in tenant with id '\<User ID\>'" message in the **Details** section of the alert.
5555

56-
To solve this issue,
56+
To solve this issue:
5757

58-
1. Make sure that the previously existing user or mailbox was permanently deleted. By default, a user who is deleted from Microsoft Entra ID can have their account restored within 30 days. For more information, see [Permanently delete a user](/azure/active-directory/fundamentals/active-directory-users-restore#permanently-delete-a-user).
58+
1. Make sure that the previously existing user or mailbox is permanently deleted. By default, a user who is deleted from Microsoft Entra ID can have their account restored within 30 days. For more information, see [Permanently delete a user](/azure/active-directory/fundamentals/active-directory-users-restore#permanently-delete-a-user).
5959

6060
1. After verifying that no user or mailbox uses the same email address, you can try to test and enable the mailbox again. If you still receive the error message, the issue can be caused by the result of caching. It might take up to 72 hours for the cache to be cleared. If you can't wait for 72 hours, contact [Microsoft Support](https://support.microsoft.com).

0 commit comments

Comments
 (0)