This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Copyright 2015 Joel Coehoorn. | |
# This script is provided under the CC BY 2.0 license. https://creativecommons.org/licenses/by/2.0/ | |
#Acknowledgements: | |
# This script was original based on the work by Johan Dahlbom located here: | |
# http://365lab.net/2014/04/15/office-365-assign-licenses-based-on-groups-using-powershell/#comment-4353 | |
# However, it has been almost completely re-written twice since then, and boasts significant added functionality. | |
#This script syncs Office 365 license assignments from group membership in the Azure Active Directory Tenant. | |
# Adjust the variable assignments in the first section to match your environment. |