The external policy action 'Microsoft.Sql/Sqlservers/Databases/Schemas/Tables/Create' was denied
Hi All,
New to Fabric and Power BI using Trial version of fabric.
Created few workspaces including Lakehouse and warehouse. Tried to create a table using simple statement in available warehouses but getting below error message:
6 Comments
- AnonymousNot applicable
Hi nikhil_kumbhare ,
Please ensure that the warehouse where you’re trying to create the table has the necessary permissions. You might have the permissions on a new warehouse, but not on the ones created earlier. you may check whether the data source corresponding to your report (such as Fabric Warehouse) has given the correct permissions.
The error message mentions an external policy action being denied. This could mean that there’s a policy in place that’s preventing the creation of tables. You might need to check with your administrator if there are any such policies.Best regards.
Community Support Team_Caitlyn - GregMarbais
Kudo Collector
I'm getting the same error message when trying to create a table from a Data Warehouse. I am the Fabric admin for my company and have workspace admin permissions set.
Here are what my permissions are at the data warehouse level - although I don't see any way to edit them.
- guruperRegular Visitor
I signed up for the trial today and created a new lakehouse. I'm connecting my warehouse in SQL Server Management Studio, but get the same error when trying to run a CREATE TABLE statement: The external policy action 'Microsoft.Sql/Sqlservers/Databases/Schemas/Tables/Create' was denied on the requested resource.
- nikhil_kumbhareNew Member
Hi Guruper,
Please review whether you are connected to Lakehouse (SQL End point) or Warehouse. Create table script will work only in Warehouse. So please select warehouse and then execute the query.
Thanks
- guruperRegular Visitor
Thanks, I found that out 10 minutes after posting here 🙂
- TimoRiikonen
Advocate V
Create Notebook:
%%sqlCREATE TABLE Measures (ID BIGINT NOT NULL,Col1 VARCHAR(255));