-
Couldn't load subscription status.
- Fork 9
Configure Integration Builder flow to update subscriptions in Azure and send email notifications to subscribers
georgiana-caras edited this page Jun 5, 2020
·
9 revisions
This flow will receive the Approve or Reject requests from MS Teams, and based on the action will create a subscription or remove a subscription in Azure API Management. On approved requests the flow will send an email notification to the subscriber with the keys to authenticate the API calls.
This wiki page will describe how to import and configure the Integration Builder flow template provided by Axway, to manage subscriptions in Azure and send email notifications to subscribers.
Pre-requisites
- Free trial account on AMPLIFY Platform
- Active trail subscription for Application Integration on the AMPLIFY Platform
- Subscription to Azure API Management.
- A Service principal to authenticate to Azure API Management APIs to create / remove subscriptions to APIs in your Azure API Management environment. Please refer to Create a service principal in Azure API Management.
- API Builder service to generate an access token. Please refer to Configure TokenProvider service in API Builder
- Download the Azure Registration Flow.json.
- Navigate to Integration Builder on the AMPLIFY Platform.
- Import the flow as a Flow template.
- Go to
Flows, click onBuild new flow template. - Select
Importand choose the flow that you downloaded in the previous step. - Provide a
Nameand click on `Create' to save your flow template.
- Go to
- Configure a flow instance to send email notifications to Outlook.
- From
Connectors, search forOutlook Emailconnector in the search box. - Select the
Outlook Emailconnector and clickAuthenticate. - Provide a
Nameand click onCreate instance. You will be redirected to authenticate with your Outlook credentials. - Go to
Instancesand look for the connector instance that you just created.
- From
- Create a flow instance to replace the Value variables in the template with specific values to connect to your AZURE API Management environment and platform tenant.
- Navigate to
Flows, select your flow template and click `Create Instance'. - Provide a
Namefor the instance. - Select the
outlookEmailconnector instance that you created at Step 4. - Provide values for all required Variables:
-
apiCentralTokenCredentials: The authentication token from theAPI Builder tokenProviderservice. Please refer to Configure TokenProvider service in API Builder. -
apiCentralTokenUrl: The ENDPOINT URL of theAPI Builder tokenProviderservice. Please refer to Configure TokenProvider service in API Builder. -
apiCentralUrl: The link to your AMPLIFY Central environment. For production use https://apicentral.axway.com/. -
azureTenantId: The tenant id of your Azure account. Please refer to Create a service principal in Azure API Management. -
azureClientSecret: The password from the Azure service principal. Please refer to Create a service principal in Azure API Management. -
subId: The subscription id of your Azure account. Please refer to Create a service principal in Azure API Management. -
platformUrl: Set the url to your AMPLIFY platform account. For production use: https://platform.axway.com/.
-