Is it safe to always use @{} instead of @()in APIM policy expressions
The APIM doc says Multi-statement expressions: Enclosed in @{expression}. All code paths within multi-statement expressions must end with a return statement. However there are examples in APIM doc, where {} is used where () made sense. eg:…
IResponse object in send request
In the send-request policy example I see IResponse object being used However couldnt find any documentation on this IResponse in APIM. As a use who will write policies, how can I find all these undocumented things?
azure api management service updating status for almost 12 hours
I do not see a status or health issue with api management yet my developer portal is not accessible and part of the apim config ui is not showing. I also see the apim status shows updating since about 12 hours ago.
Failed to call Azure OpenAI API: failed with error:invalid_api_key
Here is my code using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.OpenAI; string openAiApiKey= "xxxxx"; Kernel…
![](https://techprofile.blob.core.windows.net/images/d2tvFBHkuECHIdJFwoOShw.png?8DB3F8)
Failed to call Azure OpenAI API: failed with error:invalid_api_key
Here is my c# code(.net 8.0) using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.OpenAI; string openAiApiKey= "xxxxxxxxxxxxxxx"; Kernel…
Log schema and documentation for APIM log ?
We have Azure APIM sending API Gateway logs to Log Analytics as well as Datadog. Is there a documentation on the schema for the log? and what those attributes represent? Some of these attributes are self explanatory. However it would be good to have…
How to delete a cookie? APIM does not forward expired cookies
We are using cookies for authentication. When a user logs in, we set a cookie containing an auth token. This works fine with APIM. But when a user logs out, we want to delete the auth cookie. According to the HTTP specification, deleting a cookie is done…
Cannot disable/Enable Request client certificate in APIM
The ability to switch on request client certificates is now missing in the UI under custom domains. We are running Standard v2 SKU. We had enabled request client certificate previously and now we want to disable it. But there is no option to disable…
Azure SaaS with SendGrid setup
Hello, I can not setup a Azure SaaS twilio SendGrid account, (twilio is running but SendGrid not, but no clue why not). I'm looking for an alternative solution to twilio SendGrid! Is there any other solution available ? I heard once Microsoft is…
How to enable TLS 1.3 in Azure API Management
My customer has a requirement to implement TLS 1.3. I understand that TLS 1.3 is announced 05 February 2024. See:…
Can't migrate APIM to stv2
According to the documentation I need to migrate stv1 to stv2. However, I don't have the option to migrate on the dashboard. In the Azure Portal, I choose Settings -> Platform migration. There is only a link to the documentation. I have owners right…
Cannot enable client authentication- APIM Standard v2
Hi, I am trying to enable Request client certificate on our apim instance. It throws the below error "API operation Microsoft.ApiManagement/service/locations/networkstatus/read is not supported for API Management service in StandardV2 tier. Please…
'The Migration API is temporarily disabled due to internal issues.'
I'm trying to help a customer plan a platform upgrade, is there any kind of ETA as to when the migration API will be available again?
APIM stv1 to stv2 Migration status
Can Microsoft update the status of stv1 to stv2 migration. We've had 3 failed / blocked attempts since may with the errors that look like this: Obvious June 8 has been and gone and I was hoping for confirmation that this issue is now addressed. If…
Azure API Portal
Hi, I have deployed a .net core web api(basically a graphql api) in AKS, and it is configured in Azure API management service. End users are accessing the api in api portal. Their AD account IDs are given access in Azure api management service. They dont…
Service account for APIM developer portal
Developers has to access the API's deployed in Azure APIM Management and currently we have given access to them to developer portal for those users(individual AD access) who are accessing, we have also grouped the users. But the development team wants a…
Translate API call to API expression (JSON path?) in Entra ID SCIM Provisioning
translate API call to API Expression. We sync from SAP Successfactors, all good - but we need to add an extra attribute not part of the standard setup. We use SCIM with Successfactors to Entra ID provisioning. We have country code for phone number in a…
Imposible to delete Azure API Management - Standard V2
Hello, I created several Azure API Management (APIM) services. I've been trying to delete them, but they seem to be locked or stucked in a transition state, and after more than 48 hours I could not delete them. I'm getting the following error…
![](https://techprofile.blob.core.windows.net/images/lTmISSS02keNUapbO4udTQ.png?8D8E25)
![](https://techprofile.blob.core.windows.net/images/lTmISSS02keNUapbO4udTQ.png?8D8E25)
Given subscription key - how to find associated user?
How do I find the user associated with a subscription key? I understand I can find Sub key associated with a user. But is there a way to find User associated with a specific sub key?
Set backend url in Azure API Management policy removes Authorization header in the request
I am using the Azure api management as a pass through; All api requests are proxied to azure api management and they are redirected to the original api. The request comes to api.xxx.com with tenant name in header, it is redirected to tenant.xxx.com. The…