Site icon TechZilica ~ On the Edge

Connect to Exchange Online Powershell with MFA

Microsoft365 Modern Authentication Login

&Tab;&Tab;<div data-elementor-type&equals;"wp-post" data-elementor-id&equals;"485" class&equals;"elementor elementor-485" data-elementor-post-type&equals;"post">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<section class&equals;"elementor-section elementor-top-section elementor-element elementor-element-3d0b995 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id&equals;"3d0b995" data-element&lowbar;type&equals;"section">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-container elementor-column-gap-default">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c046fbd" data-id&equals;"c046fbd" data-element&lowbar;type&equals;"column">&NewLine;&Tab;&Tab;&Tab;<div class&equals;"elementor-widget-wrap elementor-element-populated">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-element elementor-element-5958a3c elementor-widget elementor-widget-text-editor" data-id&equals;"5958a3c" data-element&lowbar;type&equals;"widget" data-widget&lowbar;type&equals;"text-editor&period;default">&NewLine;&Tab;&Tab;&Tab;&Tab;<div class&equals;"elementor-widget-container">&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<h2>Intro<&sol;h2><p>As discussed in our <a href&equals;"http&colon;&sol;&sol;techzilica&period;com&sol;microsoft-365&sol;how-to-connect-to-exchange-online-powershell&sol;">previous article&comma;<&sol;a> connecting to Exchange Online via PowerShell is one of the most important uses for PowerShell as a Microsoft365 administrator&period; <&sol;p><p>The setup process on PowerShell for connecting with an MFA account is incredibly simple &&num;8211&semi;<&sol;p><h2>Method<&sol;h2><p>If this is the first time you are using MFA PowerShell on your computer&comma; enter the following in an administrator PowerShell window &&num;8211&semi;<&sol;p><blockquote><p>Install-Module ExchangeOnlineManagement<&sol;p><&sol;blockquote><p>Once you have entered the command and hit &&num;8216&semi;enter&&num;8217&semi;&comma; you will be requested for your decision on installing the package&comma; type &&num;8216&semi;Y&&num;8217&semi; and hit enter&period;<&sol;p><p>Now that you have installed the Exchange Online PowerShell management package&comma; all that is left to do&comma; is authenticate to Exchange Online &&num;8211&semi;<&sol;p><blockquote><p>Connect-ExchangeOnline<&sol;p><&sol;blockquote><p>When you have typed in the above command and hit enter&comma; you will see a familiar login page like this one &&num;8211&semi;<&sol;p><p><img class&equals;"alignnone size-full wp-image-487" src&equals;"http&colon;&sol;&sol;techzilica&period;com&sol;wp-content&sol;uploads&sol;2020&sol;10&sol;Modern-Authentication-login-window&period;png" alt&equals;"Microsoft365 Modern Authentication Login" width&equals;"604" height&equals;"376" &sol;><&sol;p><p>Now just login as normal and complete the MFA process and then you are finished&excl;<&sol;p>&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;<&sol;section>&NewLine;&Tab;&Tab;&Tab;&Tab;<&sol;div>&NewLine;&Tab;&Tab;

Exit mobile version