Forum Discussion
Get mailbox users without ATP License
Get mailbox users without ATP License
10 Replies
This isn't google, and we are not mind readers, so can you maybe share some more details on what you are trying to achieve? And are you talking about the standalone ATP SKU, or ATP as part from E5?
In general, ATP licenses do not need to be assigned to users, so you just need to make sure you have enough licenses available in the tenant.
You can get a list of all users with or without a specific license from the O365 admin portal -> Users -> click the View dropdown -> custom view. It might be easier to just use PowerShell though:
Get-MsolUser -All | ? {$_.Licenses.ServiceStatus | ? {$_.ServicePlan.ServiceName -eq "ATP_ENTERPRISE" -and $_.ProvisioningStatus -ne "Success"}}
- Navishkar SadheoSteel Contributor
In general, ATP licenses do not need to be assigned to users, so you just need to make sure you have enough licenses available in the tenant. VasilMichev Thanks for clearing that up.
- Mark Louie DiazCopper Contributor
Hi Navishkar,
Now we ran out of ATP.
That's why management need to know who doesn't have yet. to Procure additional more.
Best Regards,
Mark
- Mark Louie DiazCopper Contributor
Hi Vasil,
Regret for the body of this.
Our company has stand alone ATP. Tried your script but it doesn't work check because the provisioning of her atp is ongoing.
i have user showed up and she has atp assigned to her.
Best Regards,
Mark
As I said, we're not mind readers here. My example assumes that you have ATP as part of E5, if you have the standalone license just query for the presence of the relevant SKU. If you don't know the SKUID, you can get it via Get-MsolAccountSku.