Skip to main content

Notifications

Power Automate - Using Connectors
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?

  • rimatos Profile Picture
    rimatos on at
    Re: Build a Custom Connector for Microsoft Flow & Search Unified Audit Logs: 401 Unauthorized

    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.

  • BegeNCSU Profile Picture
    BegeNCSU 131 on at
    Re: Build a Custom Connector for Microsoft Flow & Search Unified Audit Logs: 401 Unauthorized
    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
    rimatos on at
    Re: Build a Custom Connector for Microsoft Flow & Search Unified Audit Logs: 401 Unauthorized

    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

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

     

     

     

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

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard

Featured topics