-
Notifications
You must be signed in to change notification settings - Fork 183
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
Add DeleteAfter tag and resource cleanup for test resource service principals #1966
Comments
If we can do that great but I've found that there is a lack of permissions to delete the service principal in the normal case only the creator has permissions. |
Maybe we could emit a tag for the resource group that identifies the Test Application principal associated with it and integrate that with |
@weshaggard is the issue you're referring to that we couldn't add a group as an SP owner (issue)? I think we could update the script or perhaps policy to add our provisioner identity as an owner. |
Triaging old issues... we definitely will still need this as we accumulate service principals and hit a hard cap at some point. |
We create a lot of new service principals in the development workflow for the
New-TestResources.ps1
script. Right now we don't have any great ways of cleaning these up. We should follow the same model we do for resource groups, where we add a time-basedDeleteAfter
tag, and query for those resources in thelive test resource cleanup
pipeline.The text was updated successfully, but these errors were encountered: