cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChrisAP
Regular Visitor

No tables visible in Flow or DataFlow when connecting to SQL Server database via Gateway

Hi everyone, 

 

Thanks in advance for any suggestions with this.

 

We've recently created a new Sandbox / dev PowerPlatform environment and have migrated one of our existing Solutions to it to carryout some development work.  The production solution involves using a DataFlow via data gateway, to sync from a SQL Server database view to a CDS entity / Dataverse table. I want to use test data in this environment, so I've used a DACPAC to recreate the production database on a test SQL Server instance. I've set up the connection on the gateway and have successfully setup a connection in the sandbox environment with status connected. However, when I attempt to access that database, either via a DataFlow or Flow / Power Automate, I can't see any of the tables or views (see below images). Yet if I attempt to connect to the production SQL server instance, I can successfully see the tables and views. I have double checked the permissions on the test SQL Server db, and the gateway itself. I can't see any issues, and these were included as a part of the DACPAC anyway.

 

Any suggestions would be greatly appreciated, and please let me know if I've missed any important details.

 

ChrisAP_3-1607100759796.png

 

ChrisAP_2-1607099788712.png

 

ChrisAP_0-1607099520641.png

ChrisAP_1-1607099642512.png

 

 

 

1 REPLY 1
katwan
Microsoft
Microsoft

If you are using SSMS to connect to your test database with exactly the same credentials, are you able to see any table/views? If so, can you start SQL profiler on your test db and run your dataflow or power automate again to see what is queried inside your database?

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (34,619)