Nov 08 2018
- last edited on
Jan 14 2022
I tested licensing based on azure ad groups. It works fine, but I get one big problem.
I got 5 E3 license. Now I put 10 users in the group which assigned to the E3 license. After a short time, all 10 users have a E3 license assigned form the group.
How can get a report that we missed 5 licenses and must buy it? Or how can I handle it?
Nov 08 2018 08:17 AM
Nov 08 2018 09:31 AM
In such scenarios, an error will be generated (CountViolation), and you can periodically go over the list of users with errors as detailed here: https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-ps-examples#get...
Nov 08 2018 12:38 PM
Vasil - am I understanding this correctly: CountViolation will (eventually) be generated when I have overbooked the number of User SLs for a given service I actually own? So the service isn't actually enforcing compliance (for the underlying User SLs) across the group???
Nov 08 2018 12:45 PM
Thanks for your Response.
But It dosent work. I have only 5 license. But the report showed that all is okay.
Nov 08 2018 12:47 PM
Nov 08 2018 01:13 PM
Nov 08 2018 10:51 PM
The error is reported on the user object, there are examples on how you can get it via PowerShell in the article I linked.
Nov 11 2018 11:48 PM