Dears,
i made a mistake, big mistake actually
i have been asked to remove all the security roles from all users on one of the platforms that we have, i searched about a fast solution till i found that there are a toll in xrm toolbox called
User Roles Manager
the mistake was i selected all the roles on the left hand side then selected all the users on the right hand side then i clicked remove selected roles from selected users.
i still have the full access to the crm with all the roles assigned to me, but every time i’m trying to create anything it keeps telling me [Access to Microsoft Dynamics 365 has not yet been fully configured for this user. The user needs at least one security role before you can continue.]
with a log file below
[Exception Message: RetrievePrivilegeForUser: The user with id a0274308-1e5b-ec11-8f8f-000d3adb3a8c has not been assigned any roles. They need a role with the prvReadmsdyn_workorder privilege.
ErrorCode: -2147209463
HexErrorCode: 0x80042f09
ErrorDetails:
ApiExceptionSourceKey: Step/Microsoft.Crm.Extensibility.ImageRetrievalStep
ApiStepKey: 84b9d1cb-3e30-11db-b951-000cf1fe02ff
ApiDepthKey: 1
ApiActivityIdKey: f30d7d86-25e8-4a31-a2c6-4a6b6ace7a43
ApiPluginSolutionNameKey: System
ApiStepSolutionNameKey: System
ApiExceptionCategory: ClientError
ApiExceptionMessageName: UserNotAssignedRoles
ApiExceptionHttpStatusCode: 403
HelpLink: http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80042f09&client=platform
Activity Id: 13aff198-30ec-496e-9e1d-e3d01d7a398f]
IDK what i’m suppose to do,
we have the same users on another platform with the right roles.
so my question is is it possible to export them from the other environment to the current one that has the issue
in this link you will find the tool that i used
mscrmtools.blogspot.com/…/new-xrmtoolbox-plugin-user-roles-manager.html