Fixing – “We’re sorry. You do not have sufficient permission on the server to load the application” error in Dynamics 365 for Tablet.

Recently while configuring Dynamics 365 for Tablet we got the below error.

“We’re sorry. You do not have sufficient permission on the server to load the application”

After enabling the tracing we got the details of the error.

https://technet.microsoft.com/en-us/library/hh699694.aspx?f=255&MSPPError=-2147217396#BKMK_MoCA_tracing


The user was having a custom security role to which we had to add the permission for the following entities

  • Connection
  • Role
  • Connection role
  • User Dashboard
  • Note etc..

After updating the security roles with all the required permissions, we were able to use the App.

Hope it helps..


Using ILMerge for Plugin in CRM

If we make use of external assembly in our Plugin (sandboxed) we will get the exception of FileNotFound.

So here we can make use of ILMerge which basically merges the assembly referenced and the plugin into a single assembly.

Install the following NuGet Package.

This adds the following files in our Plugin project.

We need to set Copy Local as true for all our referenced assembly that we want to merge with our plugin.

We need to set Copy Local as false for all other assemblies that we do not want to be merged with plugin.

Just build the project and we are done.

The assembly inside Reflector: –

Hope it helps.