简体   繁体   中英

Microsoft Dynamics 365 - get metadata

Is there any mysql query available to get all the table names from Microsoft Dynamics 365 online.

I wanted to get all the table names are row count for each table in a single query.I tried union and union all but I think it is not working. This is the first time I am working with MSD online. Is it possible to do this using mysql query?

Your question is a bit confusing, first of all, dynamics 365 online doesn't expose the database, in fact, only the Microsoft premier support team can scan it for performances issues or error messages, some of what you want to get is possible, but requires multiple instructions

SDK/WebAPI

You can get the metadata information using .NET SDK instruction ( RetrieveAllEntitiesRequest ) or querying the WebAPI directly (in Browser or Non-microsoft languaje, this requires previous register of your app in the Azure-AD of the instance )

If you are working with MS Dyn Onpremise and you have access to the database, you should use the set of views with the "Filtered" Prefix, you could get the Metadata consulting the information_schema and executing the count statement for each of them.

Hope it Helps

Regards

Related to this, if I can connect to D365 CRM using Azure ADF and connecting via Data Verse can I query the database to get the information schema (similar to how I can query an on-prem SQL database using Select * from INFORMATION_SCHEMA.COLUMNS)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM