Tip #1066: Discover Azure AD tenant ID with Occam’s razor

Occam's razor

As developers, from time to time we are puzzled by simple questions: How to discover Azure AD tenant ID based on Dynamics 365 organization URL? Under the normal circumstances I would have put my condescending hat on (did I forget to take it off, again?) and say something like “Use AuthenticationParameters.CreateFromResourceUrlAsync method from ADAL, of […]