-
Notifications
You must be signed in to change notification settings - Fork 3.4k
inconsistent information with 'az login --serviceprincipal' #25065
Copy link
Copy link
Open
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign 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 adact-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.feature-request
Milestone
Metadata
Metadata
Assignees
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign 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 adact-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.feature-request
Related command
cx report the issue about can't get details of the owner of app registration through service principal identity.
but can get the details thru user's identity:
command:
az ad app owner list --id "<app-id>on Portal:

on cloud shell logged in as the global admin:

on PS logged in with

az login --serviceprincipalpermission: admin consent with
and proceed the command:

the value return null for displayname, preferredLanguage, UPN
Resource Provider
microsoft.directory/applications
Description of Feature or Work Requested
the information should also be provided with serviceprincipal identity
Minimum API Version Required
2.43.0
Swagger PR link / SDK link
N/A
Request Example
No response
Target Date
N/A
Additional context
No response