© 2026 Hedgehog Software, LLC
"User.Read", "Files.ReadWrite.All", "Sites.ReadWrite.All", "Calendars.Read", "Sites.Manage.All"
myPublicClientApplication = PublicClientApplicationBuilder.Create("clientId").WithAuthority("https://login.microsoftonline.com/{tenantid}/oauth2/token").WithDefaultRedirectUri() .WithBroker(new BrokerOptions(BrokerOptions.OperatingSystems.Windows)) .Build();