Related command
az ad sp show
Describe the bug
az ad sp show --id XXXX --query objectId returns back nothing but --query id works.

"id" is not even a valid property for SP if you just run az ad sp show --id XXXX, actually return back "id" does not make sense as you are query by id (--id). and these ids have different value, one is objectId, another is principleId
To Reproduce
run above command
Expected behavior
--query objectId should return back the objectId while query id should return back nothing.
Environment summary
{
"azure-cli": "2.44.1",
"azure-cli-core": "2.44.1",
"azure-cli-telemetry": "1.0.8",
"extensions": {}
}
Related command
az ad sp show
Describe the bug

az ad sp show --id XXXX --query objectId returns back nothing but --query id works.
"id" is not even a valid property for SP if you just run az ad sp show --id XXXX, actually return back "id" does not make sense as you are query by id (--id). and these ids have different value, one is objectId, another is principleId
To Reproduce
run above command
Expected behavior
--query objectId should return back the objectId while query id should return back nothing.
Environment summary
{
"azure-cli": "2.44.1",
"azure-cli-core": "2.44.1",
"azure-cli-telemetry": "1.0.8",
"extensions": {}
}