Azure / Azure/azure-devops-cli-extension
[Feature Request] Add option for managed/automatic service principal during service connection / service endpoint creation
- Dominant language
- Python
- Stars
- 682
- Forks
- 278
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 3
Description
**Is your feature request related to a problem? Please describe.**
When creating a service connection through devops, there's an option to have the service principal be managed by devops.

When deleting the service connection, it also cleans up the service connection if it was configured to be "Automatic".
**Describe the solution you'd like**
There should be a command line flag that can be used instead of `--azurerm-service-principal-id` (e.g., `--automatic--service-principal`) that will have a similar behaviour to the web interface. It will create the service principal using the same name as the connection, and will cause devops to delete it when the service connection is deleted.
Contributor guide
Assessment
This issue has not been assessed yet.