If you want to Manage MS 365 Exchange (must be run as local admin).
Do this once: In powershell as an admin -
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
Then whenever you want to connect:
Connect-ExchangeOnline
enter tenant admin credentials.
Connect-ExchangeOnline -UserPrincipalName
admin@youremail.com
-DelegatedOrganization
clientdomain.com
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add support@hollandcomputers.net to your trusted senders list in your email software.