Forum Discussion
JFM_12
Mar 26, 2024Iron Contributor
Mapping Get-CsOnlineUser to MS Graph
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
- 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
- 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- JFM_12Iron ContributorHello 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 🙂