{"id":595,"date":"2016-04-28T19:40:26","date_gmt":"2016-04-28T19:40:26","guid":{"rendered":"https:\/\/regroove.ca\/stellark\/?p=595"},"modified":"2023-02-24T18:49:51","modified_gmt":"2023-02-24T18:49:51","slug":"office-365-modules-quick-dirty-connect-to-all","status":"publish","type":"post","link":"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/","title":{"rendered":"Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all"},"content":{"rendered":"<p>For those of us that just want to get it done the first time vs. having to connect to each service separately.  Here&#8217;s how you would connect to ALL O365 Services in one GO.<\/p>\n<h2><span style=\"text-decoration:underline\">Reference \u2013 For long and short explanations on the &#8220;how to&#8221;<br \/>\n<\/span><\/h2>\n<p><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn568015.aspx\">https:\/\/technet.microsoft.com\/en-us\/library\/dn568015.aspx<\/a><\/p>\n<h2><span style=\"text-decoration:underline\">Modules Required<br \/>\n<\/span><\/h2>\n<p><a href=\"https:\/\/support.office.com\/en-us\/article\/Managing-Office-365-and-Exchange-Online-with-Windows-PowerShell-06a743bb-ceb6-49a9-a61d-db4ffdf54fa6?ui=en-US&amp;rs=en-US&amp;ad=US\">https:\/\/support.office.com\/en-us\/article\/Managing-Office-365-and-Exchange-Online-with-Windows-PowerShell-06a743bb-ceb6-49a9-a61d-db4ffdf54fa6?ui=en-US&amp;rs=en-US&amp;ad=US<\/a><\/p>\n<h2><span style=\"text-decoration:underline\">The Quick &amp; Dirty<br \/>\n<\/span><\/h2>\n<p>#Connect to MSOnline<\/p>\n<p>$credential = Get-Credential<\/p>\n<p>Import-Module MsOnline<\/p>\n<p>Connect-MsolService -Credential $credential<\/p>\n<p>#Connect to SharePoint Online<\/p>\n<p>Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking<\/p>\n<p>Connect-SPOService -Url https:\/\/YOURDOMAINNAME-admin.sharepoint.com -credential $credential<\/p>\n<p>#Connect to Exchange Online<\/p>\n<p>$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri &#8220;https:\/\/outlook.office365.com\/powershell-liveid\/&#8221; -Credential $credential -Authentication &#8220;Basic&#8221; -AllowRedirection<\/p>\n<p>Import-PSSession $exchangeSession -DisableNameChecking<\/p>\n<p>#Connect to Security and Compliance Online<\/p>\n<p>$ccSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.compliance.protection.outlook.com\/powershell-liveid\/ -Credential $credential -Authentication Basic -AllowRedirection<\/p>\n<p>Import-PSSession $ccSession -Prefix cc<\/p>\n<p>#Uncomment this to connect to Skype Online<\/p>\n<p>#Import-Module SkypeOnlineConnector<\/p>\n<p>#$sfboSession = New-CsOnlineSession -Credential $credential<\/p>\n<p>#Import-PSSession $sfboSession<\/p>\n<h2><span style=\"text-decoration:underline\">To close session<br \/>\n<\/span><\/h2>\n<p>Remove-PSSession $sfboSession ; Remove-PSSession $exchangeSession ; Remove-PSSession $ccSession ; Disconnect-SPOService<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For those of us that just want to get it done the first time vs. having to connect to each service separately. Here&#8217;s how you would connect to ALL O365 Services in one GO. Reference \u2013 For long and short explanations on the &#8220;how to&#8221; https:\/\/technet.microsoft.com\/en-us\/library\/dn568015.aspx Modules Required https:\/\/support.office.com\/en-us\/article\/Managing-Office-365-and-Exchange-Online-with-Windows-PowerShell-06a743bb-ceb6-49a9-a61d-db4ffdf54fa6?ui=en-US&amp;rs=en-US&amp;ad=US The Quick &amp; Dirty #Connect to &hellip; <a href=\"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/\"><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[9,54,60,68],"tags":[166,173,190],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all - Stephanie Kahlam<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all - Stephanie Kahlam\" \/>\n<meta property=\"og:description\" content=\"For those of us that just want to get it done the first time vs. having to connect to each service separately. Here&#8217;s how you would connect to ALL O365 Services in one GO. Reference \u2013 For long and short explanations on the &#8220;how to&#8221; https:\/\/technet.microsoft.com\/en-us\/library\/dn568015.aspx Modules Required https:\/\/support.office.com\/en-us\/article\/Managing-Office-365-and-Exchange-Online-with-Windows-PowerShell-06a743bb-ceb6-49a9-a61d-db4ffdf54fa6?ui=en-US&amp;rs=en-US&amp;ad=US The Quick &amp; Dirty #Connect to &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/\" \/>\n<meta property=\"og:site_name\" content=\"Stephanie Kahlam\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-28T19:40:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T18:49:51+00:00\" \/>\n<meta name=\"author\" content=\"Stephanie Kahlam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Stephanie Kahlam\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/\",\"url\":\"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/\",\"name\":\"Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all - Stephanie Kahlam\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/stellark\/#website\"},\"datePublished\":\"2016-04-28T19:40:26+00:00\",\"dateModified\":\"2023-02-24T18:49:51+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/175e89cb69612178b2ac838c0bab6149\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Stellark Home\",\"item\":\"https:\/\/regroove.ca\/stellark\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/stellark\/#website\",\"url\":\"https:\/\/regroove.ca\/stellark\/\",\"name\":\"Stephanie Kahlam\",\"description\":\"Microsoft 365 and SMB.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/stellark\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/175e89cb69612178b2ac838c0bab6149\",\"name\":\"Stephanie Kahlam\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/398b95e23dc9eaf37a780b86a239b485?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/398b95e23dc9eaf37a780b86a239b485?s=96&d=mm&r=g\",\"caption\":\"Stephanie Kahlam\"},\"url\":\"https:\/\/regroove.ca\/stellark\/author\/skahlam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all - Stephanie Kahlam","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/","og_locale":"en_US","og_type":"article","og_title":"Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all - Stephanie Kahlam","og_description":"For those of us that just want to get it done the first time vs. having to connect to each service separately. Here&#8217;s how you would connect to ALL O365 Services in one GO. Reference \u2013 For long and short explanations on the &#8220;how to&#8221; https:\/\/technet.microsoft.com\/en-us\/library\/dn568015.aspx Modules Required https:\/\/support.office.com\/en-us\/article\/Managing-Office-365-and-Exchange-Online-with-Windows-PowerShell-06a743bb-ceb6-49a9-a61d-db4ffdf54fa6?ui=en-US&amp;rs=en-US&amp;ad=US The Quick &amp; Dirty #Connect to &hellip;","og_url":"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/","og_site_name":"Stephanie Kahlam","article_published_time":"2016-04-28T19:40:26+00:00","article_modified_time":"2023-02-24T18:49:51+00:00","author":"Stephanie Kahlam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Stephanie Kahlam","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/","url":"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/","name":"Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all - Stephanie Kahlam","isPartOf":{"@id":"https:\/\/regroove.ca\/stellark\/#website"},"datePublished":"2016-04-28T19:40:26+00:00","dateModified":"2023-02-24T18:49:51+00:00","author":{"@id":"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/175e89cb69612178b2ac838c0bab6149"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/stellark\/2016\/04\/28\/office-365-modules-quick-dirty-connect-to-all\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Stellark Home","item":"https:\/\/regroove.ca\/stellark\/"},{"@type":"ListItem","position":2,"name":"Office 365 PS Modules \u2013 Quick &amp; Dirty, Connect to all"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/stellark\/#website","url":"https:\/\/regroove.ca\/stellark\/","name":"Stephanie Kahlam","description":"Microsoft 365 and SMB.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/stellark\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/175e89cb69612178b2ac838c0bab6149","name":"Stephanie Kahlam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/398b95e23dc9eaf37a780b86a239b485?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/398b95e23dc9eaf37a780b86a239b485?s=96&d=mm&r=g","caption":"Stephanie Kahlam"},"url":"https:\/\/regroove.ca\/stellark\/author\/skahlam\/"}]}},"_links":{"self":[{"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/posts\/595"}],"collection":[{"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/comments?post=595"}],"version-history":[{"count":1,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/posts\/595\/revisions"}],"predecessor-version":[{"id":1425,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/posts\/595\/revisions\/1425"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/media?parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/categories?post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/tags?post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}