web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

The request is forbidden by Graph API. Error code is 'AccessDenied'. Error message is 'Could not obtain a WAC access token.'

(0) ShareShare
ReportReport
Posted on by 94

Guys,

 

I have been following this tutorial by Reza Dorrani to create a table in Excel through Power Automate from a SharePoint list set of data.

 

I am not really sure why I am getting this error:

 

The request is forbidden by Graph API. Error code is 'AccessDenied'. Error message is 'Could not obtain a WAC access token.'.
clientRequestId: b1260540-71fe-4787-9ac0-22ca71346d33
serviceRequestId: 2b0c22b2-1886-424d-9a43-ac5a81b371ef

 

 

I tried deleting and adding a new excel connection on Power Automate, but I had no success. I ran out of articles with solved solutions so I am creating this one. I am hoping it is something wrong within the flow, eventhough I could not find it.

 

This is my flow:

 

hugofasima_0-1681437655136.png

hugofasima_2-1681437725544.png

 

I am openned to other suggestions as well on how to accomplish this.

Please help?
Thank you so much.

I have the same question (0)
  • Verified answer
    hugofasima Profile Picture
    94 on at
    Re: The request is forbidden by Graph API. Error code is 'AccessDenied'. Error message is 'Could not obtain a WAC access token.'

    Guys,

     

    I figured out what it was!

    I forgot to specify the file type on Create File as .xlsx:

     

    hugofasima_1-1681707789297.png

     

    That was a tough one for me, but all good now.
    Thanks for everyone that read the post.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard