Wikis - Page

Knowledge Document: O365 Module not accepting App Registration

0 Likes

Environment

Retain 4.x


Situation

The O365 module consistently experiences timeouts when entering the Directory ID, Application ID, and secret. Despite following the documentation and setting the RedirectURI to /RetainServer/Server/openIdConnect.jsp, the provided URI seems not working at all.

On Retain logs the following error can be found.

08:53:35, 127[ajp-nio-127.0.0.1-48009-exec-2] [ERROR] AutoDiscover: Error executing: https://outlook.office365.com/autodiscover/autodiscover.json/v1.0/null?Protocol=Ews

org.apache.http.conn.HttpHostConnectException: Connect to outlook.office365.com:443 [outlook.office365.com/52.98.143.210, outlook.office365.com/52.98.2.178, outlook.office365.com/12.34.56.789, outlook.office365.com/12.34.567.890, outlook.office365.com/12.34.567.89, outlook.office365.com/12.34.567.89, outlook.office365.com/12.34.56.789, outlook.office365.com/12.34.567.890, outlook.office365.com/2603:1016:401:1840:0:0:0:2, outlook.office365.com/2603:1016:401:2c06:0:0:0:2, outlook.office365.com/2603:1016:401:2c0c:0:0:0:2, outlook.office365.com/2603:1016:401:1002:0:0:0:2] failed: Network is unreachable (connect failed)

Access article on support portal

 

Resolution

Add the Retain server to the firewall's whitelist to ensure that all ports on the server remain unblocked by the firewall.

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended