Assigning a license to a group
Assigning licenses to individual users can become a pain point for large organizations, or even smaller organizations that hire infrequently. The ability to quickly assign licenses based on groups of users is an efficient method of managing user licensing, especially if changes need to be made to all users within a group. In this recipe we'll do just that—assign a license to a group.
Getting ready
Only a user with an appropriate admin role (such as Global Admin, License Admin, and so on) can assign a user license. Also, the tenant must have licenses of the appropriate type free/available to be assigned. This requires the correct number of licenses to have been purchased for your tenant.
Finally, user locations play an active role in the assigning of licenses to a group process. Microsoft licenses are not available in all locations. A user's location property must be set before a license from a specific location can be assigned...