Troubleshooting a Microsoft Dynamics 365 for Sales connection
If the test connection takes a long time, ensure that the vocabularies.odata.org and login.microsoftonline.com domains have access in the network firewall of the agent server and then retest the connection.