We help IT Professionals succeed at work.

Sway License under E3

Margarita
Margarita asked
on
Dear all,

Is there a way to check if Sway service is enabled for the whole tenant under E3?

Thank you in advance
Comment
Watch Question

MargaritaSystems Administrator

Author

Commented:
I have found this command for one user

I need to alter it for a whole tenant and export to CSV

is it possible?

(Get-MsolUser -UserPrincipalName admin@contoso.com).Licenses[1].ServiceStatus
Most Valuable Expert 2015
Distinguished Expert 2018
Commented:
It's included in all plans and enabled by default, so unless you have deliberately disabled, it will be on for the whole tenant. You can use this query to list all users with Sway enabled:

Get-MsolUser -All  | ? {$_.Licenses.ServiceStatus | ? {$_.ServicePlan.ServiceName -eq "Sway" -and $_.ProvisioningStatus -eq "Success"}}
MargaritaSystems Administrator

Author

Commented:
Thank you that was great x