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 / Get Unified Audit Logs...
Power Automate
Unanswered

Get Unified Audit Logs (Basic authentication for HTTP GET request)

(0) ShareShare
ReportReport
Posted on by 353

Hi,

 

One of my flows that uses HTTP premium connector to get audit logs from O365 suddenly stopped working. After some investigation I've noticed that Basic authentication used for this action is deprecated (according to this link: Basic Authentication Deprecation in Exchange Online – Time’s Up - Microsoft Community Hub and a mail I received back in May 2022). 

 

Here is the screenshot of the action:

sdedic_0-1679920968143.png

 

And here is the error. As you can see I am getting "Unauthorized" error, which doesn't make sense since my user has enough privileges for this call and especially since this flow was working perfectly fine until recently:

sdedic_1-1679921072606.png


I couldn't find which authorization method could be utilized here, though I tried using a secret from the Azure Key Vault but with no success. The following link states that the only method allowed is Basic auth: How to get Office 365 audit logs (darthkurak.github.io)

I am not sure if I should think of another method of retrieving audit logs or there is a way to utilize another authorization method instead of the Basic one.

Any advice is appreciated.

Thank you.

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Wrong post. Please ignore.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard