-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Closed
Copy link
Labels
Auto-AssignAuto assign by botAuto assign by botGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az ad(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adInstallationKeyVaultaz keyvaultaz keyvault
Milestone
Description
az feedbackauto-generates most of the information requested below, as of CLI version 2.0.62
Related command
az keyvault create
Describe the bug
Could not create keyvault with service principal after graph module migration.
To Reproduce
Create keyvault with a service principal.
Expected behavior
Able to create keyvault with a service principal like it used to be.
Environment summary
WSL2, Ubuntu18.04, Python3.8, CLI dev branch + tags/azure-cli-2.36.0
Additional context
Before the migration, function _get_current_user_object_id would raise GraphErrorException and retry with _get_object_id.
After the migration, function _get_current_user_object_id would not raise an error. Without retry, empty object id would result in raising CLIError.
Reactions are currently unavailable
Metadata
Metadata
Labels
Auto-AssignAuto assign by botAuto assign by botGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az ad(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adInstallationKeyVaultaz keyvaultaz keyvault


