Audit Log Query status is running for more than 3 days

G, Y 5 Reputation points
2025-02-10T04:28:12.16+00:00

Our service use Graph Beta API to create purview audit log query. For such query normally it only takes 15 minutes to "succeed" status.

4 days ago, in order to test the edge case, we created around 10 audit log queries, then we got 429 throttling error so we stop creating new query.

However, now all those queries are still in "running" status. Why is this happening? What is the solution? Is there any way to cancel these queries?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,102 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,401 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 1,575 Reputation points Microsoft Vendor
    2025-02-18T08:41:42.02+00:00

    Hi G, Y,

    Thanks for reaching out to Microsoft!

    When throttling occurs, you'll receive an HTTP status code 429 (Too Many Requests). This response includes a Retry-After header indicating how long you should wait before retrying the request. Throttling can cause delays in processing your queries, as the service needs time to handle the backlog of requests.

    Note: APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

    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.