Skip to content

inconsistent information with 'az login --serviceprincipal' #25065

@jillchangms

Description

@jillchangms

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:
image

on cloud shell logged in as the global admin:
image

on PS logged in with
az login --serviceprincipal
permission: admin consent with
image

and proceed the command:
image

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

Metadata

Metadata

Assignees

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamGraph(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.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions