We are proud to share our inclusion in the 2024 Gartner Magic Quadrant for Data Integration Tools. We believe this recognition reflects the differentiated business outcomes CData delivers to our customers.
Get the Report →How to create Visio diagrams from Microsoft Dataverse Data
Automatically update Microsoft Dataverse data with the changes you make to Visio master shapes.
Automate the process of entering data into Visio diagrams and keeping your diagrams up to date with the CData ODBC Driver for Microsoft Dataverse. The driver surfaces Microsoft Dataverse data as an ODBC data source that can be accessed by applications with built-in ODBC support like Microsoft Office. This article shows how to create a simple diagram to start brainstorming about Visio projects linked to Microsoft Dataverse data.
About Microsoft Dataverse Data Integration
CData provides the easiest way to access and integrate live data from Microsoft Dataverse (formerly the Common Data Service). Customers use CData connectivity to:
- Access both Dataverse Entities and Dataverse system tables to work with exactly the data they need.
- Authenticate securely with Microsoft Dataverse in a variety of ways, including Azure Active Directory, Azure Managed Service Identity credentials, and Azure Service Principal using either a client secret or a certificate.
- Use SQL stored procedures to manage Microsoft Dataverse entities - listing, creating, and removing associations between entities.
CData customers use our Dataverse connectivity solutions for a variety of reasons, whether they're looking to replicate their data into a data warehouse (alongside other data sources)or analyze live Dataverse data from their preferred data tools inside the Microsoft ecosystem (Power BI, Excel, etc.) or with external tools (Tableau, Looker, etc.).
Getting Started
Connect to Microsoft Dataverse as an ODBC Data Source
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
You can connect without setting any connection properties for your user credentials. Below are the minimum connection properties required to connect.
- InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken.
- OrganizationUrl: Set this to the organization URL you are connecting to, such as https://myorganization.crm.dynamics.com.
- Tenant (optional): Set this if you wish to authenticate to a different tenant than your default. This is required to work with an organization not on your default Tenant.
When you connect the Common Data Service OAuth endpoint opens in your default browser. Log in and grant permissions. The OAuth process completes automatically.
Connect Microsoft Dataverse Data to Diagrams
Follow the steps below to use the Data Selector Wizard to import data into your diagram.
- Open Visio and click File -> New. Open the Brainstorming template.
- On the Data tab, click Custom Import and select Other OLEDB or ODBC data source.
- Select the ODBC option and select ODBC DSN.
- Select the DSN for Microsoft Dataverse, select the table you want to import, and finish the wizard. This article uses Accounts as an example.

Link Microsoft Dataverse Entities to Shapes
Follow the steps below to create a simple diagram that shows how to create shapes from your data, one of the ways to link Microsoft Dataverse entities to shapes:
- Click Brainstorming Shapes and drag a main topic onto the drawing page. Enter Accounts as the text of the main topic.
- Click Topic.
- Select a row in the External Data window and drag it onto the drawing page.
- Right-click the Topic shape and click Data -> Edit Data Graphic.
- Click New Item.
- In the Data Field menu, select a column. In the Displayed As menu, select how to display them.
- Drag a few other Microsoft Dataverse entities onto the drawing page and add association lines back to the main topic, Accounts. New topics have the same configuration: Numeric columns displayed in data bars stand out in contrast to other Accounts entities.
You can refresh your diagram from the Data tab, synchronizing your shapes with the external Microsoft Dataverse data.