Skip to content

Cannot list Service Principals of an App #1290

@Tbohunek

Description

@Tbohunek

Get-MgServicePrincipal doesn't take -applicationId, which makes it impossible to list Service Principals of an App.
On contrary, Get-MgApplication only takes -applicationId but does not take -objectId.
This limits possible usage.

Why do Get-MgServicePrincipal and Get-MgApplication require specific parameter names -serviceprincipalId and -applicationId rater than generic -objectId as was the case with Get-AzAdServicePrincipal and Get-AzAdApplication?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions