The client application has requested access to resource 'https://outlook.office365.com'. This request has failed
问题 I am trying to test the sample code from office365 API, I could login to my account but after that i would always get this exception AuthenticationFailedException was caught AADSTS65005: The client application has requested access to resource 'https://outlook.office365.com'. This request has failed because the client has not specified this resource in its requiredResourceAccess list. Trace ID: 7a39b0bd-1738-418f-984a-feffae5b5d9b Correlation ID: 16da7c7f-9f0c-468f-a560-a51b1ac9b3bf Timestamp: