Freigeben über


Automatically Assign Licenses to your Office 365 Users

Depending on business needs, technical requirements, or both, directory synchronization (aka DirSync) is the most common provisioning choice for enterprise customers who are moving to Office 365. DirSync allows identities to be mastered on-premises and all updates to that identity are synchronized to the Office 365 AD.

Currently DirSync syncs identities with Office 365 but does not offer the ability to configure business logic and assign licenses to synced users.

While we wait for a long-term solution to help automate license assignment for customers we have published a PowerShell-based solution that enables customers to apply their business logic to automate license assignment. This solution allows administrators to assign licenses to users based on the following:

1. Attribute value matching (i.e. “all users with UPN containing @legal.contoso.com”)
2. Group membership

Read more in this article "How to use PowerShell to Automatically Assign Licenses to your Office365 Users"

See also

  • Planning Directory Syncronization - link
  • Provisioning and Licensing Office 365 Accounts with PowerShell (PowerShell Magazine) - link

Comments

  • Anonymous
    September 16, 2014
    I saw in your post the following:
    "Currently DirSync syncs identities with Office 365 but does not offer the ability to configure business logic and assign licenses to synced users."

    Do you know if such is still the case or if there's a work around for it?

    Thanks,

    Chris
  • Anonymous
    July 23, 2015
    We have recently solved this problem by implementing a tool called Adaxes. O365 licences automation wasn't the first thing we were choosing it for, but it does the job really well. Here's more info on thathttp://www.adaxes.com/office-365_automation_management.htm. Hope, it's gonna be useful for somebody
  • Anonymous
    February 20, 2016
    Not that I'm counting but I just realized one of my blog posts actually is closing in on 100k views
  • Anonymous
    June 22, 2016
    I was able to automate this recently by writing a Powershell script that will assign licenses to new users in Office 365. You can fully automate the script by creating a reoccurring scheduled task that runs after Azure AD Connect. http://joseespitia.com/2016/06/21/automatically-assign-office-365-licenses-to-new-users/I hope this helps someone!
  • Anonymous
    March 02, 2017
    Our Microsoft Premier Field Engineer just told us that they just solved this in Azure, in case anyone is still wondering about the status of this issue.