-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request | break the glass ability to destroy a DevCenter and all dependent resources #22
Comments
I am finding that the DevCenters are getting out of synch very easily. I am trying to clean up the existing ones so I can start all over. I cannot delete the projects because there are environments that users cannot access. I cannot delete the DevCenter because it thinks the projects still have data. I can't delete the resource group for the same reason. This is a very severe issue. I am going to try putting in a support ticket with Microsoft to delete all these resources. |
Had same experience. Tried everything to delete each resource but still telling me there's something dependent. |
any process of which to follow to delete enviornments and projects??? Does there need to be a specific order in which you do it? |
Working with Microsoft we were finally able to get everything deleted. Some Background: Two weeks ago, we created a second DevCenter with some of our developers with access to just one DevCenter and others with access to both. This was when everything got corrupted, and we couldn't delete environments from the devportal and there was no option in the DevCenter. After everything got corrupted, I started cleaning up all the permissions including removing the DevCenter identities from the AD group so we wouldn't end up with 'Identity not found' placeholders everywhere. Working With Microsoft: Microsoft had me re-add the system assigned identities for the DevCenters as Owner for the subscription. This worked [only when we assigned the system assigned identity to the subscription and not to the AD group (not sure if this is a red herring or not, we didn't test this thoroughly).] The other DevCenter’s environments, projects, and environment types could not be deleted from the UI because some of those options did not show up in the UI. However, using API commands for environments and projects (and portal UI operations for other resource) we were able to clear up those resources once the DevCenter’s identity had Owner access to the subscription. Example API Commands:
Conclusion: |
It's cumbersome, nearly impossible to destroy DevCenters that depend on Projects that depend on Environments. Sometimes these environments depend on catalog items that no longer exists or have changed which makes it hard to delete ending up in a lot of trash in the dev portal.
Would be great to have some sort of garbage collector / purge functionality that cleans up idle / orphan / broken environments (like a soft deletion of keys in AKV). This might not be desired once thins are up & running but would definitely speed up the exploration and piloting phase. An optional feature.
Would be great to have the ability to delete a DevCenter and all dependent resources in a forced manner. "Danger Zone" type of functionality.
The text was updated successfully, but these errors were encountered: