One or more on-premise AD objects don’t sync to Office 365 (AAD)

While setting up AD FS and enabling Single Sign-On into Office 365 and SharePoint online the following scenario caused some decent pain
— Lees op www.techtask.com/one-or-more-on-premise-ad-objects-dont-sync-to-office-365-aad/