Hi All,
Can anyone help to clarify the below query? Any help is appreciated.
We have an user with Access Mode = Administrative and System Administrative security role to deal all the administrative requests. Wanted to change a Business Unit for one of the user using the respective Administrative account but encountering a privilege issue as mentioned below and unable to change the Business Unit.
Understand the privilege is referring to read/write permission on calendar entity but is it expected? Why cannot Business Unit change for an user considered under Administrative task and work in my scenario without any privilege issue? Any solution to solve my problem with the same administrative account?
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: SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: <Object Guid>, OwnerId: <Guid.Empty>, OwnerIdType: 8 and CallingUser: <UserGuid>, CallerBusinessId: <BU Guid>. ObjectTypeCode: 4003, ObjectBusinessUnitId: <Object BU GUID>, AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8.
Thanks!!