Enable TDS for Dataverse
This page explains how to enable Tabular Data Stream (TDS) access for Microsoft Dataverse. Enabling TDS is required for DeDuplica to connect to your Dataverse environment and perform deduplication.
The steps below are written for Power Platform administrators and Dynamics 365 administrators, but are intentionally detailed so that non-technical users can follow them as well.
What Is TDS and Why It Is Required
Tabular Data Stream (TDS) is a Microsoft-supported feature that allows Dataverse data to be accessed using SQL.
When TDS is enabled:
- Dataverse tables can be queried using SQL-based tools
- Data is exposed in a read-only format
- Security roles and permissions are fully respected
Why DeDuplica Requires TDS
DeDuplica uses SQL-based queries to efficiently:
- Scan large numbers of records
- Compare multiple attributes across records
- Detect potential duplicates with minimal system impact
Without TDS enabled, DeDuplica cannot read Dataverse data and will not function.
Prerequisites
Before enabling TDS, ensure the following:
- You have Power Platform Administrator or System Administrator permissions
- You know which Dataverse environment DeDuplica will connect to
- The environment is not restricted by organizational policies that block TDS
Step-by-Step: Enable TDS in Power Platform Admin Center
Step 1: Open Power Platform Admin Center
- Go to the Power Platform Admin Center: https://admin.powerplatform.microsoft.com
- Sign in with an administrator account
Step 2: Select the Correct Environment
- In the left-hand navigation, select Environments
- Choose the environment where DeDuplica will run
⚠️ Make sure you select the correct environment (Production, Sandbox, etc.)
Step 3: Open Environment Settings
- On the environment details page, select Settings
- Navigate to Product → Features
Step 4: Enable TDS Endpoint
- Locate TDS endpoint (sometimes labeled Enable SQL access)
- Set the toggle to On
- Save your changes
The change usually takes effect within a few minutes.
Verify That TDS Is Enabled
After enabling TDS, verification is recommended.
Option 1: Verify Using SQL Server Management Studio (SSMS)
- Open SQL Server Management Studio
- Create a new connection
- Server name:
<your-environment-name>.crm.dynamics.com,5558
- Authentication:
- Azure Active Directory – Universal with MFA (recommended)
- Connect and expand Databases
If tables are visible, TDS is enabled.
Option 2: Verify Using DeDuplica
Once TDS is enabled:
- DeDuplica should be able to connect successfully
- Connection or timeout errors related to SQL access should no longer appear
Security Considerations
Enabling TDS does not expose data publicly, but Microsoft provides additional controls to restrict who can use the TDS endpoint.
Environment-Level vs User-Level Access
There are two layers of control for TDS access:
- Environment-level control – enables or disables the TDS endpoint for the entire Dataverse environment
- User-level access control (optional) – restricts TDS usage to specific users or application users
User-Level Access Control for TDS (Recommended)
Microsoft allows administrators to restrict TDS access using a dedicated security privilege called:
“Allow user to access TDS endpoint”
When user-level access control is enabled:
- Only users with this privilege can connect via TDS
- All other users will receive an authorization error
- Normal Dataverse table and field security still applies
This is the recommended configuration for production environments.
How to Enable User-Level Access Control
- Open Power Platform Admin Center
- Select your environment
- Go to Settings → Product → Features
- Enable User level access control for TDS endpoint
- Save your changes
Assign the TDS Privilege to a Security Role
After enabling user-level access control, you must explicitly grant access:
- Go to Settings → Users + Permissions → Security roles
- Open the role assigned to the DeDuplica application user
- Go to Miscellaneous Privileges
- Enable Allow user to access TDS endpoint
- Save the role
Without this privilege, TDS connections will fail even if the endpoint is enabled.
Best Practice for DeDuplica
- Use a dedicated application user
- Assign only required read permissions
- Explicitly grant Allow user to access TDS endpoint
This ensures maximum security and predictable b
Common Issues and Troubleshooting
TDS Toggle Is Not Visible
Possible reasons:
- Insufficient permissions
- Environment type does not support TDS
- Organizational policy restrictions
Resolution:
- Verify administrator role
- Check with your Power Platform administrator
Cannot Connect Using SSMS
Common causes:
- Firewall or network restrictions
- Incorrect server name or port
- Incorrect authentication method
Resolution:
- Ensure port 5558 is allowed
- Use Azure AD authentication
- Confirm environment URL
DeDuplica Still Cannot Connect
If TDS is enabled but DeDuplica cannot connect:
- Confirm the application user has read permissions
- Verify the correct environment is configured
- Check for conditional access or MFA restrictions
Microsoft Reference Documentation
For official Microsoft guidance, see:
- Dataverse SQL and TDS access: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/dataverse-sql-query
Summary
- TDS must be enabled for DeDuplica to work
- Enabling TDS is a one-time administrative action
- TDS provides secure, read-only SQL access to Dataverse
- Verification using SSMS is recommended
If you encounter issues or are unsure about permissions, contact your Power Platform administrator or the DeDuplica support team.