Get-MsolUser Returns All Results as True


i'm attempting find list of students have license yammer.

get-msoluser -all -title student | where-object {$_.islicensed -eq $true -and $_.licenses.servicestatus[2].provisioningstatus -ne "disabled"}

this returns thousands of results value true all. yet, when check admin center of results not have access yammer. need modify or add in order receive list of users have license?

thank you!

hi,

same command has no issues, suggest check -title parameter:

best regards,

andy


please remember mark replies answers if help.
if have feedback technet subscriber support, contact tnmff@microsoft.com.



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

CRL Revocation always failed

0x300000d errors in Microsoft Remote Desktop client

Failed to query the results of bpa xpath