SOLVED

Mapping Get-CsOnlineUser to MS Graph

Iron Contributor

Hello 

I would like to run this Powershell command

Get-CsOnlineUser | select-object UserPrincipalName,DisplayName,Country,CountryAbbreviation,Company,Title,AccountEnabled,TeamsUpdateManagementPolicy | export-csv -encoding unicode -NoTypeInformation -path "" -append

Is there a similar command in MS Graph and also this detailed information
Regards
JFM_12

4 Replies
best response confirmed by JFM_12 (Iron Contributor)
Solution
While you can get some of these properties (and the list of users itself) via the Graph API, the full picture is currently only exposed via the PowerShell cmdlets. Until Microsoft introduced Graph API endpoints for all the Teams admin stuff, that is.
Make sure to leave feedback on this: https://feedbackportal.microsoft.com/feedback/forum/ad198462-1c1c-ec11-b6e7-0022481f8472
Hello Vasil
Thank you very much for your answer.
But will Powershell be deprecated in favor of MS Graph?
Or did I missunderstand this.
Regards
JFM_12
Not anytime soon :)

@Vasil Michev Thank you very much have a great day

1 best response

Accepted Solutions
best response confirmed by JFM_12 (Iron Contributor)
Solution
While you can get some of these properties (and the list of users itself) via the Graph API, the full picture is currently only exposed via the PowerShell cmdlets. Until Microsoft introduced Graph API endpoints for all the Teams admin stuff, that is.
Make sure to leave feedback on this: https://feedbackportal.microsoft.com/feedback/forum/ad198462-1c1c-ec11-b6e7-0022481f8472

View solution in original post