Skip to content

Commit 745860b

Browse files
authored
Merge pull request #114117 from MicrosoftDocs/release-functions-ux-update
Release functions ux update
2 parents 197fa7a + dd5bc4d commit 745860b

File tree

216 files changed

+798
-768
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+798
-768
lines changed

articles/azure-functions/app-service-export-api-to-powerapps-and-flow.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ title: Exporting an Azure-hosted API to PowerApps and Microsoft Flow
33
description: Overview of how to expose an API hosted in App Service to PowerApps and Microsoft Flow
44

55
ms.topic: conceptual
6-
ms.date: 12/15/2017
6+
ms.date: 04/28/2020
77
ms.reviewer: sunayv
88

99
---
1010
# Exporting an Azure-hosted API to PowerApps and Microsoft Flow
1111

1212
[PowerApps](https://powerapps.microsoft.com/guided-learning/learning-introducing-powerapps/) is a service for building and using custom business apps that connect to your data and work across platforms. [Microsoft Flow](/learn/modules/get-started-with-flow/index) makes it easy to automate workflows and business processes between your favorite apps and services. Both PowerApps and Microsoft Flow come with a variety of built-in connectors to data sources such as Office 365, Dynamics 365, Salesforce, and more. In some cases, app and flow builders also want to connect to data sources and APIs built by their organization.
1313

14-
Similarly, developers that want to expose their APIs more broadly within an organization can make their APIs available to app and flow builders. This topic shows you how to export an API built with [Azure Functions](../azure-functions/functions-overview.md) or [Azure App Service](../app-service/overview.md). The exported API becomes a *custom connector*, which is used in PowerApps and Microsoft Flow just like a built-in connector.
14+
Similarly, developers that want to expose their APIs more broadly within an organization can make their APIs available to app and flow builders. This article shows you how to export an API built with [Azure Functions](../azure-functions/functions-overview.md) or [Azure App Service](../app-service/overview.md). The exported API becomes a *custom connector*, which is used in PowerApps and Microsoft Flow just like a built-in connector.
1515

1616
> [!IMPORTANT]
1717
> The API definition functionality shown in this article is only supported for [version 1.x of the Azure Functions runtime](functions-versions.md#creating-1x-apps) and App Services apps. Version 2.x of Functions integrates with API Management to create and maintain OpenAPI definitions. To learn more, see [Create an OpenAPI definition for a function with Azure API Management](functions-openapi-definition.md).
@@ -24,25 +24,21 @@ Before exporting an API, you must describe the API using an OpenAPI definition (
2424
2525
To export the API definition, follow these steps:
2626

27-
1. In the [Azure portal](https://portal.azure.com), navigate to your Azure Functions or another App Service application.
27+
1. In the [Azure portal](https://portal.azure.com), navigate to your function app or an App Service application.
2828

29-
If using Azure Functions, select your function app, choose **Platform features**, and then **API definition**.
29+
From the left menu, under **API**, select **API definition**.
3030

31-
![Azure Functions API definition](media/app-service-export-api-to-powerapps-and-flow/api-definition-function.png)
31+
:::image type="content" source="media/app-service-export-api-to-powerapps-and-flow/api-definition-function.png" alt-text="Azure Functions API definition":::
3232

33-
If using Azure App Service, select **API definition** from the settings list.
34-
35-
![App Service API definition](media/app-service-export-api-to-powerapps-and-flow/api-definition-app.png)
36-
37-
2. The **Export to PowerApps + Microsoft Flow** button should be available (if not, you must first create an OpenAPI definition). Click this button to begin the export process.
33+
2. The **Export to PowerApps + Microsoft Flow** button should be available (if not, you must first create an OpenAPI definition). Select this button to begin the export process.
3834

3935
![Export to PowerApps + Microsoft Flow button](media/app-service-export-api-to-powerapps-and-flow/export-apps-flow.png)
4036

4137
3. Select the **Export Mode**:
4238

43-
**Express** lets you create the custom connector from within the Azure portal. It requires that you are signed into PowerApps or Microsoft Flow and have permission to create connectors in the target environment. This is the recommended approach if these two requirements can be met. If using this mode, follow the [Use express export](#express) instructions below.
39+
**Express** lets you create the custom connector from within the Azure portal. It requires that you are signed into PowerApps or Microsoft Flow and have permission to create connectors in the target environment. This approach is recommended if these two requirements can be met. If using this mode, follow the [Use express export](#express) instructions below.
4440

45-
**Manual** lets you export the API definition, which you then import using the PowerApps or Microsoft Flow portals. This is the recommended approach if the Azure user and the user with permission to create connectors are different people or if the connector needs to be created in another Azure tenant. If using this mode, follow the [Use manual export](#manual) instructions below.
41+
**Manual** lets you export the API definition, which you then import using the PowerApps or Microsoft Flow portals. This approach is recommended if the Azure user and the user with permission to create connectors are different people, or if the connector needs to be created in another Azure tenant. If using this mode, follow the [Use manual export](#manual) instructions below.
4642

4743
![Export mode](media/app-service-export-api-to-powerapps-and-flow/export-mode.png)
4844

@@ -62,7 +58,7 @@ To complete the export in **Express** mode, follow these steps:
6258
|--------|------------|
6359
|**Environment**|Select the environment that the custom connector should be saved to. For more information, see [Environments overview](https://powerapps.microsoft.com/tutorials/environments-overview/).|
6460
|**Custom API Name**|Enter a name, which PowerApps and Microsoft Flow builders will see in their connector list.|
65-
|**Prepare security configuration**|If required, provide the security configuration details needed to grant users access to your API. This example shows an API key. For more information, see [Specify authentication type](#auth) below.|
61+
|**Prepare security configuration**|If necessary, provide the security configuration details needed to grant users access to your API. This example shows an API key. For more information, see [Specify authentication type](#auth) below.|
6662

6763
![Express export to PowerApps and Microsoft Flow](media/app-service-export-api-to-powerapps-and-flow/export-express.png)
6864

@@ -77,7 +73,7 @@ To complete the export in **Manual** mode, follow these steps:
7773

7874
![Manual export to PowerApps and Microsoft Flow](media/app-service-export-api-to-powerapps-and-flow/export-manual.png)
7975

80-
2. If your API definition includes any security definitions, these are called out in step #2. During import, PowerApps and Microsoft Flow detects these and prompts for security information. Gather the credentials related to each definition for use in the next section. For more information, see [Specify authentication type](#auth) below.
76+
2. If your API definition includes any security definitions, these definitions are called out in step #2. During import, PowerApps and Microsoft Flow detects these definitions and prompts for security information. Gather the credentials related to each definition for use in the next section. For more information, see [Specify authentication type](#auth) below.
8177

8278
![Security for manual export](media/app-service-export-api-to-powerapps-and-flow/export-manual-security.png)
8379

@@ -153,15 +149,15 @@ For more information, see the Azure AD registration examples for [PowerApps](htt
153149
The following configuration values are required:
154150
- **Client ID** - the client ID of your connector Azure AD registration
155151
- **Client secret** - the client secret of your connector Azure AD registration
156-
- **Login URL** - the base URL for Azure AD. In Azure, this is typically `https://login.windows.net`.
157-
- **Tenant ID** - the ID of the tenant to be used for the login. This should be "common" or the ID of the tenant in which the connector is created.
152+
- **Login URL** - the base URL for Azure AD. In Azure, typically `https://login.windows.net`.
153+
- **Tenant ID** - the ID of the tenant to be used for the login. This ID should be "common" or the ID of the tenant in which the connector is created.
158154
- **Resource URL** - the resource URL of the Azure AD registration for your API
159155

160156
> [!IMPORTANT]
161157
> If someone else will import the API definition into PowerApps and Microsoft Flow as part of the manual flow, you must provide them with the client ID and client secret of the *connector registration*, as well as the resource URL of your API. Make sure that these secrets are managed securely. **Do not share the security credentials of the API itself.**
162158
163159
### Generic OAuth 2.0
164-
When using generic OAuth 2.0, you can integrate with any OAuth 2.0 provider. This allows you to work with custom providers that are not natively supported.
160+
When using generic OAuth 2.0, you can integrate with any OAuth 2.0 provider. Doing so allows you to work with custom providers that are not natively supported.
165161

166162
The following configuration values are required:
167163
- **Client ID** - the OAuth 2.0 client ID

0 commit comments

Comments
 (0)