CodeNow for #XrmToolBox–more than just code now.. Let’s get your organization POA stats this time

By | November 6, 2017

I’ve been experimenting with the CodeNow plugin, and there is a new version ( you can now download from the plugin store. There are some user interface improvements(progress indicator, better error reporting, better logging), but, also, there is a new piece of functionality which you can see on the screenshot below:


This is a dashboard in Dynamics that presents some basics stats about the PrincipalObjectAccess table. In order to get that dashboard, you’ll need to do a few things:

1. Add CodeNow plugin to XrmToolBox


2. Deploy the dashboard and the custom entity used to populate that dashboard to your Dynamics organization

Download unmanaged solution from the url below, import it to Dynamics, and publish the customizations:

It will work with 8.0+ versions of Dynamics (V9 included)

3. In the XrmToolBox, connect to the organization where you just deployed the solution. You may want to increase connection timeout – POA queries can be time-consuming, so make it more than 2 minutes if there is significant number of records in the POA:


4. In the XrmToolBox, open CodeNow plugin and select Solution Stats item from the drop down menu



CodeNow plugin will load a script that you can run to calculate number of records per entity type in the POA. Once the numbers have been calculated, they’ll be pushed to Dynamics, and you’ll be able to see the dashboard

5. Here is  what it will look like



IT MAY TAKE TIME! Depending on the size of the POA table..

6. Now you just need to open Dynamics, choose “Dashboards”, and, then, choose “Dynamics Solution Stats” dashboard


3 thoughts on “CodeNow for #XrmToolBox–more than just code now.. Let’s get your organization POA stats this time

    1. Alex Shlega Post author

      It’s the end of the world as we know it?

      But sure:) Just did.


Leave a Reply

Your email address will not be published. Required fields are marked *