WithTenantId(ConfigurationManager.AppSettings)ĪuthenticationResult authResult = await cca.AcquireTokenForClient(ewsScopes).ExecuteAsync() WithClientSecret(ConfigurationManager.AppSettings) Create(ConfigurationManager.AppSettings)
Here is the code: `IConfidentialClientApplication cca = ConfidentialClientApplicationBuilder The remote server returned an error: (403) Forbidden.' I am trying to read the shared mailbox of my organization which is managed through Microsoft365.īut I get error: .ServiceRequestException: 'The request failed.