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

"Test" security role

$
0
0

Hello, 

I'm trying to create a security role which allows a user to read a specific account record with its relevant records e.g. contacts, activities...etc. 

I created a new security roles and enabled all Read circles to "user" level only. The user is capable of reading only the account which was shared with him. However I keep receiving an error (Protocol file pasted below) and sometimes the entire CRM Page doesn't work.

The purpose of this security role is for an external test user to be able to see/explore our system while maintaining data privacy. So an administrator's license isn't helpful since it gives the user too much power and doesn't allow him to read that single record.  

Could you please give few hints on how to achieve this task?  

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #CE4F7D47Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #CE4F7D47</Message>
<Timestamp>2017-03-23T15:44:12.4228007Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220960</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Principal user (Id=786f7f7d-a048-e411-b5bb-005056a600bf, type=8) is missing prvReadQuery privilege (Id=902d70d3-2ff8-4d93-92f9-8efdcf889af8)</Message>
<Timestamp>2017-03-23T15:44:12.4228007Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>

I checked the error code, it seems to say "Unexpected error"..

 

Thanks you for your effort. 


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images

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