{"id":315,"date":"2018-10-23T09:46:28","date_gmt":"2018-10-23T09:46:28","guid":{"rendered":"http:\/\/www.mailsdaddy.com\/blogs\/?p=315"},"modified":"2023-08-06T10:00:36","modified_gmt":"2023-08-06T10:00:36","slug":"connect-office-365-windows-powershell","status":"publish","type":"post","link":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/","title":{"rendered":"How to connect with the Office 365 Exchange Online Windows PowerShell"},"content":{"rendered":"<p>With the Windows PowerShell command, you can control and manage the Exchange Online Mailbox by commands. For the remote session of Office 365 account, you can run the Windows PowerShell on your PC. It connects to the Exchange Online PowerShell within three easy steps. So follow the instructions for managing the o365 mailbox by the Windows PowerShell commands.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#Connect_the_Office_365_Account_with_Windows_PowerShell\" >Connect the Office 365 Account with\u00a0 Windows PowerShell<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Connect_the_Office_365_Account_with_Windows_PowerShell\"><\/span>Connect the Office 365 Account with\u00a0 Windows PowerShell<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Step 1:<\/strong> First Open the Windows PowerShell on the local Computer.<\/p>\n<p><strong>Step 2:<\/strong> Once it launched you need to type the below command and hit on the Enter Key on the Keyboard.<\/p>\n<p><code>$UserCredential = Get-Credential<\/code><\/p>\n<p><strong>Step 3:<\/strong> After that, put the Office 365 Mailbox ID and Password &gt;&gt; Ok.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-316\" src=\"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png\" alt=\"Login Img\" width=\"336\" height=\"267\" srcset=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png 336w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login-300x238.png 300w\" sizes=\"(max-width: 336px) 100vw, 336px\" \/><\/p>\n<p><strong>Step 4:<\/strong> Now configure with Microsoft Exchange by putting this given command.<\/p>\n<p><code>$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/outlook.office365.com\/powershell-liveid\/ -Credential $UserCredential -Authentication Basic -AllowRedirection<\/code><\/p>\n<p><strong>Note: 1 Connection URL for 21Vianet Operator<\/strong><\/p>\n<p><code>https:\/\/partner.outlook.cn\/PowerShell<\/code><\/p>\n<p><strong>2 For Garmany users<\/strong><\/p>\n<p><code>https:\/\/outlook.office.de\/powershell-liveid\/<\/code><\/p>\n<p><strong>3 If you are working under the Proxy Server then put <\/strong><\/p>\n<p><code>$ProxyOptions = New-PSSessionOption -ProxyAccessType &lt;Value&gt;<\/code><\/p>\n<p>The ProxyyAccessType Value is,\u00a0<code>IEConfig\u00a0<\/code><code>WinHttpConfig<\/code>\u00a0or\u00a0<code>AutoDetect<\/code><\/p>\n<p>After that add the parameter and value at the end of $Session = &#8230; command:<br \/>\n<code>-SessionOption $ProxyOptions<\/code><\/p>\n<p><strong>Step 5:<\/strong> Now create the PSSession to connect with Exchange Online PowerShell<\/p>\n<p><code>Import-PSSession $Session \u2013DisableNameChecking<\/code><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-317\" src=\"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/pssession.png\" alt=\"PSSession\" width=\"571\" height=\"167\" srcset=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/pssession.png 571w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/pssession-300x88.png 300w\" sizes=\"(max-width: 571px) 100vw, 571px\" \/><\/p>\n<p><strong>Step6:<\/strong> At the end, you can remove the created PSSession by typing the following command.<\/p>\n<p><code>Remove-PSSession $Session<\/code><\/p>\n<p><strong>Conclusion:<\/strong> In this blog, I explained to you that how to connect with the Office 365 Exchange Online Windows PowerShell. So follow the step by step process to connect the O365 Cloud with PowerShell. If you have still any doubt then leave write on the comment box. I will be happy to help you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the Windows PowerShell command, you can control and manage the Exchange Online Mailbox by commands. For the remote session of Office 365 account, you can run the Windows PowerShell on your PC. It connects to the Exchange Online PowerShell within three easy steps. So follow the instructions for managing the o365 mailbox by the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[21,59],"tags":[61,62,60],"class_list":["post-315","post","type-post","status-publish","format-standard","hentry","category-office-365","category-powershell","tag-exchange-online-powershell","tag-office-365","tag-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Connect with the Office 365 Exchange Online Windows PowerShell<\/title>\n<meta name=\"description\" content=\"Know the process of connecting Office 365 Exchange Online to the Windows PowerShell. Follow all these steps to connect o365 Cloud mailbox with PowerShell\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Connect with the Office 365 Exchange Online Windows PowerShell\" \/>\n<meta property=\"og:description\" content=\"Know the process of connecting Office 365 Exchange Online to the Windows PowerShell. Follow all these steps to connect o365 Cloud mailbox with PowerShell\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"MailsDaddy Official Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mailsdaddy\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-23T09:46:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-06T10:00:36+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png\" \/>\n<meta name=\"author\" content=\"Pankaj Dohre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mailsdaddy\" \/>\n<meta name=\"twitter:site\" content=\"@mailsdaddy\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pankaj Dohre\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/\"},\"author\":{\"name\":\"Pankaj Dohre\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/person\/b10664db2056eb373bd15a793f3793a6\"},\"headline\":\"How to connect with the Office 365 Exchange Online Windows PowerShell\",\"datePublished\":\"2018-10-23T09:46:28+00:00\",\"dateModified\":\"2023-08-06T10:00:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/\"},\"wordCount\":244,\"publisher\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png\",\"keywords\":[\"Exchange Online PowerShell\",\"Office 365\",\"PowerShell\"],\"articleSection\":[\"Office 365\",\"PowerShell\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/\",\"url\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/\",\"name\":\"Connect with the Office 365 Exchange Online Windows PowerShell\",\"isPartOf\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png\",\"datePublished\":\"2018-10-23T09:46:28+00:00\",\"dateModified\":\"2023-08-06T10:00:36+00:00\",\"description\":\"Know the process of connecting Office 365 Exchange Online to the Windows PowerShell. Follow all these steps to connect o365 Cloud mailbox with PowerShell\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#primaryimage\",\"url\":\"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png\",\"contentUrl\":\"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mailsdaddy.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to connect with the Office 365 Exchange Online Windows PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#website\",\"url\":\"https:\/\/www.mailsdaddy.com\/blogs\/\",\"name\":\"MailsDaddy Official Blog\",\"description\":\"Manual Data Recovery and Email Migration Blogs\",\"publisher\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mailsdaddy.com\/blogs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#organization\",\"name\":\"MailsDaddy Official Blog\",\"url\":\"https:\/\/www.mailsdaddy.com\/blogs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2025\/12\/cropped-christmas-logo.avif\",\"contentUrl\":\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2025\/12\/cropped-christmas-logo.avif\",\"width\":418,\"height\":112,\"caption\":\"MailsDaddy Official Blog\"},\"image\":{\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/mailsdaddy\/\",\"https:\/\/x.com\/mailsdaddy\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/person\/b10664db2056eb373bd15a793f3793a6\",\"name\":\"Pankaj Dohre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ed02c805b0c0db80351cbaca9d92eb3f0e577670cc7e04116915a1007fec7035?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ed02c805b0c0db80351cbaca9d92eb3f0e577670cc7e04116915a1007fec7035?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ed02c805b0c0db80351cbaca9d92eb3f0e577670cc7e04116915a1007fec7035?s=96&d=mm&r=g\",\"caption\":\"Pankaj Dohre\"},\"url\":\"https:\/\/www.mailsdaddy.com\/blogs\/author\/pankaj\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Connect with the Office 365 Exchange Online Windows PowerShell","description":"Know the process of connecting Office 365 Exchange Online to the Windows PowerShell. Follow all these steps to connect o365 Cloud mailbox with PowerShell","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:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Connect with the Office 365 Exchange Online Windows PowerShell","og_description":"Know the process of connecting Office 365 Exchange Online to the Windows PowerShell. Follow all these steps to connect o365 Cloud mailbox with PowerShell","og_url":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/","og_site_name":"MailsDaddy Official Blog","article_publisher":"https:\/\/www.facebook.com\/mailsdaddy\/","article_published_time":"2018-10-23T09:46:28+00:00","article_modified_time":"2023-08-06T10:00:36+00:00","og_image":[{"url":"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png","type":"","width":"","height":""}],"author":"Pankaj Dohre","twitter_card":"summary_large_image","twitter_creator":"@mailsdaddy","twitter_site":"@mailsdaddy","twitter_misc":{"Written by":"Pankaj Dohre","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#article","isPartOf":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/"},"author":{"name":"Pankaj Dohre","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/person\/b10664db2056eb373bd15a793f3793a6"},"headline":"How to connect with the Office 365 Exchange Online Windows PowerShell","datePublished":"2018-10-23T09:46:28+00:00","dateModified":"2023-08-06T10:00:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/"},"wordCount":244,"publisher":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/#organization"},"image":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#primaryimage"},"thumbnailUrl":"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png","keywords":["Exchange Online PowerShell","Office 365","PowerShell"],"articleSection":["Office 365","PowerShell"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/","url":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/","name":"Connect with the Office 365 Exchange Online Windows PowerShell","isPartOf":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#primaryimage"},"image":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#primaryimage"},"thumbnailUrl":"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png","datePublished":"2018-10-23T09:46:28+00:00","dateModified":"2023-08-06T10:00:36+00:00","description":"Know the process of connecting Office 365 Exchange Online to the Windows PowerShell. Follow all these steps to connect o365 Cloud mailbox with PowerShell","breadcrumb":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#primaryimage","url":"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png","contentUrl":"http:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2018\/10\/login.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mailsdaddy.com\/blogs\/connect-office-365-windows-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mailsdaddy.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"How to connect with the Office 365 Exchange Online Windows PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#website","url":"https:\/\/www.mailsdaddy.com\/blogs\/","name":"MailsDaddy Official Blog","description":"Manual Data Recovery and Email Migration Blogs","publisher":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mailsdaddy.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#organization","name":"MailsDaddy Official Blog","url":"https:\/\/www.mailsdaddy.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2025\/12\/cropped-christmas-logo.avif","contentUrl":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2025\/12\/cropped-christmas-logo.avif","width":418,"height":112,"caption":"MailsDaddy Official Blog"},"image":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/mailsdaddy\/","https:\/\/x.com\/mailsdaddy"]},{"@type":"Person","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/person\/b10664db2056eb373bd15a793f3793a6","name":"Pankaj Dohre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed02c805b0c0db80351cbaca9d92eb3f0e577670cc7e04116915a1007fec7035?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed02c805b0c0db80351cbaca9d92eb3f0e577670cc7e04116915a1007fec7035?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed02c805b0c0db80351cbaca9d92eb3f0e577670cc7e04116915a1007fec7035?s=96&d=mm&r=g","caption":"Pankaj Dohre"},"url":"https:\/\/www.mailsdaddy.com\/blogs\/author\/pankaj\/"}]}},"_links":{"self":[{"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/posts\/315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/comments?post=315"}],"version-history":[{"count":2,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/posts\/315\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/posts\/315\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/media?parent=315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/categories?post=315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/tags?post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}