My Requirement is to retrieve a document from SharePoint online using a .NET console application. I followed the steps in this link . But I get a failure

Token request failed. {"The remote server returned an error: (400) Bad Request."}

at Microsoft.IdentityModel.S2S.Protocols.OAuth2.OAuth2S2SClient.Issue(String securityTokenServiceUrl, OAuth2AccessTokenRequest oauth2Request)

Any suggestions would be of great help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.