Dynamics 365 CE Plugin Exception: System.Security.SecurityException: That assembly does not allow partially trusted callers.

Today I faced an in an existing plugin which was working earlier. During investigation, I found that this is caused by the “HttpUtility.UrlEncode(clientSecret)” as shown in below code snippet image I found 2 ways to fix this issue User “System.Net.WebUtility.UrlEncode()” instead of “System.Web.HttpUtility.UrlEncode()”. Use “System.Uri.EscapeDataString() ” instead of “System.Web.HttpUtility.UrlEncode()”. as suggested in the this blog… Read More Dynamics 365 CE Plugin Exception: System.Security.SecurityException: That assembly does not allow partially trusted callers.

Disable Export and Print button in Dynamics 365 CE (CRM) report viewer.

In one of my recent project, there was a requirement to disable/remove export button from report viewer (Only for certain set of users). To achieve this, we had to remove below two permissions from all roles assigned to those users. You can remove one or both the permission to match your need. Export to Excel… Read More Disable Export and Print button in Dynamics 365 CE (CRM) report viewer.

Create XrmToolBox Plugin – Part 1: Set-up Visual Studio and create a basic plugin

Recently I created my first XrmToolBox plugin User Security Manager and successfully released this to the plugin store. I followed XrmToolBox for developers and the other resources available on the internet but creating a plugin was not so smooth for me, so I thought of writing my experiences and detailed step by step guide. I… Read More Create XrmToolBox Plugin – Part 1: Set-up Visual Studio and create a basic plugin

User Security Manager 1.2018.7.16 – Added features to manage Field Security Profile and view and export User security report.

I am excited to share that latest version of our XrmToolBox plugin “User Security Manager” is ready and available to download in XrmToolBox plugin store. User Security Manager We have implemented the following enhancement in the latest version Mange user’s field security profile, along with user security roles and teams in a single window. View… Read More User Security Manager 1.2018.7.16 – Added features to manage Field Security Profile and view and export User security report.