Monday, June 18, 2018

Team Based Security Privilege

In Dynamics, security privileges can be given to either a user record or a team record. If you want to create a user, not give him a security role and assign the user to a team which has enough security role to log in to Dynamics, it works fine. You can log in to Dynamics without any issues.

But the issue is when you try to access account records in Dynamics you get the following error. 

The strange thing here is, if you try to access accounts from an advanced find it will display a list of records. When you try to open a record, the record loads with the loading symbol. However the record doesn't load.

We believe there is a code that checks for security roles assigned to a user account to make sure at least one security role is assigned to a user. This is a bug in the code base. 

To over come this issue, what we did was simply create a new security role without assigning any privileges to it and assigned the role to the user. It actually worked for us :).

No comments:

Post a Comment

Retrieving Calendar of a Bookable Resource in Dynamics

There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...