How to automate License Distribution to Group when user is added

Alex Demetriou 40 Reputation points
2024-07-12T19:10:26.4866667+00:00

Let's say I have Group A and B. The people in Group A get an E3 License while people in Group B get a Business Standard License. How do I automate it so that when a user is added in either group, they automatically get assigned the license?

Microsoft Intune Grouping
Microsoft Intune Grouping
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Grouping: The arrangement or formation of people or things in a group or groups.
61 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,362 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,626 questions
Windows Licensing
Windows Licensing
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Licensing: Rules, regulations, and restrictions that define how software can be used and distributed.
120 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 111K Reputation points MVP
    2024-07-13T18:09:58.6666667+00:00

    The group-based licensing feature is what you are looking for: https://learn.microsoft.com/en-us/entra/fundamentals/concept-group-based-licensing

    0 comments No comments

  2. Raja Pothuraju 9,805 Reputation points Microsoft Vendor
    2024-07-15T10:51:18.16+00:00

    Hello @Alex Demetriou,

    Thank you for posting your query on Microsoft Q&A.

    As per your request, you want to automate user license assignment based on group membership using group-based licensing. For instance, members of Group A should be assigned an E3 license, while Group B members should receive a Business Standard license.

    To achieve this, you can assign licenses directly to groups. When a user is added to a group that has a license assigned (such as the HR Department group with 10 E3 licenses), they will automatically inherit the corresponding license without needing individual assignment. For example, if 5 users are added to the HR Department group, they will all receive the E3 license.

    For detailed instructions, please refer to the following document on assigning licenses based on group membership in Microsoft Entra ID:

    Assign licenses to users by group membership in Microsoft Entra ID

    To automate license assignments based on group membership in Microsoft Entra ID, you can follow these steps:

    1. Create Groups: First, create your groups (e.g., Group A and Group B) in Microsoft Entra ID. Make sure Group A is associated with the E3 license and Group B with the Business Standard license.
    2. Assign Licenses to Groups: Navigate to the Microsoft Entra ID admin center. Go to the "Groups" section and select the appropriate group (e.g., Group A). In the group settings, assign the E3 license to Group A. Similarly, assign the Business Standard license to Group B.
    3. Add Users to Groups: Add users to Group A or Group B as needed. Users added to Group A will automatically inherit the E3 license, and those added to Group B will receive the Business Standard license.
    4. Automatic Assignment: When a user is added to Group A or Group B, Entra ID will automatically assign the corresponding license to that user based on the group's license assignment.
    5. Verification: You can verify license assignments by checking the user's profile in the Entra ID admin center or using PowerShell scripts to retrieve license information for users in specific groups.

    I hope this information is helpful. Please feel free to reach out if you have any further questions.

    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    Thanks,
    Raja Pothuraju.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.