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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Could not obtain a WAC...
Power Automate
Unanswered

Could not obtain a WAC access token

(0) ShareShare
ReportReport
Posted on by 33

Hi!

 

I am trying to create an xlsx document in a SharePoint library but and I execute the Excel action "Create table" I got an error:

{

  "status": 403,
  "message": "The request is forbidden by Graph API. Error code is 'AccessDenied'. Error message is 'Could not obtain a WAC access token.'.\r\nclientRequestId: xxx\r\nserviceRequestId: xxx",
  "error": {
    "message": "The request is forbidden by Graph API. Error code is 'AccessDenied'. Error message is 'Could not obtain a WAC access token.'."
  },
  "source": "excelonline-bs..."
}

 

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

 

It also happens if I try to create in OneDrive instead.

 

What I should do to get rid of this error?

 

I was asked to inform AAD ServicePrincipal AppID ou ClientID or APp name to get access to the API but I do not know where to find this information(nether the administrator!!). Where can I find it??

 

Thanks in advance!

Categories:
  • manuelstgomes Profile Picture
    6,643 on at

    Hi @marciokataoka 

     

    Can you please share the Power Automate and obfuscate anything private that you can't share so that I can have a better understanding of what you're trying to do and the issues.

     

    Cheers
    Manuel

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • marciokataoka Profile Picture
    33 on at

    Hi Manuel,

     

    Sorry take that long to get back to you, we had a 2-days holiday here.

     

    Here you have the flow that returns that error:

    marciokataoka_2-1646221737855.png

     

    Error screen:

    marciokataoka_3-1646221789966.png

     

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard