web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to access O365 Aud...
Power Automate
Answered

How to access O365 Audit log search activity in Power Automate?

(0) ShareShare
ReportReport
Posted on by

Hello,

 

Could you please share how can I access O365 Audit log search activities in Power Automate with access permission on O365 Audit log search?

 

Thanks,

D

 

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Hi @dave8,

     

    This would be possible with the following three high-level steps:

    1. Register an App in Azure AD, which has app permissions for the Office 365 Management API

    2. Start an subscription for a specific content-type of the Audit Log (like Audit.General) via a HTTP Post request

    https://manage.office.com/api/v1.0/@{variables('TenantId')}/activity/feed/subscriptions/start?contentType=@{variables('AuditLogContentType')}

    3. Retrieve the results back via another HTTP Get Request action

    https://manage.office.com/api/v1.0/@{variables('TenantId')}/activity/feed/subscriptions/content?contentType=@{variables('AuditLogContentType')}&startTime=@{variables('StartTime')}&endTime=@{variables('EndTime')}

     

    More details about this can be found in several sources. Below is one from Leon Armston:

    https://www.leonarmston.com/2020/07/office-365-management-activity-api-with-power-automate-part-three/

     

    Hope this helps a bit?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 570

#2
Valantis Profile Picture

Valantis 405

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard