Situation: The client has migrated their Exchange to Microsoft 365. They would like to know if they can use Microsoft Exchange PowerShell remotely.
Yes, they can if they install Microsoft Exchange online PowerShell Module. Here is how.
- Login Microsoft 365 admin center and click on Exchange.
2. Click on Classica Exchange admin
3. Select configure under The Exchange Online PowerShell Module supports multi-factor authentication. Download the module to manage Exchange Online more securely.
4. Clock Open on the popup.
5. Click Install.
6. Microsoft Exchange Online PowerShell is open.
To connect, use this command:
Connect-EXOPSSession -UserPrincipalName <your UPN>
for example
Connect-EXOPSSession -UserPrincipalName blin@chicagotech.net
To get your Exchange FDNS, run this ocmmand:
get-organizationconfig