Hey community. I’m experiencing a persistent issue when making HTTP requests through n8n.I’m trying to call Microsoft Graph APIs using the HTTP Request node in n8n, but I keep encountering the following error:
Despite granting admin consent and ensuring that all the required API permissions are correctly configured, I continue to receive the following error:
(HTTP Node)403 - AccessDenied: You cannot perform the requested operation, required scopes are missing in the token.
Steps I’ve already taken:
Granted admin consent for the application in Azure.
Verified that the required permissions are present.
Created new credentials and re-authenticated.
Confirmed that the token is being generated successfully.
Despite these efforts, the error persists, and I’m unable to proceed. Could you please advise on what might be causing this issue or if there’s any additional configuration required on the n8n side?
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
At the moment I’m not calling any specific service endpoint yet. I’m only validating the OAuth2 client credential flow against the Microsoft identity platform to ensure the app registration can successfully issue tokens before I tie it into the rest of my workflow.
Take a backup of your manifest, and then try changing the accessTokenVersion to 2, this fixed the issue for me.
Reason is, that even though you’re calling v2 token endpoint, Microsoft is returning a v1 Bearer.
You can verify this by decoding your bearers on jwt.ms: Welcome!