https://gcits.com/knowledge-base/install-azure-active-directory-powershell-module/ https://support.office.com/de-de/article/herstellen-einer-verbindung-zwischen-powershell-und-office-365-diensten-06a743bb-ceb6-49a9-a61d-db4ffdf54fa6 https://community.spiceworks.com/how_to/28793-managing-office-365-using-powershell https://community.spiceworks.com/how_to/90889-listing-all-office365-mailboxes-with-active-forwards-via-powershell Install-Module -Name MSOnline https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned Get-ExecutionPolicy Import-Module ExchangeOnlineManagement Connect-ExchangeOnline -UserPrincipalName user@domain.onmicrosoft.com