Announcements
Hi,
Maybe a bit left field, but does anyone know if there are any tools for 'reverse engineering' the schema of a Dynamics 365 environment? This is possible with many DBMS databases, but i wondered if anyone had done this with D365.
I would like to visually represent the schema in a refreshable way.
Thanks
Gerald
Hi Gerald,
I would recommend the XRM Toolbox Metadata Document Generator. You can also query the metadata using webapi
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/overview
Hope this helps
Best Regards
PG
Hi there,
You can now connect to your Dynamics 365 instance using SQL Server to query CDS data using T-SQL. This feature is in preview for now and it only provides read access but it should be ok for just visualizing the table structure.
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/cds-sql-query
Other than that, you could use an on-premise installation of Dynamics 365 and check how the database looks like.
However, please note that any changes to the tables and direct insertion of records without using the UI or the APIs is unsupported and could cause serious damage in the long run.
Thank you!
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator