Power Automate Error since yesterday: Could not obtain a WAC access token..

Daniel 5 Reputation points
2023-03-21T07:22:47.63+00:00

Hello all,

since yesterday I have a problem with my Microsoft Flows. Until yesterday they all worked without problems. However, since yesterday, errors are reported in all flows that access Excel Online. The error message is:

The request is prohibited by the Graph API. Error code: AccessDenied. Error message: Could not obtain a WAC access token. clientRequestId: a9083ce3-04be-4f07-9b60-bfba19d91718 serviceRequestId: 0fabc5f0-6dec-490a-b0d2-ca47b02a7dcb

Unfortunately, I have no idea what this can be due to all at once. The flows have not been changed for a while.

How can I get my flows to work again?

Thanks

Regards

Daniel

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,832 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Gopinath Chennamadhavuni 2,436 Reputation points
    2023-03-21T10:16:03.15+00:00

    Hi @Daniel,

    Thanks for reaching out.

    I am able to replicate the same issue with the Graph API endpoint: https://graph.microsoft.com/v1.0/me/drive/root:/XXXX.xlsx:/workbook/worksheets
    As a workaround, to list the worksheets use the below Graph API in sequence:

    GET /me/drive/root/children
    
    GET /me/drive/items/{id}/workbook/worksheets
    

    For executing the above endpoint using relative path, I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from
    http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments

  2. Zehui Yao_MSFT 5,856 Reputation points
    2023-04-10T08:13:00.7533333+00:00

    Hi Daniel please refer to this recent same issue, it seems that this problem may be a temporary server-side problem, please check if it still exists in your environment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.