microsoftgraph / entra-powershell

Microsoft Entra PowerShell
https://aka.ms/entraps
MIT License
53 stars 9 forks source link

[0.8] It's expected that Entra commands return real Microsoft Graph types and not PSCustomObjects #831

Closed alexandair closed 2 weeks ago

alexandair commented 2 months ago

Get-EntraGroup, Get-EntraApplication, Get-EntraServicePrincipal return real Microsoft Graph object types (e.g. Microsoft.Graph.PowerShell.Models.MicrosoftGraphGroup).

Get-EntraUser and other user-related cmdlets return PSCustomObjects. Shouldn't they be casted to the Microsoft Graph types?

alexandair commented 2 months ago

@KenitoInc @SteveMutungi254 Why is this issue closed? Get-EntraUserManager and Get-EntraUSerDirectReport still return PSCustomObject type.

It would be nice if the OP is informed when issue is closed. This issue is closed without any comments.

SteveMutungi254 commented 2 months ago

@alexandair : Going forward, we will be tagging the OP and enrich completion notes.

alexandair commented 2 months ago

Please, also reopen the issue.

SteveMutungi254 commented 2 months ago

Reopening the issue.

SteveMutungi254 commented 1 month ago

@alexandair : The issue was resolved via this PR - https://github.com/microsoftgraph/entra-powershell/pull/965 https://github.com/microsoftgraph/entra-powershell/pull/964

We will be merging changes on 08.08. Confirm if the changes are good.

cc: @v-varshamane, @KenitoInc