Forum Discussion
Automatically provision OneDrive for Business site for end user when adding O365 license
I’ve actually done this for one of my clients. When the need to add a new users, they simply put the UPN/email address in a SharePoint list along with the two character location code. Adding an item to the list, triggers some PowerShell running in Azure Automation to appropriate license the users in Office 365 as well as provision OneDrive for Business.
There are a few different ways you could trigger the PowerShell, but the end of the day, PowerShell is going to be at the heart of your solution for this.
Sounds like a great workaround!
Still wishing that there could be much simpler solution for this.
Did you use some automation to get user in SharePoint list or just manually added it there?
- BenSteginkFeb 20, 2018Iron Contributor
I just manually added users to the SP List. However, you could easily automate that part if you had a CSV file with all the users...or some other way you wanted to automatically add users to the list.