"Could not obtain a WAC access token" error

Ivan 0 Reputation points
2024-02-08T14:46:28.4233333+00:00

I'm making a request: https://graph.microsoft.com/v1.0/me/drive/items/{item id}/workbook/worksheets and I get an error:

{
    "error": {
        "code": "AccessDenied",
        "message": "Could not obtain a WAC access token.",
        "innerError": {
            "date": "2024-02-08T14:36:46",
            "request-id": "af8b417a-d7c5-49d3-babd-77784798d3cd",
            "client-request-id": "7efb1c13-8b30-afd4-da0a-cd75a46e5c37"
        }
    }
}

it worked a week ago file format: xlsx the request crashes even for newly created files

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

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 1,975 Reputation points Microsoft External Staff
    2024-02-13T01:44:54.18+00:00

    Hi @Ivan,

    I am able to replicate the same issue with the below Graph API endpoint.

    https://graph.microsoft.com/v1.0/me/drive/items/{item id}/workbook/worksheets

    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 New support request - Microsoft Entra admin center 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

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.