Skip to content

HelpFixMyPC.com

– All Things Tech

Menu
Menu

Office 365 – Install PowerShell plugin for Exchange Online and connect to tenant

Posted on March 12, 2023

Office 365 – Install Powershell plugin for Exchange Online and connect to tenant

1. Open elevated PowerShell window and type in the following commands:
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5

2. Choose yes for prompts to install NuGet and to approve an untrusted repository

3. Enter Line     Set-ExecutionPolicy RemoteSigned

4. Choose yes for prompt to change execution policy

5. Enter Line     Import-Module ExchangeOnlineManagement

6. Enter Line     Connect-ExchangeOnline -UserPrincipalName [replace this with email address of global admin]

7. An OAUTH box will pop up, sign in with the global admin account

Latest Posts
  • Office 365 – Install PowerShell plugin for Exchange Online and connect to tenant
  • How to fix Bullets and Tab issues in Outlook
  • How to get a Maintenance Key for SonicWALL TZ series firewalls to reset to factory
  • CHDSK Command and Usage
  • Bitdefender – GravityZone – Firewall Blocking Network Printer
  • Foxit – PhantomPDF – Deactivate and Recover Key
  • Remove administrative shares and prevent them from being automatically created in Windows
  • How To Synchronize Time On Domain Controller To Outside Source – Command Line
  • SonicWall Content Filter – How to block websites
  • How to use the Recover TP-Link OC200 Hardware controller after failed Firmware Update
©2025 HelpFixMyPC.com | Design: Newspaperly WordPress Theme