Skip to content

[1.0.1] Get-EntraGroupOwner doesn't return service principal owners #1343

Open
@alexandair

Description

@alexandair

Get-EntraGroupOwner returns only user type.
To get a service principal type, you need to use the Get-EntraBetaGroupOwner.

PS> Get-EntraGroupOwner -GroupId 1334c115-2a63-4083-b766-12505454099f | ft id,'@odata.type'

PS> Get-EntraBetaGroupOwner -GroupId 1334c115-2a63-4083-b766-12505454099f | ft id,'@odata.type'

id                                   @odata.type
--                                   -----------
66deb2e5-6f49-4852-b24f-e692f01a0f7d #microsoft.graph.servicePrincipal

Metadata

Metadata

Assignees

Labels

P0Highest priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions