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 / APIM Custom Connector ...
Power Automate
Unanswered

APIM Custom Connector - 401 Unauthorized Response - Access denied due to missing subscription key (Ocp-Apim-Subscription-Key)

(1) ShareShare
ReportReport
Posted on by 2

Created a custom connector using Azure API management. Initially this was working. I made some changes in one request and updated the connector. After updating I am receiving the 401 Unauthorized Response - Access denied due to missing subscription key (Ocp-Apim-Subscription-Key)

 

This works if I remove subscription required tick in Azure API management. But I don't want to allow access to this API without subscription key. 

 

Below is the response header

 

 

 

{
 "x-ms-apihub-cached-response": "true",
 "x-ms-apihub-obo": "false",
 "WWW-Authenticate": "AzureApiManagementKey realm=\"{API_BASE_URL}/tm-power-clone\",name=\"Ocp-Apim-Subscription-Key\",type=\"header\"",
 "Date": "Tue, 02 Jan 2024 04:03:30 GMT",
 "Content-Length": "152",
 "Content-Type": "application/json"
}

 

Categories:
I have the same question (0)
  • mannybellas1 Profile Picture
    3 on at

    I have similar issues, too.  It happens when I update the Custom Connector through any of the following mechanisms

    • from APIM
    • or if I update it using `pac connector update`
    • Import it from a managed solution

    Annoyingly, I found I could fix the issue by opening the Custom Connector in the environment, clicking "edit" and then "save" without changing anything.

    I think I saw somewhere mentioned that updates to the connector might take a moment to apply, but I haven't tested this.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard