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

Read only Security Role issue

$
0
0

We have Automatic Case Creation and Update Rules enabled. This rule is creating Case. We have one Org level Read only Security Roles.

when the Case is opened by this user for the first time we are getting below error:

--------------------------------------------------------------------------------------------------------

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Principal user (Id=a9ec6860-e9b3-e511-80e0-6c3be5a8ab90, type=8) is missing prvWriteIncident privilege (Id=7b26693f-1c0c-4e87-8918-f4cc7d219d70)Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ErrorCode>-2147220960</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>Principal user (Id=a9ec6860-e9b3-e511-80e0-6c3be5a8ab90, type=8) is missing prvWriteIncident privilege (Id=7b26693f-1c0c-4e87-8918-f4cc7d219d70)</Message>
  <Timestamp>2016-01-27T11:11:02.0425641Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

--------------------------------------------------------------------------------------------------------

As per our analysis it is trying to update Traversal Path, Process id, Stage Id after the Case is created so this Security Role is having Read only it is throwing this error.

we tried updating Traversal Path, Process id, Stage Id using Post-operation and Asynchronous Execution mode(Run in User's Context: System Admin) Plugin but it is not triggering.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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