Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Reverse Engineer the Schema of Dynamics 365

(0) ShareShare
ReportReport
Posted on by 235

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

  • Suggested answer
    Pankaj Gogoi Profile Picture
    3,177 on at
    RE: Reverse Engineer the Schema of Dynamics 365

    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

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/schemas-used-dynamics-365

    Hope this helps

    Best Regards

    PG

  • Suggested answer
    Stefan Cojocaru Profile Picture
    on at
    RE: Reverse Engineer the Schema of Dynamics 365

    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

    pastedimage1600671303506v1.png

    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!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans