-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Internal Server Error on service principal credential reset and delete #29398
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamGraph(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 adPossible-SolutionSimilar-Issueact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamGraph(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 adPossible-SolutionSimilar-Issueact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When using the az cli, an internal server error is thrown when using
az ad sp credential delete --id xxxxx --key-id xxxxx --verboseandaz ad sp credential reset --id xxxxxRelated command
az ad sp credential delete,az ad sp credential resetErrors
Encountered an internal server error.Issue script & Debug output
Expected behavior
When a user has the proper permissions to delete or reset the credentials on a service principal, they would be able to do this without encountering an internal server error.
Environment Summary
azure-cli 2.62.0
core 2.62.0
telemetry 1.1.0
Extensions:
account 0.2.5
aks-preview 0.5.174
kusto 0.5.0
Dependencies:
msal 1.28.1
azure-mgmt-resource 23.1.1
Python location '/usr/local/Cellar/azure-cli/2.62.0/libexec/bin/python'
Extensions directory '/Users/jpacheco/.azure/cliextensions'
Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
This occurred for all team members who attempted to delete or reset credentials.