Atreidae / UcmPSTools

A collection of Teams Unified Communications related PowerShell functions as part of the UcmPSTools PowerShell Module.
MIT License
6 stars 1 forks source link

Test-UcmO365ServicePlan unable to return known service state #12

Open Atreidae opened 3 years ago

Atreidae commented 3 years ago

Attempting to pull a 365 service state for a user known to have the service enabled fails with an unknown state error. Need to investigate this.

`PS C:\Users\Atreidae\OneDrive - Telstra Purple\Customers\yyy\Scripts> Test-UcmO365ServicePlan -UPN john.doe@yyy.com.au -ServiceName MCOSTANDARD

WARNING: 13:48:12 MCOSTANDARD is in unknown state , you may need to run '(Get-MsolUser -UserPrincipalName john.doe@yyy.com.au).Licenses' for more information INFO: MCOSTANDARD is in unknown state

Name Value


Function Test-UcmO365ServicePlan
Status ERROR
Message MCOSTANDARD is in unknown state, you may need to run '(Get-MsolUser -UserPrincipalName John.doe@yyy.com.au).Licenses' for more information `

Atreidae commented 3 years ago

image