Azure AD, Licensing users in a Security Group

Today I was trying to figure it out how to license a set of users in a Security Group and I came up with a PowerShell function to do it so, the function is based on this article from 365Lab First you need to install the latest “Windows Azure Active Directory Module for Windows PowerShell”.  The commands…