azure-api-management

Azure API Management - Scope Claim NULL

五迷三道 提交于 2020-01-14 03:12:33
问题 I have a question regarding the SCP claim after using Azure to register an API that I've developed. I've followed various tutorials and sample applications. Everything validates correctly and I'm able to call a API Method from a trusted subsystem using primarily this tutorial: https://github.com/AzureADSamples/WebApp-WebAPI-OAuth2-AppIdentity-DotNet The problem that I'm having is when I try to validate the SCP claim: Claim scopeClaim = ClaimsPrincipal.Current.FindFirst("http://schemas

Azure APIM - Support awverify

江枫思渺然 提交于 2020-01-06 04:50:59
问题 Does Azure APIM support custom domain verification based on awverify TXT records similiar to Azure websites ? 回答1: No. But dedicated tiers of APIM do not require you to validate domain at all, only consumption tier requires CNAME record. 来源: https://stackoverflow.com/questions/59538987/azure-apim-support-awverify

Static IP address in Azure API management Service

时光总嘲笑我的痴心妄想 提交于 2020-01-03 12:43:05
问题 I have done some googling but couldn't get a confirmed answer for this: Does Azure API management service provides a Static IP address? If not, how do i configure it? Reason i am asking is because my on-premise server only accepts request from whitelisted IP address and therefore we need a static ip address from request coming from Azure API management. 回答1: Azure api management shows a fixed ip address when you create the service. We use this for the same scenario and we see all traffic from

CosmosDb with DocumentDB API through Azure API Management

烈酒焚心 提交于 2020-01-01 09:11:52
问题 I am attempting to query my new CosmosDB collection through API management. Once proved out, this will be a front-end for user access to logged data. For that reason, I have the data partitioned by subscription ID. In Azure Portal for the Logs collection of my WebApi DB I see partition key as /api_subscription_key. I have the data going in from API Mgt. -> Event Hub -> Stream Analytics -> Cosmos. Using the query explorer in Azure portal, I can try a query like: SELECT * FROM c WHERE c.api

How Do I Add Active Directory To APIM Using Terraform?

可紊 提交于 2019-12-24 19:58:36
问题 Following this article you can link Azure API Management to Users/Groups in Azure Active Directory. At the moment I am creating the APIM instance with Terraform resource "azurerm_api_management" "test" { name = "example-apim" location = "${azurerm_resource_group.test.location}" resource_group_name = "${azurerm_resource_group.test.name}" publisher_name = "My Company" publisher_email = "company@terraform.io" sku { name = "Developer" capacity = 1 } } How do I add the Active Directory Identity

Managing Multiple Subscription Keys Inside a Composition Service

放肆的年华 提交于 2019-12-24 18:31:53
问题 I have a composition API that is registered inside Azure API Management that is called by external clients, this composition service will call other APIs which are also registered inside API Management and also need a subscription key Question Is there guidance or best practises for managing subscription keys in my type of composition scenario using Azure API Management 回答1: Not sure what you mean by guidance. There are a few things to keep in mind: Make sure your subscription keys do not

Azure API Management and ASMX/WSDL SOAP endpoint?

假如想象 提交于 2019-12-24 14:14:56
问题 I have an old SOAP api that uses an ASMX endpoint, will Azure API Management be able to recognize and interface with it? 回答1: There are more people interested in this feature: feedback.azure.com. This is currently not supported however. 回答2: Support for pass-through SOAP endpoints was added recently: https://azure.microsoft.com/en-us/updates/general-availibility-azure-api-management-soap-pass-through/ SOAP-to-REST scenarios are also possible using policies: https://blogs.msdn.microsoft.com

Notifications list for Azure API Management using REST API

点点圈 提交于 2019-12-24 10:09:56
问题 Anybody know if it's possible to add email addresses to the notification list for Azure API Mangement via a REST API? Specifically, I would like to be able to add to the "Approaching subscription quota limit". I see that there's a way to do this in the UI, but I'm looking for a way to do this via REST call or PowerShell commandlet (if possible). 回答1: The docs are still in progress, and stuff might change a bit, but in short: GET /notifications - get list of all notifications in system GET

API Management with GIT

左心房为你撑大大i 提交于 2019-12-24 07:57:55
问题 I have an API management instance running. I know API management has its own GIT repository. I can successfully clone, change and push changes up to my API management GIT repository. My issue is, I have my own VSTS Git Repository (source control for all my other code) that I need to keep using. The fact that I now have 2 GIT repositories (one in VSTS and one in API management) is confusing. Can someone let me know what the process for managing these two repositories is? Or is there a way to

API management service ClientConnectionFailure at forward-request

女生的网名这么多〃 提交于 2019-12-24 00:43:41
问题 I have a Azure function calling Service fabric API using HttpClient API exposed in API management service. But the API management service logs shows that the API call failed with the problem ID "ClientConnectionFailure at forward-request". On the client side I receive System.Net.Sockets.SocketException with error message "The operation was canceled. Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.