If the error still exists, Please do the following on the Applications Manager installed machine and send us the output to troubleshoot further:
- Open Powershell -> Run as Administrator
- Navigate to "Appmanager_home\working\conf\application\scripts\powershell" directory.
Execute the below:

.\Office365CheckConnectivity.ps1 'tenant-name' 'office365-useremail' 'office365password' 'Office365,ExchangeOnline,SharepointOnline,MicrosoftTeams'