Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
As a best practice in maintaining your Common Data Service environments, it is important to review your audit configurations at the table and column levels to ensure you are only auditing records that are necessary. This will prevent excessive growth of your audit partitions. If you are wondering what I mean by table and columns, see this post.
The problem is easily identifying each and every column within every table. Here is how you do it.
Using the webAPI, create the following query:
If you run this in your browser, it will return a list of tables and columns that are enabled for auditing in JSON format. Now, you need an easy way to read and analyze the data.
Let's see how we can do this with Excel.
First, open a new blank workbook in Excel and select the Data tab
Click Get Data | From Online Services | From Dynamics 365 (online)
Copy and paste your webAPI query from above and click OK
Click Transform Data
Click the expand button next to Attributes
Uncheck IsAuditEnabled and click OK
Finally, click Close & Load
You can do the same thing in Power BI. Check out below:
Open a new Power BI report and select Get Data and click More
Then, select Online Services and Dynamics 365 (online)
Click Connect and paste your webAPI query into the window
Click the expansion next to Attributes
Click Close & Apply
Once it refreshes, you will have a full list of tables and columns for your review.
I hope this helps!
Thank you for reading!
Business Applications communities