[Integration] Troubleshooting Dynamics 365 Online – SharePoint On-Premises – Failed Authentication – 401 Unauthorized Error

[Integration] Troubleshooting Dynamics 365 Online – SharePoint On-Premises –  Failed Authentication – 401 Unauthorized Error

If you ever configured server-based authentication with Dynamics 365 Online and SharePoint On-Premises, chances are you have seen the infamous Failed Authentication – 401 Unauthorized Error when you run the “Enable Server-Based SharePoint Integration’ wizard in Dynamics 365. I have seen this