You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the answers to common questions about Azure API Management.
25
17
26
18
sections:
27
19
- name: Ignored
@@ -32,123 +24,112 @@ sections:
32
24
When a feature is in preview, it means that we're actively seeking feedback on how the feature is working for you. A feature in preview is functionally complete, but it's possible that we'll make a breaking change in response to customer feedback. We recommend that you don't depend on a feature that is in preview in your production environment.
33
25
34
26
- question: |
35
-
How can I secure the connection between the API Management gateway and my back-end services?
27
+
How do I find out about updates and changes to API Management?
36
28
answer: |
37
-
You have several options to secure the connection between the API Management gateway and your back-end services. You can:
29
+
Subscribe to update announcements published in these locations:
38
30
39
-
* Use HTTP basic authentication. For more information, see [Import and publish your first API](import-and-publish.md).
40
-
* Use TLS mutual authentication as described in [How to secure back-end services by using client certificate authentication in Azure API Management](api-management-howto-mutual-certificates.md).
41
-
* Use IP filtering on your back-end service. In all tiers of API Management with the exception of Consumption tier, the IP address of the gateway remains constant, with a few caveats described in [the IP documentation article](api-management-howto-ip-addresses.md).
42
-
* Connect your API Management instance to an Azure Virtual Network.
31
+
* [Azure API Management release notes](https://github.com/Azure/API-Management/releases).
How do I copy my API Management service instance to a new instance?
35
+
How can I secure the connection between the API Management gateway and my backend services?
46
36
answer: |
47
-
You have several options if you want to copy an API Management instance to a new instance. You can:
37
+
You have several options to secure the connection between the API Management gateway and your backend services, including:
48
38
49
-
* Use the backup and restore function in API Management. For more information, see [How to implement disaster recovery by using service backup and restore in Azure API Management](api-management-howto-disaster-recovery-backup-restore.md).
50
-
* Create your own backup and restore feature by using the [API Management REST API](/rest/api/apimanagement/). Use the REST API to save and restore the entities from the service instance that you want.
51
-
* Download the service configuration by using Git, and then upload it to a new instance. For more information, see [How to save and configure your API Management service configuration by using Git](api-management-configuration-repository-git.md).
39
+
* Use subscription key authentication. For more information, see [Import and publish your first API](import-and-publish.md).
40
+
* Use TLS mutual authentication as described in [How to secure back-end services by using client certificate authentication in Azure API Management](api-management-howto-mutual-certificates.md).
41
+
* Use IP filtering on your back-end service. In all tiers of API Management except the Consumption tier, the IP address of the gateway remains constant. For more information, see [IP addresses of Azure API Management](api-management-howto-ip-addresses.md).
42
+
* Connect your API Management instance to an [Azure virtual network](virtual-network-concepts.md).
43
+
* Configure OAuth 2.0 authorization. For more information, see [Authentication and authorization in API Management](authentication-authorization-overview.md).
44
+
45
+
- question: |
46
+
How do I copy my API Management service instance to a new instance?
47
+
answer: |
48
+
You have several options, including:
52
49
50
+
* Use the [backup and restore](api-management-howto-disaster-recovery-backup-restore.md) functionality in API Management.
51
+
* Create your own backup and restore feature by using the [API Management REST API](/rest/api/apimanagement/) to save and restore the entities from the service instance that you want.
52
+
* Download the service configuration by using [Git](api-management-configuration-repository-git.md), and then upload it to a new instance.
53
+
54
+
- question: |
55
+
Can I move an API Management instance from one subscription to another?
56
+
answer: |
57
+
Yes. To learn how, see [Move resources to a new resource group or subscription](../azure-resource-manager/management/move-resource-group-and-subscription.md).
58
+
53
59
- question: |
54
60
Can I manage my API Management instance programmatically?
55
61
answer: |
56
-
Yes, you can manage API Management programmatically by using:
57
-
58
-
* The [API Management REST API](/rest/api/apimanagement/).
59
-
* The [Microsoft Azure ApiManagement Service Management Library SDK](https://aka.ms/apimsdk).
60
-
* The [Service deployment](/powershell/module/wds) and [Service management](/powershell/azure/servicemanagement/overview) PowerShell cmdlets.
62
+
Yes, you can manage API Management programmatically by using a variety of tools, including:
61
63
64
+
* The [API Management REST API](/rest/api/apimanagement/)
65
+
* Azure client SDKs for [.NET](/dotnet/api/overview/azure/apimanagement), [JavaScript](/javascript/api/overview/azure/api-management), [Java](/java/api/overview/azure/api-management), and other languages
66
+
* [Azure PowerShell](/powershell/module/az.apimanagement/) and [Azure CLI](/cli/azure/apim)
67
+
* [Azure Resource Manager](/azure/templates/microsoft.apimanagement/allversions) and Bicep templates. See example [quickstart templates](https://azure.microsoft.com/resources/templates/?Page=2&term=api+management).
Administrators group is an immutable system group. Azure subscription administrators are members of this group. You can't add a user to this group. See [How to create and use groups to manage developer accounts in Azure API Management](./api-management-howto-create-groups.md) for more information.
73
+
Administrators group is an immutable system group that includes Azure subscription administrators. You can't add a user to this group. For more information, see [How to create and use groups to manage developer accounts in Azure API Management](./api-management-howto-create-groups.md).
66
74
67
-
You can change the administrator [email settings](api-management-howto-configure-notifications.md#configure-email-settings) that are used in notifications sent to developers from your API Management instance.
68
75
- question: |
69
76
Why is the policy that I want to add unavailable in the policy editor?
70
77
answer: |
71
-
If the policy that you want to add appears dimmed or shaded in the policy editor, be sure that you are in the correct scope for the policy. Each policy statement is designed for you to use in specific scopes and policy sections. To review the policy sections and scopes for a policy, see the policy's Usage section in [API Management policies](./api-management-policies.md).
72
-
78
+
If the policy that you want to add appears greyed or shaded in the policy editor, be sure that you are in the correct scope for the policy. Each policy statement is designed for use in specific [scopes and policy sections](api-management-howto-policies.md). To review the policy sections and scopes for a policy, see the policy's Usage section in the [policy reference](./api-management-policies.md).
79
+
73
80
- question: |
74
81
How do I set up multiple environments in a single API?
75
82
answer: |
76
83
To set up multiple environments, for example, a test environment and a production environment, in a single API, you have two options. You can:
77
84
78
-
* Host different APIs on the same tenant.
79
-
* Host the same APIs on different tenants.
80
-
81
-
- question: |
82
-
Can I use SOAP with API Management?
83
-
answer: |
84
-
[SOAP pass-through](https://azure.microsoft.com/blog/soap-pass-through/) support is now available. Administrators can import the WSDL of their SOAP service, and Azure API Management will create a SOAP front end. Developer portal documentation, test console, policies and analytics are all available for SOAP services.
85
-
86
-
- question: |
87
-
Can I configure an OAuth 2.0 authorization server with AD FS security?
88
-
answer: |
89
-
To learn how to configure an OAuth 2.0 authorization server with Active Directory Federation Services (AD FS) security, see [Using ADFS in API Management](https://phvbaars.wordpress.com/2016/02/06/using-adfs-in-api-management/).
85
+
* Host different APIs on the same API Management instance.
86
+
* Host the same APIs on different instances.
90
87
91
88
- question: |
92
-
What routing method does API Management use in deployments to multiple geographic locations?
89
+
Does API Management only support REST API backends?
93
90
answer: |
94
-
API Management uses the [performance traffic routing method](../traffic-manager/traffic-manager-routing-methods.md#performance) in deployments to multiple geographic locations. Incoming traffic is routed to the closest API gateway. If one region goes offline, incoming traffic is automatically routed to the next closest gateway. Learn more about routing methods in [Traffic Manager routing methods](../traffic-manager/traffic-manager-routing-methods.md).
95
-
91
+
API Management supports REST APIs as well as passthrough to [SOAP](import-soap-api.md), [WebSocket](websocket-api.md), and [GraphQL](graphql-api.md) APIs. API Management also supports [synthetic GraphQL](graphql-schema-resolve-api.md) APIs.
92
+
93
+
API Management also integrates with Azure compute offerings commonly used for building and hosting APIs on Azure, including [Functions](import-function-app-as-api.md), [Logic Apps](import-logic-app-as-api.md), [Container Apps](import-container-app-with-oas.md), and [Web Apps](import-app-service-as-api.md).
94
+
96
95
- question: |
97
-
Can I use an Azure Resource Manager template to create an API Management service instance?
96
+
Are there restrictions on importing my API?
98
97
answer: |
99
-
Yes. See the [Azure API Management Service](https://azure.microsoft.com/resources/templates/azure-api-management-create/) quickstart templates.
100
-
98
+
See [API import restrictions and known issues](api-management-api-import-restrictions.md) for OpenAPI (Swagger), WSDL, and WADL formats.
99
+
101
100
- question: |
102
-
Can I use a self-signed TLS/SSL certificate for a back end?
101
+
Can I use CI/CD for API development?
103
102
answer: |
104
-
Yes. This can be done through PowerShell or by directly submitting to the API. This will disable certificate chain validation and will allow you to use self-signed or privately-signed certificates when communicating from API Management to the back end services.
105
-
106
-
### PowerShell method
107
-
Use the [`New-AzApiManagementBackend`](/powershell/module/az.apimanagement/new-azapimanagementbackend) (for new back end) or [`Set-AzApiManagementBackend`](/powershell/module/az.apimanagement/set-azapimanagementbackend) (for existing back end) PowerShell cmdlets and set the `-SkipCertificateChainValidation` parameter to `True`.
1. Create a [Backend](/rest/api/apimanagement/) entity by using API Management.
116
-
2. Set the **skipCertificateChainValidation** property to **true**.
117
-
3. If you no longer want to allow self-signed certificates, delete the Backend entity, or set the **skipCertificateChainValidation** property to **false**.
118
-
103
+
Yes. For more information, see [Use DevOps and CI/CD to publish APIs](devops-api-development-templates.md).
104
+
105
+
For architectural guidance, see [Azure API Management landing zone accelerator](/azure/cloud-adoption-framework/scenarios/app-platform/api-management/landing-zone-accelerator).
106
+
119
107
- question: |
120
-
Why do I get an authentication failure when I try to clone a Git repository?
108
+
What routing method does API Management use in deployments to multiple geographic locations?
121
109
answer: |
122
-
If you use Git Credential Manager, or if you're trying to clone a Git repository by using Visual Studio, you might run into a known issue with the Windows credentials dialog box. The dialog box limits password length to 127 characters, and it truncates the Microsoft-generated password. We are working on shortening the password. For now, please use Git Bash to clone your Git repository.
123
-
110
+
API Management uses the [performance traffic routing method](../traffic-manager/traffic-manager-routing-methods.md#performance) (lowest latency) in deployments to multiple geographic locations. For more information, see [Deploy an Azure API Management instance to multiple Azure regions](api-management-howto-deploy-multi-region.md).
111
+
124
112
- question: |
125
113
Does API Management work with Azure ExpressRoute?
126
114
answer: |
127
-
Yes. API Management works with Azure ExpressRoute.
115
+
Yes.
128
116
129
117
- question: |
130
-
Why do we require a dedicated subnet in Resource Manager style VNETs when API Management is deployed into them?
131
-
answer: |
132
-
The dedicated subnet requirement for API Management comes from the fact, that it is built on Classic (PAAS V1 layer) deployment model. While we can deploy into a Resource Manager VNET (V2 layer), there are consequences to that. The Classic deployment model in Azure is not tightly coupled with the Resource Manager model and so if you create a resource in V2 layer, the V1 layer doesn't know about it and problems can happen, such as API Management trying to use an IP that is already allocated to a NIC (built on V2).
133
-
To learn more about difference of Classic and Resource Manager models in Azure refer to [difference in deployment models](../azure-resource-manager/management/deployment-models.md).
134
-
135
-
- question: |
136
-
What is the minimum subnet size needed when deploying API Management into a VNET?
118
+
What is the minimum subnet size needed when deploying API Management into a VNet?
137
119
answer: |
138
-
The minimum subnet size needed to deploy API Management is [/29](../virtual-network/virtual-networks-faq.md#configuration), which is the minimum subnet size that Azure supports.
139
-
120
+
The minimum subnet size needed to deploy API Management is /29. Learn more about using API Management in [virtual networks](virtual-network-concepts.md).
121
+
140
122
- question: |
141
-
Can I move an API Management service from one subscription to another?
123
+
Does API Management provide a web application firewall (WAF)?
142
124
answer: |
143
-
Yes. To learn how, see [Move resources to a new resource group or subscription](../azure-resource-manager/management/move-resource-group-and-subscription.md).
144
-
125
+
While API Management doesn't include a WAF component, deploying a WAF upstream (in front) of the API Management instance is recommended. For example, use [Azure Application Gateway](api-management-howto-integrate-internal-vnet-appgateway.md) or [Azure Front Door](front-door-api-management.md).
145
126
- question: |
146
-
Are there restrictions on or known issues with importing my API?
127
+
What are the differences between the managed gateway and the self-hosted gateway?
147
128
answer: |
148
-
[Known issues and restrictions](api-management-api-import-restrictions.md) for Open API(Swagger), WSDL and WADL formats.
149
-
129
+
For information, see [API gateway in API Management](api-management-gateways-overview.md) and the [Self-hosted gateway overview](self-hosted-gateway-overview.md).
130
+
150
131
- question: |
151
132
How does API Management handle trailing slashes when calling backend services?
152
133
answer: |
153
-
Historically and by convention a URL ending with a trailing slash is treated as a Directory, for example "https://contoso.com/sample/" whereas the same URL without the trailing slash "https://contoso.com/sample" would be indicative of a file. This is not mandated, so some systems will consider those two URLs unique, whilst others will consider them the same URL. API Management doesn’t make a distinction thus a single operation "resource" will accept "resource" and "resource/". However, whilst the distinction doesn’t matter to API Management it may matter to the backend host. Some web servers will automatically redirect a URL not ending with a trailing slash, to the same URL ending in a trailing slash. As API Management is the client to the backend (server) an automatic redirect is not always desirable. If needed create a [Rewrite URL policy](api-management-transformation-policies.md#RewriteURL) to ensure a trailing slash is always added to the outbound backend call.
134
+
Historically and by convention a URL ending with a trailing slash is treated as a directory, for example `https://contoso.com/sample/` whereas the same URL without the trailing slash `https://contoso.com/sample` would indicate a file. This isn't mandated; some systems consider those two URLs unique, others consider them the same. API Management doesn’t make a distinction, thus a single operation `resource` will accept either `resource` or `resource/`. However, the distinction may matter to the backend host. Some web servers will automatically redirect a URL not ending with a trailing slash, to the same URL ending in a trailing slash. As API Management is the client to the backend (server), an automatic redirect isn't always desirable. If needed, create a [Rewrite URL policy](api-management-transformation-policies.md#RewriteURL) to ensure a trailing slash is always added to the outbound backend call.
0 commit comments