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

245
Views
401 error while fetching data from Microsoft Graph API getEmailByUserActivity in react Application using Azure Active Directory

In my React Application I am trying to fetch a protected Graph API but I am getting 401 authorization error. My graph API is https://graph.microsoft.com/v1.0/reports/getEmailActivityUserDetail(period='D7') or https://graph.microsoft.com/beta/reports/getEmailActivityUserDetail(period='D7')?$format=application/json

error is enter image description here

permissions which have added in Azure Active Directory is [enter image description here][2]

In my React Application setup is as such [enter image description here][3]

Access token [enter image description here][4]

enter image description here

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!