Get delegate permission in MSAL for EWS without PublicClientApplicationBuilder and AcquireTokenInteractive
问题 In EWS OAuth flow we can get delegate permissions by following: var pcaOptions = new PublicClientApplicationOptions { ClientId = ConfigurationManager.AppSettings["appId"], TenantId = ConfigurationManager.AppSettings["tenantId"] }; var pca = PublicClientApplicationBuilder .CreateWithApplicationOptions(pcaOptions).Build(); // The permission scope required for EWS access var ewsScopes = new string[] { "https://outlook.office.com/EWS.AccessAsUser.All" }; // Make the interactive token request var