The Azure Active Directory Connector is configured and successfully validated in the configuration console. However, when going to grant proxy credentials to the online mail server, there is no online mail server present, or the office 365 mail server does not show up in the mail servers tab.
The following error will be present in the ADC logs:
ERROR AzureActiveDirectoryProvider - {{3466b66a-bf5b-40a4-81e8-b0bb793649e4}} Failed to get O365 Mailbox from O365 service.
System.Management.Automation.CmdletInvocationException: Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files. ---> System.Management.Automation.PSInvalidOperationException: Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.
-Run the following powershell command on the same machine running the Active Directory Connector service:
Set-ExecutionPolicy RemoteSigned
-Restart the Active Directory Connector service
-Once the Active Directory Connector service completes, you should be able to see the mail server present in Archive Manager