
An SQL data connection is available on the Microsoft Dataverse endpoint. The SQL connection provides read-only access to the table data of the target Dataverse environment thereby allowing you to execute SQL queries against the Dataverse data tables. No custom views of the data have been provided. The Dataverse endpoint SQL connection uses the Dataverse security model for data access. Data can be obtained for all Dataverse tables to which a user has access.
This article will explain how to connect to the Dataverse in SSMS.
Prerequisites
Note. Use SQL Server Management Studio(SSMS) version 18.4 or later to connect to the Dataverse.
Follow the below steps for connecting to the Dataverse.
Step 1. Open Microsoft SQL Server Management Studio (SSMS).
Step 2. Provide all the required details.
| SNo | Field Name | Field Value |
| 1 | Server Type | Select Database Engine |
| 2 | Server Name | Provide CRM Org URL, append comma (,), and the Port Number (5558). Example:arunpotti.crm.dynamics.com,5558 |
| 3 | Authentication | Azure Active Directory – Password |
| 4 | User name | Provide your Dynamics 365 Login User ID |
| 5 | Password | Provide your Dynamics 365 Login Password |





Join the conversation! Your thoughts help the community grow.