{"id":1339,"date":"2014-06-04T06:29:09","date_gmt":"2014-06-04T13:29:09","guid":{"rendered":"https:\/\/www.netometer.com\/blog\/?p=1339"},"modified":"2025-10-21T17:46:05","modified_gmt":"2025-10-22T00:46:05","slug":"screencast-how-to-connect-to-office-365-using-remote-powershell-bulk-creating-and-managing-users","status":"publish","type":"post","link":"https:\/\/www.netometer.com\/blog\/?p=1339","title":{"rendered":"Screencast: How to Connect to Office 365 Using Remote PowerShell. Bulk Creating and Managing Users."},"content":{"rendered":"<p>Being constantly improved and updated with new features, the Office 365 Admin Center is quite often the preferred management interface. Sooner or later, you stumble upon tasks that require performing bulk operations \u2013 like creating users, licensing them based on CSV file, or simply populating\/editing the users\u2019 data.<\/p>\n<p>While some of these bulk operations can be performed in the graphical interface (depending on the Office 365 Plan), connecting to Office 365 and using remote PowerShell will get the job done faster and, surprisingly, easier.<\/p>\n<p>If you are doing this for the first time, finding and installing the right packages for your system (especially if you are running Windows 7) is the first task. Some of the packages are updated and replaced with a new version which comes, of course, with a new name \u2013 ex.  \u201cMicrosoft Azure Active Directory Module for Windows PowerShell\u201d, while most of the instructions that you will find are referring to \u201cMicrosoft Online Services Module for Windows PowerShell\u201d.<\/p>\n<p>For your convenience, we&#8217;ve demonstrated how to automate the whole process by editing your PowerShell profile and placing the required commands in it. In our demo, we are trying to keep things as simple as possible. You will not find one-liners, and you can easily edit the scripts (which can be downloaded from our site) and modify them according to your needs.<\/p>\n<p>[raw]In this <strong><a title=\"How to Connect to Office 365 Using Remote PowerShell. Bulk Creating, Licensing, and Modifying Users.\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Connect-Powershell-Offiice-365\" target=\"_blank\" rel=\"noopener\">Screencast <\/a><a href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Connect-Powershell-Offiice-365\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/video-icon.png\" alt=\"How to Connect to Office 365 Using Remote PowerShell, and how to bulk create, license, and Modify Users.\" width=\"25\" height=\"21\" \/><\/a><\/strong>, we demonstrate how to connect to Office 365 using remote PowerShell, and how to bulk create, license, and modify users.[\/raw]<\/p>\n<div id=\"kgvid_kgvid_0_wrapper\" class=\"kgvid_wrapper\">\n\t\t\t<div id=\"video_kgvid_0_div\" class=\"fitvidsignore kgvid_videodiv\" data-id=\"kgvid_0\" data-kgvid_video_vars=\"{&quot;id&quot;:&quot;kgvid_0&quot;,&quot;attachment_id&quot;:1340,&quot;player_type&quot;:&quot;Video.js v8&quot;,&quot;width&quot;:&quot;800&quot;,&quot;height&quot;:&quot;600&quot;,&quot;fullwidth&quot;:&quot;false&quot;,&quot;fixed_aspect&quot;:&quot;false&quot;,&quot;countable&quot;:true,&quot;count_views&quot;:&quot;quarters&quot;,&quot;start&quot;:&quot;&quot;,&quot;autoplay&quot;:&quot;false&quot;,&quot;pauseothervideos&quot;:&quot;false&quot;,&quot;set_volume&quot;:&quot;1&quot;,&quot;muted&quot;:&quot;false&quot;,&quot;meta&quot;:true,&quot;endofvideooverlay&quot;:&quot;&quot;,&quot;resize&quot;:&quot;true&quot;,&quot;auto_res&quot;:&quot;automatic&quot;,&quot;pixel_ratio&quot;:&quot;true&quot;,&quot;right_click&quot;:&quot;on&quot;,&quot;playback_rate&quot;:&quot;false&quot;,&quot;title&quot;:&quot;How to Connect to Office 365 Using PowerShell&quot;,&quot;skip_buttons&quot;:[],&quot;nativecontrolsfortouch&quot;:&quot;true&quot;,&quot;locale&quot;:&quot;en&quot;,&quot;enable_resolutions_plugin&quot;:false}\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\"><meta itemprop=\"thumbnailUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/How-to-Connect-Powershell-Office-365_thumb499.jpg\"><meta itemprop=\"embedUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/How-to-Connect-Powershell-Office-365.mp4\"><meta itemprop=\"contentUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/How-to-Connect-Powershell-Office-365.mp4\"><meta itemprop=\"name\" content=\"How to Connect to Office 365 Using PowerShell\"><meta itemprop=\"description\" content=\"How to Configure and Automate PowerShell Remote Connection to Office 365\"><meta itemprop=\"uploadDate\" content=\"2014-06-04T01:41:59-07:00\">\n\t\t\t\t<video id=\"video_kgvid_0\" playsinline controls preload=\"metadata\" poster=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/How-to-Connect-Powershell-Office-365_thumb499.jpg\" width=\"800\" height=\"600\" class=\"fitvidsignore video-js kg-video-js-skin\">\n\t\t\t\t\t<source src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/How-to-Connect-Powershell-Office-365.mp4?id=0\" type=\"video\/mp4\" data-res=\"600p\">\n<track id='kgvid_0_text_0' kind='subtitles' src='https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/How-to-Connect-Powershell-Office-365.srt' srclang='en' label='How-to-Connect-Powershell-Office-365'>\t\t\t\t<\/video>\n\t\t\t<\/div>\n\t\t\t<div style=\"display:none\" id=\"video_kgvid_0_meta\" class=\"kgvid_video_meta kgvid_video_meta_hover \">\n\t\t\t\t<span class='kgvid_meta_icons'><\/span>\n\t\t\t\t<span id='video_kgvid_0_title' class='kgvid_title'>How to Connect to Office 365 Using PowerShell<\/span>\n<\/div>\n\t\t<\/div>\n<ul data-style=\"style5\">\n<li><a title=\"How to Connect to Exchange Online Using Remote PowerShell. Adding a Domain and Bulk Modifying Email Addresses.\" href=\"https:\/\/www.netometer.com\/blog\/?p=1376\" target=\"_blank\" rel=\"noopener\">How to Connect to Exchange Online Using Remote PowerShell. Adding a Domain and Bulk Modifying Email Addresses.<\/a><\/li>\n<li><a title=\"How to Upgrade Exchange 2007 to Exchange 2013: Part2\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Upgrade-Exchange-2007-to-Exchange-2013-Part2\" target=\"_blank\" rel=\"noopener\">How to Upgrade Exchange 2007 to Exchange 2013: Part2<\/a><\/li>\n<li><a title=\"Exchange 2013 Initial Configuration\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/Exchange-2013-Initial-Configuration\" target=\"_blank\" rel=\"noopener\">Exchange 2013 Initial Configuration<\/a><\/li>\n<li><a title=\"How to Install and Configure Exchange 2013 Edge Server. Adding SpamHaus and Barracuda as IP Block List Providers.\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Install-and-Configure-Exchange-2013-Edge-Server\" target=\"_blank\" rel=\"noopener\">How to Install and Configure Exchange 2013 Edge Server. Adding SpamHaus and Barracuda as IP Block List Providers.<br \/>\n<\/a><\/li>\n<\/ul>\n<p><a class=\"twitter-hashtag-button\" title=\"Office 365\" href=\"https:\/\/twitter.com\/intent\/tweet?button_hashtag=Office365\">Tweet #Office365<\/a> <a class=\"twitter-follow-button\" href=\"https:\/\/twitter.com\/netometer\" data-show-count=\"false\">Follow @netometer<\/a><\/p>\n<p>Stay tuned on <strong><a title=\"NetoMeter - Screencasts and Step-by-Step Video Tutorials\" href=\"..\/..\/blog\/?feed=rss2\" target=\"_blank\" rel=\"noopener\">NetoMeter<\/a><\/strong> &#8211; subscribe to<a title=\"NetoMeter - Screencasts and Step-by-Step Video Tutorials\" href=\"..\/..\/blog\/?feed=rss2\" target=\"_blank\" rel=\"noopener\"> <strong>NetoMeter RSS<\/strong><\/a>.<\/p>\n<p>Dean<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Screencast, we demonstrate how to connect to Office 365 using remote PowerShell, and how to bulk create, license, and modify users.<\/p>\n","protected":false},"author":1,"featured_media":1341,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[324],"tags":[415,417,416,414,498,413],"_links":{"self":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1339"}],"collection":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1339"}],"version-history":[{"count":0,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1339\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/1341"}],"wp:attachment":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}