Skip to content

Commit 239b867

Browse files
authored
Merge pull request #7950 from MicrosoftDocs/main
Auto push to live 2024-12-30 18:00:02
2 parents 7ed9596 + f519ff2 commit 239b867

15 files changed

Lines changed: 251 additions & 294 deletions

.openpublishing.redirection.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12614,6 +12614,26 @@
1261412614
"source_path": "support/windows-server/group-policy/apply-group-policy-objects-terminal-services.md",
1261512615
"redirect_url": "/troubleshoot/windows-server/group-policy/apply-group-policy-objects-rds",
1261612616
"redirect_document_id": true
12617+
},
12618+
{
12619+
"source_path": "support/dynamics-365/sales/an-error-occurred-while-synchronizing-item.md",
12620+
"redirect_url": "/troubleshoot/power-platform/dataverse/email-exchange-synchronization/an-error-occurred-while-synchronizing-item",
12621+
"redirect_document_id": true
12622+
},
12623+
{
12624+
"source_path": "support/dynamics-365/sales/http-server-returned-serviceunavailable.md",
12625+
"redirect_url": "/troubleshoot/power-platform/dataverse/email-exchange-synchronization/an-error-occurred-while-synchronizing-item",
12626+
"redirect_document_id": false
12627+
},
12628+
{
12629+
"source_path": "support/dynamics-365/sales/incomingmailboxinternalcrmerror.md",
12630+
"redirect_url": "/troubleshoot/power-platform/dataverse/email-exchange-synchronization/an-error-occurred-while-synchronizing-item",
12631+
"redirect_document_id": false
12632+
},
12633+
{
12634+
"source_path": "support/dynamics-365/sales/errorinternalservertransienterror-error.md",
12635+
"redirect_url": "/troubleshoot/power-platform/dataverse/email-exchange-synchronization/an-error-occurred-while-synchronizing-item",
12636+
"redirect_document_id": false
1261712637
}
1261812638
]
1261912639
}

support/dynamics-365/sales/an-error-occurred-while-synchronizing-item.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

support/dynamics-365/sales/errorinternalservertransienterror-error.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

support/dynamics-365/sales/http-server-returned-serviceunavailable.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

support/dynamics-365/sales/incomingmailboxinternalcrmerror.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

support/dynamics-365/sales/toc.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,24 +170,16 @@
170170
href: trying-to-access-dynamics-365-app-for-outlook-from-email-do-not-recognize-error.md
171171
- name: Can't connect to Exchange message
172172
href: cannot-connect-to-exchange-message-when-using-dynamics-365-app-for-outlook.md
173-
- name: Crm.80040216. An unexpected error occurred
174-
href: an-error-occurred-while-synchronizing-item.md
175173
- name: Email or appointment tracked by App for Outlook shows as Track pending
176174
href: emails-tracked-by-dynamics-365-app-for-outlook-show-track-pending.md
177175
- name: Error in App for Outlook
178176
href: error-when-opening-365-app-outlook.md
179177
- name: Error when accessing CRM App for Outlook
180178
href: error-when-accessing-crm-app-outlook.md
181-
- name: ErrorInternalServerTransientError error in mailbox
182-
href: errorinternalservertransienterror-error.md
183-
- name: Http server returned ServiceUnavailable exception warning level message
184-
href: http-server-returned-serviceunavailable.md
185179
- name: IncomingEmailRejected error when installing App for Outlook
186180
href: error-incomingemailrejected-install-dynamics-365-app-outlook.md
187181
- name: IncomingEmailS2SApprovalNeeded error when installing App for Outlook
188182
href: error-install-dynamics-365-app-outlook.md
189-
- name: IncomingMailboxInternalCrmError
190-
href: incomingmailboxinternalcrmerror.md
191183
- name: Installation of Windows Live ID Sign-in Assistant failed
192184
href: installation-of-windows-live-id-sign-in-assistant-failed-exit-code-1603.md
193185
- name: Item level Server-Side Synchronization issues
Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,42 @@
11
---
22
title: A failure occurred in CrmSecurity
3-
description: Provides a solution to an error that occurs when you select the Approve Email button on a mailbox record in Microsoft Dynamics 365.
3+
description: Provides a solution to an error that occurs when you select Approve Email on a mailbox record in Microsoft Dynamics 365.
44
ms.reviewer:
5-
ms.topic: troubleshooting
6-
ms.date: 11/19/2024
5+
ms.date: 12/31/2024
76
ms.custom: sap:Email and Exchange Synchronization
87
---
9-
# "A failure occurred in CrmSecurity" error occurs when attempting to approve the email address of a mailbox record in Microsoft Dynamics 365
8+
# "A failure occurred in CrmSecurity" error when approving the email address of a mailbox record in Dynamics 365
109

11-
This article provides a solution to an error that occurs when you select the **Approve Email** button on a mailbox record in Microsoft Dynamics 365.
10+
This article provides a solution to an error that occurs when you manually approve a mailbox in Microsoft Dynamics 365.
1211

1312
_Applies to:_   Microsoft Dynamics 365
1413
_Original KB number:_   4510938
1514

1615
## Symptoms
1716

18-
When you select the **Approve Email** button on a mailbox record, you receive the following error:
17+
When you select the [Approve Email](/power-platform/admin/connect-exchange-online#approve-a-mailbox-manually) button on a mailbox record in Dynamics 365, you receive the following error message:
1918

20-
> "Error
21-
A failure occurred in CrmSecurity. If you contact support, please provide the technical details."
19+
> A failure occurred in CrmSecurity. If you contact support, please provide the technical details.
2220
2321
## Cause
2422

25-
This error occurs if you try to approve the email as a user that doesn't have both of the following required roles:
23+
This error occurs when you try to approve the email as a user who doesn't have both of the following required roles:
2624

27-
- Global Administrator or Exchange Administrator in Office 365
25+
- Global Administrator or Exchange Administrator in Microsoft 365
2826
- System Administrator security role in Dynamics 365
2927

3028
## Resolution
3129

32-
By default, Dynamics 365 requires that the approval of an email address in Dynamics 365 is performed by someone with both of the required roles mentioned in the [Cause](#cause) section. The System Administrator role in Dynamics 365 or the Dynamics 365 service administrator role in Office 365 aren't sufficient for doing this action. For more information including how this requirement can be disabled, see [Changes to Mailbox approval in Dynamics 365](https://support.microsoft.com/help/4506139).
30+
By default, Dynamics 365 requires that only users with both of the mentioned roles can approve an email address. The System Administrator role in Dynamics 365 or the Dynamics 365 service administrator role in Microsoft 365 alone isn't sufficient for this action.
31+
32+
For more information and instructions on how to disable this requirement, see [Remove the requirement to approve mailboxes](/power-platform/admin/connect-exchange-online#remove-the-requirement-to-approve-mailboxes).
3333

3434
## More information
3535

36-
If you select the **Download Log File** button, you see details like the following example:
36+
If you select the **Download Log File** button in the error message, you see details like the following example:
3737

38-
> "Unhandled Exception: System.ServiceModel.FaultException'1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: The Queue: a5efd992-dbc6-48af-ad61-09e0258edb68 email `[email protected]` doesn't match with UPN. User 39ff663e-a75a-e811-a986-000d3a3672b5 should be a global administrator to approve mailbox in organization \<organization>.
38+
```output
39+
Unhandled Exception: System.ServiceModel.FaultException'1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=<Token ID>]]: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: The Queue: <Queue ID> email `[email protected]` doesn't match with UPN. User <User ID> should be a global administrator to approve mailbox in organization \<organization>.
3940
at Microsoft.Crm.Dialogs.ApproveEmailAddressDialogPage.ConfigureForm()
4041
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
4142
at Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e)
@@ -51,11 +52,11 @@ at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
5152
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
5253
completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number
5354
for administrators or support: #3A5E4FEADetail:
54-
\<OrganizationServiceFault xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.microsoft.com/xrm/2011/Contracts">
55-
\<ActivityId>\<ID>\</ActivityId
56-
\<ErrorCode> \*\*-2147220970\*\* \</ErrorCode>
57-
\<ErrorDetails xmlns:d2p1="https://schemas.datacontract.org/2004/07/System.Collections.Generic" />
58-
\<Message>System.Web.HttpUnhandledException (0x80004005): Exception of type \'System.Web.HttpUnhandledException\' was thrown. ---&gt; Microsoft.Crm.CrmException: \*\*The Queue: a5efd992-dbc6-48af-ad61-09e0258edb68 email `[email protected]` doesn't match with UPN. User 39ff663e-a75a-e811-a986-000d3a3672b5 should be a global administrator to approve mailbox in organization \<organization>\*\*.
55+
<OrganizationServiceFault xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.microsoft.com/xrm/2011/Contracts">
56+
<ActivityId><ID></ActivityId>
57+
<ErrorCode> **-2147220970** </ErrorCode>
58+
<ErrorDetails xmlns:d2p1="https://schemas.datacontract.org/2004/07/System.Collections.Generic" />
59+
<Message>System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: The Queue: <Queue ID> email `[email protected]` doesn't match with UPN. User <User ID> should be a global administrator to approve mailbox in organization <organization>.
5960
at Microsoft.Crm.Dialogs.ApproveEmailAddressDialogPage.ConfigureForm()
6061
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
6162
at Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e)
@@ -70,21 +71,22 @@ for administrators or support: #3A5E4FEADetail:
7071
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
7172
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
7273
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3A5E4FEA</Message>
73-
\<Timestamp>2018-12-04T18:17:41.8971683Z\</Timestamp
74-
\<ExceptionRetriable>false</ExceptionRetriable>
75-
\<ExceptionSource i:nil="true" />
76-
\<InnerFault>
77-
\<ActivityId>\<ID></ActivityId
78-
\<ErrorCode> \*\*-2147220906\*\* \</ErrorCode>
79-
\<ErrorDetails xmlns:d3p1="https://schemas.datacontract.org/2004/07/System.Collections.Generic" />
80-
\<Message>The Queue: a5efd992-dbc6-48af-ad61-09e0258edb68 email `[email protected]` doesn't match with UPN. User 39ff663e-a75a-e811-a986-000d3a3672b5 should be a global administrator to approve mailbox in organization \<organization>.\</Message>
81-
\<Timestamp>2018-12-04T18:17:41.8981705Z\</Timestamp
82-
\<ExceptionRetriable>false\</ExceptionRetriable>
83-
\<ExceptionSource i:nil="true" />
84-
\<InnerFault i:nil="true" />
85-
\<OriginalException i:nil="true" />
86-
\<TraceText i:nil="true" />
87-
\</InnerFault>
88-
\<OriginalException i:nil="true" />
89-
\<TraceText i:nil="true" />
90-
\</OrganizationServiceFault>"
74+
<Timestamp>2018-12-04T18:17:41.8971683Z</Timestamp>
75+
<ExceptionRetriable>false</ExceptionRetriable>
76+
<ExceptionSource i:nil="true" />
77+
<InnerFault>
78+
<ActivityId><ID></ActivityId>
79+
<ErrorCode> **-2147220906** </ErrorCode>
80+
<ErrorDetails xmlns:d3p1="https://schemas.datacontract.org/2004/07/System.Collections.Generic" />
81+
<Message>The Queue: <Queue ID> email `[email protected]` doesn't match with UPN. User <User ID> should be a global administrator to approve mailbox in organization <organization>.\</Message>
82+
<Timestamp>2018-12-04T18:17:41.8981705Z</Timestamp>
83+
<ExceptionRetriable>false</ExceptionRetriable>
84+
<ExceptionSource i:nil="true" />
85+
<InnerFault i:nil="true" />
86+
<OriginalException i:nil="true" />
87+
<TraceText i:nil="true" />
88+
</InnerFault>
89+
<OriginalException i:nil="true" />
90+
<TraceText i:nil="true" />
91+
</OrganizationServiceFault>
92+
```

0 commit comments

Comments
 (0)