Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
User | Count |
---|---|
47 | |
31 | |
28 | |
27 | |
26 |
User | Count |
---|---|
58 | |
55 | |
36 | |
33 | |
28 |