Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I got this exception: "Support user does not have permission on this operation" when I try to give access to a record for a user. this is my code:
public void GrantAccess(Guid targetId, Guid principleId)
using (var serviceProxy = new OrganizationService(ConStr))
IOrganizationService service = (IOrganizationService)serviceProxy;
var request = new GrantAccessRequest()
Target = new EntityReference(Account.EntityLogicalName, targetId),
PrincipalAccess = new PrincipalAccess()
AccessMask = AccessRights.ReadAccess,
Principal = new EntityReference(principleId.ToString())
and my Constr is like:
private static readonly string ConStr = "Url=http://crm.[ourdomain].com:90/Test; Domain=[ourdomain]; Username=[user]; Password=[password];";
I cand read the data, for example I get this method: RetrieveSharedPrincipalsAndAccessResponse even more I "RevokeAccess" by RevokeAccessRequest, but I couldn't Grant access or modify it.
Did you ever found a solution for this?
I have the exact same issue, and don't seem to find a way round it.
Business Applications communities