2,253 questions with Azure API Management tags

Sort by: Updated
0 answers

openai.AuthenticationError: Error code: 401 - {'statusCode': 401, 'message': 'Unauthorized. Access token is missing, invalid, audience is incorrect (https://cognitiveservices.azure.com), or have expired.'}

I am trying to run the following code. I have obtained the key and endpoint from my free azure subscription after creating openai resource (see image). I downloaded the code from microsoft page to access api and test it with code below. I checked that…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
7,692 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,508 questions
asked 2025-01-14T02:41:37.8933333+00:00
Chris Grenier 0 Reputation points
0 answers

Making Outbound Connections from an Azure APIM Instance in a Private Subnet

An Azure API Management (APIM) instance is deployed in a private subnet and is publicly accessible through Azure Application Gateway. What are the recommended methods to establish outbound connections to a public backend API from this private APIM…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,107 questions
asked 2025-01-13T17:21:12.41+00:00
Rachit R 0 Reputation points
commented 2025-01-14T00:17:52.36+00:00
Silvia Wibowo 4,926 Reputation points Microsoft Employee
1 answer

Issue with Invocation to Python Services in Dapr

Dear Microsoft Dapr Support Team, I hope this message finds you well. I am encountering an issue when attempting to invoke Python services using Dapr. The following error is appearing: java Copy code code Upon investigating, it seems this error occurs…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,311 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,224 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,151 questions
asked 2025-01-13T17:17:41.02+00:00
Mhd Issa 0 Reputation points
answered 2025-01-13T23:54:28.6666667+00:00
Walter Coan 150 Reputation points MVP
1 answer

New-AzApiManagementSubscription doesn't seems to work

Hi, I try to use in my Pwoershell script command : New-AzApiManagementSubscription to create a sunscription and add it to a Prodcut, but when I try it with different paramaters/syntax: CreateResult = New-AzApiManagementSubscription ` -Context…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,730 questions
asked 2024-12-19T09:51:27.47+00:00
Eric Franckx 50 Reputation points
commented 2025-01-13T20:34:39.55+00:00
Taylor Butcher 25 Reputation points
0 answers

Options for connecting public api with on-premise API

Hi, I have question on connecting my Primary API to Secondary API in on-premise network. Currently, Both the Primary and Secondary API are hosted in on-premise network. I want to host the Primary API on Azure so that it can be publicly accessible to…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,311 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
363 questions
asked 2025-01-13T20:20:06.23+00:00
Jeff green 1 Reputation point
1 answer

How to create a client_assertion

Hi There, I'm using MS Entra RESTAPI to authenticate and extract People information. I have this working with a client secret. I need to now authenticate using a certificate. I need support on creating a client_assertion. I have…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2025-01-13T15:17:34.5433333+00:00
Missaghian, Nevenka 0 Reputation points
edited an answer 2025-01-13T16:42:44.1566667+00:00
Sina Salam 15,011 Reputation points
1 answer One of the answers was accepted by the question author.

Testing APIM API is giving null response when 200 ok

Hi Team, We have multiple APIs managed by APIM when test APIs by powershell it returns null response for 200 status code but we could see these there is some response for 401s. What could be the reason and how to fix it. Thanks venkatesh.k

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,730 questions
asked 2025-01-07T16:09:13.5466667+00:00
Venkatesh Korrapati 0 Reputation points
accepted 2025-01-13T16:37:17.9066667+00:00
Venkatesh Korrapati 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Count Operations Across All APIs in Azure API Management Using Policies?

Hi, I need to create an Azure API Management (APIM) policy that returns the count of operations across all APIs. I already have a policy that gives me the names of all APIs and another that returns the operation count for a specific API. However, I’m…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2025-01-07T14:49:19.7566667+00:00
David Michailis 25 Reputation points
accepted 2025-01-13T10:16:44.7633333+00:00
David Michailis 25 Reputation points
1 answer

When will APIM workspaces be available in Azure West Europe

When will APIM workspaces be available in Azure West Europe

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2025-01-10T11:04:05.58+00:00
Laurens van de Venn 120 Reputation points
answered 2025-01-13T08:43:41.5866667+00:00
Khadeer Ali 1,790 Reputation points Microsoft Vendor
0 answers

the launch plan of APIM V2 tier in Azure China

I wanted to confirm the launch plan of APIM V2 tier (which is already available in Azure Global) in Azure China, thank you very much. https://azure.microsoft.com/en-us/pricing/details/api-management/

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2024-12-31T07:37:10.39+00:00
Gallatin 21V 186 Reputation points
edited a comment 2025-01-13T04:08:17.1366667+00:00
VenkateshDodda-MSFT 23,441 Reputation points Microsoft Employee
0 answers

Azure APIM get-authorization-context returns cached expired token

I have a credential provider with two connections setup identically, however the original connection began to return an expired token a month ago and has been doing that ever since with the exact same issued and expiration date of when this problem first…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2025-01-11T20:59:43.0366667+00:00
Ed 0 Reputation points
edited the question 2025-01-11T22:31:54.8366667+00:00
Ed 0 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to set API Management Min API version

Hi, I am trying to set the apiVersionConstraint minApiVersion property for my APIM instance to satisfy the security concern; "API Management minimum API version should be set to 2019-12-01 or higher". I am provisioning my APIM instance with…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2024-05-08T13:57:18.5433333+00:00
Marc Milliken 40 Reputation points
commented 2025-01-10T09:59:51.18+00:00
Blu 0 Reputation points
1 answer

API Management string in payload encoding

I have an API that accepts JSON and transforms to XML for the backend calls using Liquid transformation as sample payload below - Input Payload from the client { "userPriority": "Medium", "area": "Safety &…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2025-01-08T13:38:02.5566667+00:00
Siva Krishna Pokuri 21 Reputation points
commented 2025-01-09T15:55:47.44+00:00
Khadeer Ali 1,790 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Trace is not available because response does not contain Apim-Trace-Id header.

Observing when I select Test-> Trace: "Trace is not available because response does not contain Apim-Trace-Id header."

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2024-07-25T21:18:13.21+00:00
Dave Willard 46 Reputation points
commented 2025-01-09T09:51:21.6033333+00:00
NGANDU-BISEBA Gabriel 45 Reputation points
1 answer

getting LoggerId must be specified., Target= loggerId forAzApiManagementDiagnostic

getting the below error for New-AzApiManagementDiagnostic:  Error Details:         [Code= ValidationError, Message= LoggerId must be specified., Target= loggerId] below is the code have replaced ResourceGroupName,ServiceName,LoggerId with dummy value…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2024-12-02T17:35:52.7066667+00:00
Saini, Rominder 0 Reputation points
edited an answer 2025-01-09T01:53:15.0533333+00:00
Ryan Hill 29,556 Reputation points Microsoft Employee
0 answers

Issue with Token Validation Across Multiple App Registrations (ClientID & ClientSecret)

We are experiencing an issue where tokens issued for one app registration (app.registration-1) can be used to access APIs of other app registrations (app.registration-2, app.registration-3). Specifically, we are using the clientId and clientSecret from…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,311 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,302 questions
asked 2024-12-16T11:17:14.7566667+00:00
Patrik Kovacs 5 Reputation points
edited the question 2025-01-08T07:36:03.57+00:00
Givary-MSFT 34,866 Reputation points Microsoft Employee
1 answer

How to troubleshoot API Not Found errors (404) in Azure API Management

Hello, I am experiencing API Not Found (404) errors in Azure API Management. I have noticed that the logs are capturing URLs that are not configured in APIM. Can someone help me figure out what operations these URLs belong to, as well as offer…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2024-02-08T13:23:08.1833333+00:00
Hari Prathipati 0 Reputation points
commented 2025-01-06T12:16:23.9333333+00:00
Luke John Lange 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to loop over audiences in APIM

I am using the client credentials flow to generate a token and leveraging APIM to validate it. Instead of using a hardcoded audience, I call an API to retrieve a list of audiences dynamically. Now, I need to add multiple audiences inside the…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
asked 2025-01-03T19:10:30.4766667+00:00
Govinda Patidar 20 Reputation points
accepted 2025-01-06T07:09:31.61+00:00
Govinda Patidar 20 Reputation points
0 answers

Dynamic 'kid' Usage in Azure APIM Validate-JWT Policy

We currently use hardcoded exponent and modulus values within the

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
943 questions
asked 2024-12-19T16:16:21.6433333+00:00
Aaron Bowe 0 Reputation points
commented 2025-01-03T14:41:44.6+00:00
Aaron Bowe 0 Reputation points
1 answer

Microsoft.Solutions.ArmApiControl POST not Working

The below snippet stopped working. It is used in generating Template Spec UI definition. The "POST" method , stopped working and it is not returning any value , braking the Template Spec custom UI. We there any recent changes? { …

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,253 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,315 questions
asked 2024-12-18T14:03:27.1933333+00:00
Lyubomir Achakaknov 0 Reputation points
commented 2025-01-03T11:20:10.9933333+00:00
Hari Babu Vattepally 1,365 Reputation points Microsoft Vendor