Audit actions made by SharePoint App Principal in SharePoint Online

Jim Milagrosa 80 Reputation points
2023-11-22T07:15:58.5733333+00:00

I have completed an app registration in the Azure portal, and obtained an Application (client) ID and a secret key from there. Then, I granted this Application ID "Full" access to my SharePoint Online site collection through the link "https://[your_site_url]/_layouts/15/appinv.aspx". This process allowed the App Principal/App Identity (using app ID and secret ) in my SharePoint environment to perform various task such as copying data from the SharePoint Library to Azure storage, deleting files in the SharePoint site and so on.

Now, we are seeking a way to which we can audit all the actions made by the application principal within the site collection or tenant. Is there a way by which I can track and review a logs for this?

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

Accepted answer
  1. Harpreet Singh Matharoo 8,396 Reputation points Microsoft Employee Moderator
    2023-11-22T12:19:33.5366667+00:00

    Hello @Jim Milagrosa

    Thank you for reaching out. I assume you should be able to audit activities made by service principal on SharePoint workload using Microsoft Purview Unified Audit logs.

    I hope this helps and hence would request you to please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

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.