{"id":1523,"date":"2015-08-10T19:22:34","date_gmt":"2015-08-10T18:22:34","guid":{"rendered":"http:\/\/emtunc.org\/blog\/?p=1523"},"modified":"2015-08-10T19:22:34","modified_gmt":"2015-08-10T18:22:34","slug":"bulk-licensing-office-365-users-with-powershell","status":"publish","type":"post","link":"https:\/\/emtunc.org\/blog\/08\/2015\/bulk-licensing-office-365-users-with-powershell\/","title":{"rendered":"Bulk Licensing Office 365 Users with PowerShell"},"content":{"rendered":"<p>Licensing Office 365 users manually can be a tedious task; especially if you are tasked with licensing hundreds or even thousands (think educational institutes that need to license user&#8217;s every semester or academic year).<\/p>\n<p>I created a fairly basic script that will take a .CSV input and license your users according to your Office 365 environment and the licenses you have available.<\/p>\n<p><!--more--><\/p>\n<p>You can find the script on <a href=\"https:\/\/github.com\/emtunc\/License-Office365-Users\">GitHub @\u00a0https:\/\/github.com\/emtunc\/License-Office365-Users<\/a><\/p>\n<p>To use, simply ensure that the .CSV has a column header named\u00a0<em>userPrincipalName<\/em> and that every UPN is on a new line.<\/p>\n<p>Also make sure you fill in the license information that you want applied to your users &#8211; you can use the\u00a0<em>Get-MsolAccountSku<\/em> command to find out what licenses you have available.<\/p>\n<p>If I have time, I would like to improve the script by automatically retrieving\u00a0license information and prompting the user for the licenses to apply to all users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Licensing Office 365 users manually can be a tedious task; especially if you are tasked with licensing hundreds or even thousands (think educational institutes that need to license user&#8217;s every semester or academic year). I created a fairly basic script that will take a .CSV input and license your users according to your Office 365 [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1],"tags":[197,37,42],"class_list":["post-1523","post","type-post","status-publish","format-standard","hentry","category-tech","tag-github","tag-office-365","tag-powershell"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1trTO-oz","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/comments?post=1523"}],"version-history":[{"count":1,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1523\/revisions"}],"predecessor-version":[{"id":1524,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1523\/revisions\/1524"}],"wp:attachment":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/media?parent=1523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/categories?post=1523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/tags?post=1523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}