Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Does anyone have a solution to delete all empty workspaces that has been created by defaAult when creating a 365 group?
We have around 1000 of workspaces that are created from 365 groups and most of them are empty.
I have allready enabled the new future to not create new workspaces from 365 groups.
Cheers
Solved! Go to Solution.
I made my own little project that lists all workspaces that are empty and removes them if desired.
I made my own little project that lists all workspaces that are empty and removes them if desired.
Hi @royalswe ,
The workspace administrator (the owner of the 365 group) can delete this workspace.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Are you aware of the Power BI API calls?
https://docs.microsoft.com/en-us/rest/api/power-bi/admin/capacities_unassignworkspacesfromcapacity
You can run these calls from your favorite process tool, for example from Powershell.
@lbendlin thanks but I'm not sure how to use the API cal to remove empty workspaces.
@v-lionel-msft thanks but i'm trying to find a way to remove 1000 of groups at once without asking people to clean up.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.