web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Suggested answer
    Stefan Cojocaru Profile Picture
    on at

    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!

  • Suggested answer
    Pankaj Gogoi Profile Picture
    3,177 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans