Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Queue Cannot Be Deleted - Dynamics 365 9.0 On premise error

$
0
0

Hi ,

I'm getting below OOB error while deleting Team record in Dynamics 365 9.0 version.

"You can't delete this queue because it has items assigned to it. Assign these items to another user/team, or queue and try again. If you contact support, please provide the technical details."

Error details:

<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">You can't delete this queue because it has items assigned to it. Assign these items to another user, team, or queue and try again.</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ActivityId>cd3b601e-db36-4c9c-b004-0f0a6fd4d079</ActivityId><ErrorCode>-2140991209</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>ApiExceptionSourceKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Plugin/Microsoft.Crm.ObjectModel.TeamService</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiOriginalExceptionKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Microsoft.Crm.CrmException: You can't delete this queue because it has items assigned to it. Assign these items to another user, team, or queue and try again. ---&gt; Microsoft.Crm.CrmException: You can't delete this queue because it has items assigned to it. Assign these items to another user, team, or queue and try again.
at Microsoft.Crm.ObjectModel.QueueServiceInternal`1.Delete(BusinessEntityMoniker moniker, ExecutionContext context)
at Microsoft.Crm.ObjectModel.QueueServiceInternal`1.DeleteOwnerQueues(Guid ownerId, Int32 ownerType, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TeamServiceInternal`1.DeleteTeamOwnedQueues(Guid teamId, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TeamServiceInternal`1.DeleteInternal(BusinessEntityMoniker moniker, Boolean allowDeleteDefaultTeam, ExecutionContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepKey</a:key><a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">5fa38f5e-681d-4086-b706-09eadac11792</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiDepthKey</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">1</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiActivityIdKey</a:key><a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">cd3b601e-db36-4c9c-b004-0f0a6fd4d079</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiPluginSolutionNameKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepSolutionNameKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>You can't delete this queue because it has items assigned to it. Assign these items to another user, team, or queue and try again.</Message><Timestamp>2019-01-03T08:34:07.8282147Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault><ActivityId>cd3b601e-db36-4c9c-b004-0f0a6fd4d079</ActivityId><ErrorCode>-2140991209</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>You can't delete this queue because it has items assigned to it. Assign these items to another user, team, or queue and try again.</Message><Timestamp>2019-01-03T08:34:07.8282147Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault i:nil="true"/><OriginalException i:nil="true"/><TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/><TraceText i:nil="true"/></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

Can anyone suggest me how I can override this ?


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>