Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
wjbreitenbach
Frequent Visitor

Dataflow Gen 2 Error - external policy action was denied

I am trying to load a SharePoint Excel file into a SQL database in Fabric. I created the SQL database as I have admin role in the workspace. I then created a Dataflow Gen 2 using Azure SQL database as the destination . I selected the newly created database and the option to create a new table. 

 

When I publish the dataflow, I get the following error: Table Load List_WriteToDataDestination: Mashup Exception Data Source Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: DataSource.Error: Microsoft SQL: The external policy action 'Microsoft.Sql/Sqlservers/Databases/Schemas/Tables/Create' was denied on the requested resource.

 

Why can I not create the table using the dataflow? Can I only import data into an existing table? Are there additional permissions that need to be set in order to create a table?

 

Thanks,

Bill

 

 

1 ACCEPTED SOLUTION

Glad it helped!! So seems to be more on connection detail issues




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

8 REPLIES 8
wjbreitenbach
Frequent Visitor

I created another SQL database. Is there a way for both databases to show up under the same server name? Or do I have to create a separate connection for each one changing the default database in the connection string?

Right now, we randomly assign databases to our pool of logical servers. There is no way to group databases under the same logical server name.

 

We'd love to hear more about your scenario though. Please create an entry on https://ideas.fabric.microsoft.com/ and tell us about how you'd like it to work and how it would improve your business processes so we can consider it during our next round of planning.

wjbreitenbach
Frequent Visitor

yes, it was all connection string issues. I also did not expect the database name to have GUID appended to it.

wjbreitenbach
Frequent Visitor

Thanks for your help. The connection string was incorrect in the dataflow. I was using xxx..datawarehouse.fabric.microsoft.com from the warehouse instead of yyyy.database.fabric.microsoft.com,1433. Also the database name has a GUID appended to the name. I was missing it as well.

 

I found the correct connection string by going to Open in SQL Server Management Studio. Once those were entered, the dataflow successfully loaded the data.

 

Thanks,

Bill

 

 

Glad it helped!! So seems to be more on connection detail issues




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
wjbreitenbach
Frequent Visitor

When trying to connect using SSMS, I get an error that database 'master' on server xxx is not currently available. The session tracing ID is {8B953507-F12D-49D9-8DD2-F53D98FF8733}, error:40613.

 

Howerver, using Fabric SQL Editor, I can create a table.

The error you are getting via SSMS is because you have not provided the database name.

NandanHegde_0-1733325737503.jpeg

Go to the option settings and rather than database name being default, provide your database name.

 

And can you confirm the connection in dataflow Gen 2 account itslef is being used to login manually and you are able to create the table?




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
NandanHegde
Super User
Super User

Can you please connect to the Fabric SQL database directly and try creating the table manually via SSMS and confirm whether it is a success or not?
That would help us identify whether there is a permission issue or somehwat related to the below link :

https://community.fabric.microsoft.com/t5/Issues/The-external-policy-action-Microsoft-Sql-Sqlservers...




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors