Angular, ASP.NET CORE, SQL SERVER, API and DB hosted on Azure 500 error
Hi, I have my ASP.NET CORE hosted on Azure, the SQLServer DB is also hosted on Azure. Before deploying the Angular front end I decided to test it to see if it would hit the deployed backend and database. I was getting a CORS error but, now that I have…
azure.management.com -> byRequest service time out while other services are fine
At 2025-03-04 00:06 UTC we received an error from the management.azure.com, byRequest API service with the following query: GET…
APIM Product Subscription Key not being Retrieved in Azure Portal when Testing
Anyone know if anything has changed to cause this in APIM? We have seen this with multiple clients To work around, you have to key in the subscription key. Otherwise, you can get it to collect it again by clicking away e.g. click on Products, then back…

authorization error sometimes and gateway authentication failed for microsoft authroization
Hello, this is about activating the eligible role using the ARM API. Created a custom role (only with admin login action) no read action- coz we do not want user to see the machines in the portal. We have a ps script that can be used inside the…


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…
Failure in moving the API Management service between resource groups within your Azure subscription.
After passing validation checks to move my API Management instance between Resource Groups where the API Management instance is remaining in the same Region "West US 2" The error message you're encountering indicates that there was a failure in…
How to obtain the request size in APIM integrated with AOAI.
#Problem RequestSize cannot be obtained in APIM and is 0 bytes, which means that the "quota" policy and alerts in metrics cannot be executed as expected. #What I want to solve I want to set the RquestSize. #Background When using AOAI, I decided…
How to completely disable caching in Azure API Management?
I want to completely disable caching for a specific API in Azure API Management. Is it sufficient to remove all cache-related policies, or are there any default caching behaviors that might still apply? If so, how can I ensure that no caching occurs at…
How to specify the x and y values of a ES256 JWK inside issuer-signing-key of validate-jwt in azure APIM
Hi Team. I'm trying to make a request to a JWKS url and fetch the JWKs and store it in a context variable Identified the key from the set of JWKs by matching the kid of the JWT with each kid from above fetched set of JWKs. I have identified the key which…
How can have form-data option in request body in Azure Portal, Azure API management test
I want to send my file in my request, I already choose the multipart/formdata in the header but can't see option form-data in the request body. Did I make a mistake at any step?
Does azure-openai-emit-token-metric policy at API Management Service support cached tokens?
The Azure API Management Service recently updated the azure-openai-emit-token-metric to support the GPT-4o model. Does this policy support the recording of Cached Tokens? According to the official documentation on MS Learn, it appears that this feature…
What apiVersion should be used to create Microsoft.ApiManagement service/properties resources via ARM templates?
The Azure API management portal recommends updating the API management minimum API version to 2019-12-01 or higher. More detail is provided here:…
Understanding APIM's Mechanism for Importing Open API Specification Files via URL
When you import an API to APIM via azure cli you can either provide the path to your Open API Specification (OAS) file (--specification-path) or you can provide the URL to the OAS (--specification-url). Question 1: Why is importing OAS via URL able to…
Failed to terminate Azure Standard v2 APIM
Hi, I tried to terminate my Standard v2 APIM instance but failed. Below is the error output: (TerminationFailed) Unable to terminate Sku V2 API service at this time. Please open a support case for your API management service using the Azure portal and…
Does management group descendants API return only the active entities?
Hi team, We have a query if the below query list only for ACTIVE ENTITIES? If not, is there an API to list only ACTIVE entities under management groups ? GET…
Azure Api Management url rewrite for dynamic path
Hi I'm having problems rewriting an Url path. My Apim looks like: https://sample-apim-int.azure-api.net/download/ The backend: https://samplebackend.net/ I want to be able to redirect from:…
Can I use JWK having modulus(n) and exponent(e) to validate JWT in Azure Api management
From validate-jwt policy reference https://learn.microsoft.com/en-us/azure/api-management/validate-jwt-policy <issuer-signing-keys> <key>Base64 encoded signing key | certificate-id="mycertificate" | n="modulus"…
Is API Management Standard v2 with VNet integration able to use VPN Connections
We are currently planning the usage of Azure API Management. We have the following requirement: Privately connect form APIM to Backend API Services Backend API Services are located in the same VNet, peered VNets and external Datacenters connected via…
Can't access second API when first was recently used within same APIM service
I have two APIs in my APIM service. Each API endpoint has running Open AI service behind. When I'm using first endpoint (in my AI chat app) with one model deployed - everything is ok, but after that when I try to use another model in my chat app (I can…
Azure Api Management Self Hosted Gateway HTTP2 issue
Hello, I am trying to connect the APIM to the regular (non-web) Grpc .Net backend using a self-hosted gateway, however, I see in the APIM logs that the HTTP version is downgraded from 2.0 to 1.1 when communicating with the backend. APIM is the Premium…