
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:
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:
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.