Skip to content

Instantly share code, notes, and snippets.

View jcoehoorn's full-sized avatar

jcoehoorn

  • York University
  • York NE
View GitHub Profile
#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.