Error 403 when calling the authentication in Office365 APIs of Azure AD -


i'm making web application call office365 api, , using authentication function of azure ad. not having progress since last week, , got error:

statuscode: 403, body: '{"error":{"code":"erroraccessdenied","message":"access denied. check credentials , try again."}} 

here request sent

var request = {     url: url,     method: method,     json: (method === constants.get || method === constants.delete) ? null : resource,     headers: {         'authorization': credentials.tokentype + ' ' + credentials.accesstoken,         'user-agent': clientid,         'accept' : 'application/json' } 

could explain how fix this?


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -