The Email Router service cannot connect to the Microsoft Dynamics 365 server or the Microsoft Dynamics 365 Online server ...

The Email Router service cannot connect to the Microsoft Dynamics 365 server or the Microsoft Dynamics 365 Online server to access user and queue information. Verify that the account that is used to run the Email Router service has sufficient permission to access the Microsoft Dynamics 365 server and that there are no connectivity problems. {0}