How to retrieve audit log events for SharePoint Plans using Graph Purview API (beta)

eggy mcegg 120 Reputation points
2024-10-16T15:59:58.2166667+00:00

Screenshot from 2024-10-16 16-52-07

I have a requirement where I need to verify if a Plan gets created, a Task gets added to said plan, a Task gets deleted and a Task gets assigned.

I am attempting to do this using the Purview API (via Graph API) but am not getting any responses with regards to

  • TaskRead
  • TaskCreated
  • TaskModified
  • TaskDeleted
  • TaskAssigned

I create an audit log query, after the query has succeeded I retrieve the records and I do not see any in relation to the Plan (even thought I create Plan with Tasks during the specified time period in the auditLogQuery.

Here https://learn.microsoft.com/en-us/purview/audit-log-activities#microsoft-project-for-the-web-activities

It talks about Microsoft Project. I am a bit confused as to what service to call/use to get these audit logs.

Microsoft 365 and Office SharePoint For business Windows
Microsoft Security Microsoft Graph
Microsoft Security Microsoft Purview
0 comments No comments
{count} votes

Accepted answer
  1. Ling Zhou_MSFT 23,620 Reputation points Microsoft External Staff
    2024-10-17T06:24:02.16+00:00

    Hi @eggy mcegg,

    Thank you for posting in this community.

    Unfortunately, there is no Api in Graph Api about retrieving audit log events for SharePoint plans.

    However, you can log in to the Microsoft compliance portal to get audit log events for SharePoint Plans.

    User's image

    • Start a new search in the unified audit log.

    User's image

    This auditing capabilities capture activities in Planner that include read, created, modified, copied or deleted for a plan, task or roster, and also, capture record types such as PlannerTask, PlannerPlan PlannerCopyPlan. Since SharePoint Plans are implemented using Microsoft Planner, it is also included.

    You can review the full list of Planner user and admin activities logged for auditing and the Planner schema

    Reference: Auditing capabilities coming to Microsoft Project, Microsoft Planner, and Microsoft To Do


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.