tommydunn% az ad sp credential reset --id 30d7b452-e45c-<object_id>
Resource '30d7b452-e45c-<object_id>' does not exist or one of its queried reference-property objects are not present.
tommydunn% az ad sp credential reset --id b2c-sp
Service principal 'b2c-sp' doesn't exist
tommydunn% az ad sp credential reset --id babc9695-10ff-<client_id>
The output includes credentials that you must protect. Be sure that you do not include these credentials in your code or check the credentials into your source control. For more information, see https://aka.ms/azadsp-cli
{
"appId": "babc9695-10ff-<client_id>",
"password": "",
"tenant": ""
}
tommydunn% az version
{
"azure-cli": "2.41.0",
"azure-cli-core": "2.41.0",
"azure-cli-telemetry": "1.0.8",
"extensions": {}
}
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: 7bef1f12-de16-93ed-1cb7-3f3d5d99d786
Version Independent ID: 4e9329a6-50f8-ee2a-af63-f750d66ed574
neither service principal name or object id work when reseting the sp credentials. only client id.
Required Parameters --id "Service principal name, or object id."
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.