Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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
I had tables in my lakehouse which I right-clicked and deleted. However, they are still listed in the lakehouse when I look at the SQL analytics endpoint view, as well as when I do dataflow gen2 and they are visible in the list when connecting a lakehouse:
It doesn't seem to be issues with refreshing of the lakehouse, as they have been there for weeks since I deleted them.
Lakehouse view shows this:
... just a list of tables collected from source under "Tables" and under "Files" there is nothing. But when I look at it from the SQL analytics endpoint view, I can still see the old schema (FIRMA1) and table names that I have deleted:
When I click the table to show data it just loads for a while until I cancel:
Why are these ghost tables still there and how can I remove them completely?
Solved! Go to Solution.
Hi nioj2S,
Kindly contact your tenant administrator or Fabric administrator for further assistance in resolving the issue.
If the issue persists, we sincerely recommend reaching out to the Microsoft Support Team through the link provided below. Submitting a support ticket will allow you to receive personalized insights related to your account and potential resolutions:
Microsoft Fabric Support and Status | Microsoft Fabric
If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.
Thank you.
I was in touch with Microsoft Support and the issue was that the original dataflow had managed to create a schema in the lakehouse, which was a lakehouse that did not support schemas. The steps they came up with to resolve the issue was:
1 - Create a Lakehouse with schema support.
2 - Using a Fabric notebook:
2.1 - Create the FIRMA1 schema in the new Lakehouse.
2.2 - Create a table called bl_project in the new schema with only 1 column.
2.3 - Copy the contents of the folder into the Lakehouse with the orphan tables.
3 - Wait for metadata synchronization to occur and check whether the orphan table returns the expected test column.
4 - Using a Fabric notebook:
4.1 - In the Lakehouse with the orphan tables, delete the bl_project folder.
5 - After metadata synchronization, check whether the bl_project table was removed.
6 - Repeat this process for all orphan tables.
7 - At the end, delete the FIRMA1 schema from the SQL endpoint.
Also, there was some issue with casing, so we had to use a piece of code to make sure that Spark ignored/didn't ignore capital ("BL_PROJECT" vs "bl_project").
This solved the issue. 🙂
I was in touch with Microsoft Support and the issue was that the original dataflow had managed to create a schema in the lakehouse, which was a lakehouse that did not support schemas. The steps they came up with to resolve the issue was:
1 - Create a Lakehouse with schema support.
2 - Using a Fabric notebook:
2.1 - Create the FIRMA1 schema in the new Lakehouse.
2.2 - Create a table called bl_project in the new schema with only 1 column.
2.3 - Copy the contents of the folder into the Lakehouse with the orphan tables.
3 - Wait for metadata synchronization to occur and check whether the orphan table returns the expected test column.
4 - Using a Fabric notebook:
4.1 - In the Lakehouse with the orphan tables, delete the bl_project folder.
5 - After metadata synchronization, check whether the bl_project table was removed.
6 - Repeat this process for all orphan tables.
7 - At the end, delete the FIRMA1 schema from the SQL endpoint.
Also, there was some issue with casing, so we had to use a piece of code to make sure that Spark ignored/didn't ignore capital ("BL_PROJECT" vs "bl_project").
This solved the issue. 🙂
Hi nioj2S,
Thank you for the update.
If the support team provides a solution, please share it with the community. This will assist others facing similar challenges and benefit the broader community.
Thank you.
Hi nioj2S,
We are following up to check whether you have raised the support ticket. If you have already done so, we kindly request you to share your feedback on the issue raised.
If a solution has been provided, we would appreciate it if you could share it with the community and mark it as the accepted solution. This will help others facing similar challenges and benefit the broader community.
Thank you.
Hi! Support ticket is raised, three people are working on it as it seems to be a very unusual bug. No solution as of today.
Hi nioj2S,
Based on my understanding, the issue may be caused by external policies applied to the resource, resulting in a denial of permission to drop the table, as indicated in the attached screenshot:
Kindly check with your Organisation Administrator or Tenant Administrator to verify if any external policies have been enforced on the resource.
If the issue persists, we recommend reaching out to the Microsoft Support Team through the link provided below. Raising a support ticket will allow you to receive personalised insights related to your account and possible resolutions:
Microsoft Fabric Support and Status | Microsoft Fabric
If you find the response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.
Thank you.
Hi nioj2S,
Kindly contact your tenant administrator or Fabric administrator for further assistance in resolving the issue.
If the issue persists, we sincerely recommend reaching out to the Microsoft Support Team through the link provided below. Submitting a support ticket will allow you to receive personalized insights related to your account and potential resolutions:
Microsoft Fabric Support and Status | Microsoft Fabric
If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.
Thank you.
I have already contacted the Fabric admin and looked for role assignments, but we saw nothing obvious, as I am already a workspace admin. Please provide more information about what they Fabric admin should do and where in order to give me the correct permissions to delete these ghost tables.
Hi nioj2S,
Being a Workspace Admin in Fabric does not automatically confer permissions to drop tables or schemas in the SQL Analytics endpoint.
To drop a table or schema, you must have CONTROL permissions on the table, schema, and database or be a member of the DB_OWNER role.
If the necessary permissions are not granted, a SQL administrator must explicitly assign them using the SQL GRANT CONTROL command or by adding the user to the DB_OWNER role. SQL Server permissions, including ALTER, DELETE, and CONTROL, are essential for modifying database objects.
If you continue to face restrictions despite these measures, kindly reach out to your tenant administrator or Fabric administrator for further assistance.
If you find our response helpful, please mark it as the accepted solution and provide kudos. Your feedback will assist other community members encountering similar queries.
Thank you.
Couldn't find anything clear in the Azure admin portal, so I accessed the lakehouse via Azure Data Studio, gave myself access to delete but still nothing. I have permission_name "ALTER", "CONTROL", "DELETE" etc. and when I run "CROP TABLE [FIRMA1].[BL_PROJECT]" I get the same error message, it does not exist or I don't have permission.
Hi nioj2S,
Thank you for your update.
Before deleting a schema, it is essential to first remove any dependent objects within the schema. Failure to do so will result in the DROP SCHEMA command failing.
Based on the error message in the screenshot you have shared, it appears that you do not have the necessary permissions to delete the specific table (e.g., BL_PROJECT), which is a dependent object within the schema FIRMA1. If you do not have the required permissions to delete tables or schemas, kindly contact your administrator and request access. Additionally, please check with your administrator for any external policies that may be applied to the resource.
Once all policies have been reviewed and the required permissions have been granted, please re-run the queries and verify the results.
If you find our response helpful, we request you to mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.
Thank you.
I am a workspace admin, is that not enough?
Hi nioj2S,
We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.
If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.
Thank you.
Hi @nioj2S,
We appreciate your inquiry through the Microsoft Fabric Community Forum.
The Lakehouse and the SQL Endpoint in Microsoft Fabric represent different ways of interacting with the same underlying data. Below is an explanation of their functionalities and steps to resolve your issue:
When you delete a table through the Lakehouse View, only the associated data files are removed. However, the schema associated with the table remains intact in the SQL Endpoint's metadata. This behavior is intentional, as it allows users to recreate tables or reuse schemas for other purposes.
To remove the schema, you need to use T-SQL within the SQL Endpoint. Please follow the steps below:
If you find the response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.
Thank you.
Hi Friends,
Any luck on this?
Thanks
Ramana
Hello!
It does not seem to work.
Trying to drop schema via SQL query in the SQL analytics endpoint:
Trying to drop table the same way:
Trying to drop schema via notebook using Spark SQL:
Trying to drop table via notebook using Spark SQL:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
9 | |
5 | |
4 | |
3 | |
3 |