Office 365 Connection Error (and Fix) in the Courion Access Assurance Suite

When encountering issues with the Courion Access Assurance Suite Office 365 Account Management Module (AMM) or the Password Management Module (PMM), typically one of the following two errors will be captured in the Ticketing table and the microsoft-office365pmm.log

  • The user name or password is incorrect. Verify your user name, and then type your password again.
  •         Unable to authenticate your credentials. Make sure that your user name is in the format: <username>@<domain>. If this issue persists, contact Support.”

These are Office 365 specific errors and the likely causes are below:

1.      The user name or password is incorrect. Verify your user name, and then type your password again.

The error is self-explanatory.  Typically the password has been changed or expired.  To test the account, execute the “connect-MSOLService” cmdlet in a PowerShell window to check the credentials to the Microsoft Cloud.

2.      Unable to authenticate your credentials. Make sure that your user name is in the format: <username>@<domain>. If this issue persists, contact Support.

This error is somewhat misleading, because multiple issues, and not necessarily the user name format can cause it.

·         Network connectivity.  Make sure that the server can reach the Azure Cloud server, and that the required ports are open.

·         Insure that the service account is not configured for multi-factor authentication.

·         Insure that the correct tenant information is used in the “service name” attribute when configuring the connector.

Lastly, when configuring the connector, always configure it as-per the instructions, by using the Connector Configuration Manager and not through the connector executable.  This will insure that it is properly configured.