Forum Discussion
licensing based on azure ad groups
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-all-users-with-license-errors-in-a-group
- StefanKiNov 08, 2018Iron Contributor
Thanks for your Response.
But It dosent work. I have only 5 license. But the report showed that all is okay.
Regards
Stefan
- VasilMichevNov 08, 2018MVP
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 08, 2018Do you have any errors in licenses tab in Azure AD?
- StefanKiNov 08, 2018Iron Contributor
No there are no Errors.
- Wes MillerNov 08, 2018Brass Contributor
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, 2018No, when licensing with groups you don’t get any error presented to you directly when you don’t have enough licenses, like you do when assigning per user! The users will be in an error state as you can see in Azure Ad under Licenses, and as @Vasil said powershell Reports this as a “countviolation”
- Wes MillerNov 08, 2018Brass ContributorIn the absence of accurate reporting, this is incredibly troubling.