none
How to check office 365 license for specific user is enabled? RRS feed

  • Question

  • How can I check if a set of users or specific user's office 365 license is enabled or not? For enabling user license I am using following code, here I also want to check user license is enabled or not, if it is not enabled thne following code should work otherwise it will go go for next user

    Import-Csv  "D:\userlist\users.csv" | foreach {Set-MsolUserLicense -UserPrincipalName $_.userPrincipalName -AddLicenses "company1:ENTERPRISEPACK" }

    Please advise

    Avian

    Monday, August 22, 2016 4:06 PM

All replies