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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard