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 Apps / [CoE Starter Kit] - 40...
Power Apps
Unanswered

[CoE Starter Kit] - 401 errors when testing Custom Connector

(0) ShareShare
ReportReport
Posted on by 186

When attempting to set up the Custom Connector for the Admin Flow Sync, I'm getting 401 errors testing the connector.  The json file has been imported as per the instructions and I'm using basic authentication.

 

The account using is Global Admin for the tenancy. 

 

In the body of the response is: <title>401 - Unauthorized: Access is denied due to invalid credentials.</title>

and

<h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>
<h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>

 

The schema validation also has "Property "" type mismatch, Expected : "object", Actual "string"

 

I can get to the logs via the admin portals, so the account obviously does have access. 

Any suggestions? 

  • manuelap Profile Picture
    Microsoft Employee on at

    Is your Admin account protected via MFA?

  • grantreid Profile Picture
    186 on at

    Yes, it is.  It's a Global Admin account. 

  • manuelap Profile Picture
    Microsoft Employee on at

    We are working on the documentation on how to support MFA for the connector at the moment. It will involve setting up an Azure AD Application to pass the Bearer Token to rather than using Basic Auth. It's influenced by Kent Weare's blog post https://flow.microsoft.com/en-us/blog/automate-flow-governance/

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard