[Step by Step: Connecting to Dynamics 365 using a C# Console App]
[Microsoft.CrmSdk.XrmTooling.CoreAssembly]
[Office 365 (WS-Trust) is deprecated]
[Integrated Windows Auth is not supported for managed users]
[Windows Authentication Library for .Net]
[Integrated Windows Authentication on Active Directory]
[Quickstart: Acquire a token and call Microsoft Graph API from a Windows desktop app]