Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I ran into an issue where I was using a Fabric deployment pipeline to deploying a lakekehouse from one workspace to another. This was meant as a temporary copy/migration method, so after it completed, I unassigned the workspaces. Apparently, I did this too early because my target environment now has an orphaned SQL analytics endpoint and Semantic model, but no parent lakehouse. There's no obvious way to delete or rename these in the service. I tried reassigning the workspaces to the deployment pipeline and redeploy the lakehouse, but it now says that the name is already in use.
Does anyone have a workaround?
Solved! Go to Solution.
It appears that there's an auto-cleanup process running in the background because after 2-3 days of waiting the orphaned lakehouse disappears. I've done this twice now for good measure.
It appears that there's an auto-cleanup process running in the background because after 2-3 days of waiting the orphaned lakehouse disappears. I've done this twice now for good measure.
Hi @dzav
Could you please navigate to the workspace settings and you can delete orphaned semantic models.
Your issue will get resolved.
If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.
I've tried deleting the semantic model twice. The first time it deleted and reappeared immediately, and the second time it also produced this error:
Hi dzav,
There’s no delete button in Fabric UI, but you can use the REST API to delete these semantic models manually:
Power BI REST API: Delete Dataset
DELETE https://api.powerbi.com/v1.0/myorg/groups/{workspaceId}/datasets/{datasetId}
You’ll need:
You can get these from:
If you're not comfortable with REST calls, I can help you write a quick PowerShell script using Invoke-RestMethod.
Renaming could help release the name lock so you can redeploy the original Lakehouse.
PATCH https://api.powerbi.com/v1.0/myorg/groups/{workspaceId}/datasets/{datasetId}
Content-Type: application/json
{
"name": "Orphaned_Dataset_Backup"
}
Permissions Needed
You must have:
Admin or Member access to the workspace
Fabric admin permissions if using Admin APIs
Either Power BI Admin role or permission to register applications for API use
Dataset renaming isn't supported via REST API and the DELETE is unable to delete a dataset nested under a lakehouse. This also doesn't address the sql endpoint that's orphaned, which the REST API doesn't have methods to handle.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |