Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

238
Views
Microsoft Graph 401 Unauthorized

I have an 401 Unauthorized when I try to make a post request. The problem is that it's working using the Graph Explorer but I have this error using the access token given by this method:

let getTokenPopup = request => {
   return myMSALObj.acquireTokenSilent(request).catch(error => {
     return myMSALObj
    .acquireTokenPopup(request)
    .then(tokenResponse => {
      return tokenResponse;
    })
    .catch(error => {
      console.log(error);
    });
})};

This is the scope using to the access token:

export const tokenRequest = {
scopes: ["User.Read","email","profile","openid","Calendars.ReadWrite"]};
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!