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 / Build a Custom Connect...
Power Automate
Unanswered

Build a Custom Connector for Microsoft Flow & Search Unified Audit Logs: 401 Unauthorized

(0) ShareShare
ReportReport
Posted on by 131

I'm following the steps outlined in the Build a Custom Connector for Microsoft Flow & Search Unified Audit Logs blog post but I'm getting stuck when I try to test it. I'm using a global admin account but I keep getting a 401 Unauthorized error. Where should I look to double check the permissions?

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     

     

     

    You could find the permission here: https://docs.microsoft.com/en-us/powershell/exchange/find-exchange-cmdlet-permissions?view=exchange-ps

     

  • rimatos Profile Picture
    Microsoft Employee on at

    Hi @BegeNCSU ,

     

    I believe you can find the requirements to search the audit log in this URL: https://docs.microsoft.com/en-us/microsoft-365/compliance/search-the-audit-log-in-security-and-compliance?view=o365-worldwide#requirements-to-search-the-audit-log 

     

    Let me know if this helped!

     

    Regards,

    Ricardo

  • BegeNCSU Profile Picture
    131 on at
    Thank you both for your help, I'd like to accept one of your replies as a solution, but I keep getting a 'Authentication failed for the action you are trying to do. This failure could be due to your browser not supporting JavaScript, JavaScript not being enabled, or trying to use the action URL directly in the browser address bar instead of clicking the link on the page.' error.
  • rimatos Profile Picture
    Microsoft Employee on at

    HI @BegeNCSU ,

    Given that error I would start by checking if you have Javascript enabled in you browser. After that take a look at your cookie definitions and confirm that you are not blocking any cookies (third-party included).

    As a last step check if the same issue occurs when doing this from another browser from your current one.

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
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard