Skip to content

Commit 7f26eba

Browse files
Merge pull request #306761 from MicrosoftDocs/main
Auto Publish – main to live - 2025-10-09 22:00 UTC
2 parents 25abb95 + 18070d1 commit 7f26eba

83 files changed

Lines changed: 871 additions & 725 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: Configure notifications and email templates
2+
title: Configure Notifications and Email Templates
33
titleSuffix: Azure API Management
44
description: Learn how to configure notifications and email templates for events in Azure API Management.
55
services: api-management
66
author: dlepow
77

88
ms.service: azure-api-management
99
ms.topic: how-to
10-
ms.date: 06/02/2023
10+
ms.date: 09/30/2025
1111
ms.author: danlep
1212
ms.custom:
1313
- engagement-fy23
@@ -18,103 +18,104 @@ ms.custom:
1818

1919
[!INCLUDE [api-management-availability-premium-dev-standard-basic-premiumv2-standardv2-basicv2](../../includes/api-management-availability-premium-dev-standard-basic-premiumv2-standardv2-basicv2.md)]
2020

21-
API Management provides the ability to configure email notifications for specific events, and to configure the email templates that are used to communicate with the administrators and developers of an API Management instance. This article shows how to configure notifications for the available events, and provides an overview of configuring the email templates used for these events.
21+
Azure API Management lets you configure email notifications for specific events, and configure the email templates that are used to communicate with the administrators and developers of an API Management instance. This article shows how to configure notifications for the available events, and provides an overview of configuring the email templates used for these events.
2222

2323
## Prerequisites
2424

2525
If you don't have an API Management service instance, complete the following quickstart: [Create an Azure API Management instance](get-started-create-service-instance.md).
2626

2727
[!INCLUDE [api-management-navigate-to-instance.md](../../includes/api-management-navigate-to-instance.md)]
2828

29-
## <a name="publisher-notifications"> </a>Configure notifications in the portal
29+
## <a name="publisher-notifications"> </a>Configure notifications in the Azure portal
3030

31-
1. In the left navigation of your API Management instance, select **Notifications** to view the available notifications.
31+
1. From the sidebar menu of your API Management instance, select **Deployment + infrastructure**, then choose **Notifications** to view the available notifications.
3232

3333
The following list of events can be configured for notifications.
3434

35-
- **Subscription requests (requiring approval)** - The specified email recipients and users will receive email notifications about subscription requests for products requiring approval.
36-
- **New subscriptions** - The specified email recipients and users will receive email notifications about new product subscriptions.
37-
- **BCC** - The specified email recipients and users will receive email blind carbon copies of all emails sent to developers.
38-
- **Close account message** - The specified email recipients and users will receive email notifications when an account is closed.
39-
- **Approaching subscription quota limit** - The specified email recipients and users will receive email notifications when subscription usage gets close to usage quota.
35+
- **Subscription requests (requiring approval)**: The specified email recipients and users receive email notifications about subscription requests for products requiring approval.
36+
- **New subscriptions**: The specified email recipients and users receive email notifications about new product subscriptions.
37+
- **Application gallery requests**: The following email recipients and users receive email notifications when new applications are submitted to the application gallery.
38+
- **BCC**: The specified email recipients and users receive email blind carbon copies of all emails sent to developers.
39+
- **New issue or comment**: The following email recipients and users receive email notifications when a new issue or comment is submitted on the developer portal.
40+
- **Close account message**: The specified email recipients and users receive email notifications when an account is closed.
41+
- **Approaching subscription quota limit**: The specified email recipients and users receive email notifications when subscription usage gets close to usage quota.
4042

4143
1. Select a notification, and specify one or more email addresses to be notified:
4244
* To add the administrator email address, select **+ Add admin**.
4345
* To add another email address, select **+ Add email**, enter an email address, and select **Add**.
4446
* Continue adding email addresses as needed.
4547

46-
:::image type="content" source="media/api-management-howto-configure-notifications/api-management-email-addresses.png" alt-text="Screenshot showing how to add notification recipients in the portal":::
48+
:::image type="content" source="media/api-management-howto-configure-notifications/api-management-email-addresses.png" alt-text="Screenshot showing how to add notification recipients in the portal.":::
4749

4850
## <a name="email-templates"> </a>Configure notification templates
4951

5052
API Management provides notification templates for the administrative email messages that are sent automatically to developers when they access and use the service. The following notification templates are provided:
5153

52-
- Application gallery submission approved (deprecated)
53-
- Developer farewell letter
54-
- Developer quota limit approaching notification
55-
- Developer welcome letter
56-
- Email change notification
57-
- Invite user
58-
- New comment added to an issue (deprecated)
59-
- New developer account confirmation
60-
- New issue received (deprecated)
61-
- New subscription activated
62-
- Password change confirmation
63-
- Subscription request declined
64-
- Subscription request received
65-
66-
Each email template has a subject in plain text, and a body definition in HTML format. Each item can be customized as desired.
54+
- Developer farewell letter
55+
- Developer quota limit approaching notification
56+
- Developer welcome letter
57+
- Email change notification
58+
- Invite user
59+
- New developer account confirmation
60+
- New subscription activated
61+
- Password change confirmation
62+
- Subscription request declined
63+
- Subscription request received
64+
65+
Each email template has a subject line in plain text, and a body definition in HTML format. Each item can be customized as desired.
6766

6867
> [!NOTE]
6968
> HTML content in a template must be well-formed and adhere to the [XML specification](https://www.w3.org/XML/). The `&nbsp;` character isn't allowed.
7069
7170
To view and configure a notification template in the portal:
7271

73-
1. In the left menu, select **Notification templates**.
74-
:::image type="content" source="media/api-management-howto-configure-notifications/api-management-email-templates.png" alt-text="Screenshot of notification templates in the portal":::
72+
1. In the sidebar menu, select **Notification templates**.
73+
:::image type="content" source="media/api-management-howto-configure-notifications/api-management-email-templates.png" alt-text="Screenshot of notification templates in the portal.":::
7574

7675
1. Select a notification template, and configure the template using the editor.
7776

78-
:::image type="content" source="media/api-management-howto-configure-notifications/api-management-email-template.png" alt-text="Screenshot of notification template editor in the portal":::
77+
:::image type="content" source="media/api-management-howto-configure-notifications/api-management-email-template.png" alt-text="Screenshot of notification template editor in the portal.":::
7978

80-
* The **Parameters** list contains a list of parameters, which when inserted into the subject or body, will be replaced by the designated value when the email is sent.
79+
* The **Parameters** list contains a list of parameters that, when inserted into the subject or body, are replaced by the designated value when the email is sent.
8180
* To insert a parameter, place the cursor where you wish the parameter to go, and select the parameter name.
8281

83-
1. To save the changes to the email template, select **Save**, or to cancel the changes select **Discard**.
82+
1. To save changes to the email template, select **Save**, or select **Discard** to cancel the changes.
8483

8584
## Configure email settings
8685

8786
You can modify general email settings for notifications that are sent from your API Management instance. You can change the administrator email address, the name of the organization sending notifications, and the originating email address.
8887

8988
> [!IMPORTANT]
90-
> Changing the originating email address may affect recipients' ability to receive email. See the [considerations](#considerations-for-changing-the-originating-email-address) in the following section.
89+
> Changing the originating email address might affect recipients' ability to receive email. See the [considerations](#considerations-for-changing-the-originating-email-address) in the following section.
9190
>
9291
To modify email settings:
9392

94-
1. In the left menu, select **Notification templates**.
93+
1. In the sidebar menu, select **Notification templates**.
94+
9595
1. Select **E-mail settings**.
96+
9697
1. On the **General email settings** page, enter values for:
97-
* **Administrator email** - the email address to receive all system notifications and other configured notifications
98-
* **Organization name** - the name of your organization for use in the developer portal and notifications
99-
* **Originating email address** - The value of the `From` header for notifications from the API Management instance. API Management sends notifications on behalf of this originating address.
100-
101-
98+
* **Administrator email**: the email address to receive all system notifications and other configured notifications.
99+
* **Organization name**: the name of your organization for use in the developer portal and notifications.
100+
* **Originating email address**: The value of the **From** header for notifications from the API Management instance. API Management sends notifications on behalf of this originating address.
101+
102102
:::image type="content" source="media/api-management-howto-configure-notifications/configure-email-settings.png" alt-text="Screenshot of API Management email settings in the portal":::
103+
103104
1. Select **Save**.
104105

105106
### Considerations for changing the originating email address
106107

107108
Recipients of email notifications from API Management could be affected when you change the originating email address.
108109

109-
* **Change to From address** - When you change the originating email address (for example, to `[email protected]`), the `From` address header will be `[email protected] [email protected]`. This is because the email is being sent by API Management, and not the email server of the originating email address.
110+
* **Change the From address**: When you change the originating email address (for example, to `[email protected]`), the **From** address header will be `[email protected] [email protected]`. This is because the email is being sent by API Management, and not the email server of the originating email address.
110111

111-
* **Email set to Junk or Spam folder** - Some recipients may not receive the email notifications from API Management or emails may get sent to the Junk or Spam folder. This can happen depending on the organization's SPF or DKIM email authentication settings:
112+
* **Email sent to junk or spam folder**: Some recipients might not receive the email notifications from API Management, or emails might get sent to the junk or spam folder. This can happen depending on the organization's SPF or DKIM email authentication settings:
112113

113-
* **SPF authentication** - Email might no longer pass SPF authentication after you change the originating email address domain. To ensure successful SPF authentication and delivery of email, create the following TXT record in the DNS database of the domain specified in the email address. For instance, if the email address is `[email protected]`, contact the administrator of contoso.com to add the following TXT record: **"v=spf1 include:spf.protection.outlook.com include:_spf-ssg-a.microsoft.com -all"**
114+
* **SPF authentication**: Email might no longer pass SPF authentication after you change the originating email address domain. To ensure successful SPF authentication and delivery of email, create the following TXT record in the DNS database of the domain specified in the email address. For instance, if the email address is `[email protected]`, contact the administrator of `contoso.com` to add the following TXT record: **"v=spf1 include:spf.protection.outlook.com include:_spf-ssg-a.microsoft.com -all"**
114115

115-
* **DKIM authentication** - To generate a valid signature for DKIM for email authentication, API Management requires the private key associated with the domain of the originating email address. However, it is currently not possible to upload this private key in API Management. Therefore, to assign a valid signature, API Management uses the private key associated with the `mail.windowsazure.com` domain.
116+
* **DKIM authentication**: To generate a valid signature for DKIM for email authentication, API Management requires the private key associated with the domain of the originating email address. However, it's currently not possible to upload this private key in API Management. Therefore, to assign a valid signature, API Management uses the private key associated with the `mail.windowsazure.com` domain.
116117

117118
## Related content
118119

119-
* [Overview of the developer portal](api-management-howto-developer-portal.md).
120+
* [Overview of the developer portal](api-management-howto-developer-portal.md)
120121
* [How to create and use groups to manage developer accounts](api-management-howto-create-groups.md)

articles/api-management/enable-cors-power-platform.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Enable CORS policies for Azure API Management custom connector
2+
title: Enable CORS Policies for Azure API Management Custom Connector
33
description: How to enable CORS policies in Azure API Management and Power Platform to test and use a custom connector from Power Platform applications.
44
services: api-management
55
author: dlepow
66

77
ms.service: azure-api-management
88
ms.topic: how-to
9-
ms.date: 03/24/2023
9+
ms.date: 10/07/2025
1010
ms.author: danlep
1111

1212
---
@@ -16,16 +16,15 @@ ms.author: danlep
1616

1717
Cross-origin resource sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources. Customers can add a [CORS policy](cors-policy.md) to their web APIs in Azure API Management, which adds cross-origin resource sharing support to an operation or an API to allow cross-domain calls from browser-based clients.
1818

19-
If you've exported an API from API Management as a [custom connector](export-api-power-platform.md) in the Power Platform and want to use browser-based clients including Power Apps or Power Automate to call the API, you need to configure your API to explicitly enable cross-origin requests from Power Platform applications. This article shows you how to configure the following two necessary policy settings:
19+
If you export an API from API Management as a [custom connector](export-api-power-platform.md) in the Power Platform and want to use browser-based clients including Power Apps or Power Automate to call the API, you need to configure your API to explicitly enable cross-origin requests from Power Platform applications. This article shows you how to configure the following two necessary policy settings:
2020

21-
* Add a CORS policy to your API
22-
23-
* Add a policy to your custom connector that sets an Origin header on HTTP requests
21+
- Add a CORS policy to your API
22+
- Add a policy to your custom connector that sets an Origin header on HTTP requests
2423

2524
## Prerequisites
2625

27-
+ Complete the following quickstart: [Create an Azure API Management instance](get-started-create-service-instance.md)
28-
+ Export an API from your API Management instance to a Power Platform environment as a [custom connector](export-api-power-platform.md)
26+
- Complete the following quickstart: [Create an Azure API Management instance](get-started-create-service-instance.md)
27+
- Export an API from your API Management instance to a Power Platform environment as a [custom connector](export-api-power-platform.md)
2928

3029
## Add CORS policy to API in API Management
3130

@@ -38,14 +37,14 @@ Follow these steps to configure the CORS policy in API Management.
3837
1. Add the following **Allowed origin**: `https://make.powerapps.com`.
3938
1. Select **Save**.
4039

41-
* For more information about configuring a policy, see [Set or edit policies](set-edit-policies.md).
42-
* For details about the CORS policy, see the [cors](cors-policy.md) policy reference.
40+
- For more information about configuring a policy, see [Set or edit policies](set-edit-policies.md).
41+
- For details about the CORS policy, see the [cors](cors-policy.md) policy reference.
4342

4443
> [!NOTE]
4544
> If you already have an existing CORS policy at the service (all APIs) level to enable the test console of the developer portal, you can add the `https://make.powerapps.com` origin to that policy instead of configuring a separate policy for the API or operation.
4645
4746
> [!NOTE]
48-
> Depending on how the custom connector gets used in Power Platform applications, you might need to configure additional origins in the CORS policy. If you experience CORS problems when running Power Platform applications, use developer tools in your browser, tracing in API Management, or Application Insights to investigate the issues.
47+
> Depending on how the custom connector gets used in Power Platform applications, you might need to configure more origins in the CORS policy. If you experience CORS problems when running Power Platform applications, use developer tools in your browser, tracing in API Management, or Application Insights to investigate the issues.
4948
5049

5150
## Add policy to custom connector to set Origin header
@@ -57,7 +56,7 @@ For details about editing settings of a custom connector, see [Create a custom c
5756
1. Sign in to Power Apps or Power Automate.
5857
1. On the left pane, select **Data** > **Custom Connectors**.
5958
1. Select your connector from the list of custom connectors.
60-
1. Select the pencil (Edit) icon to edit the custom connector.
59+
1. To edit the custom connector, select the pencil (Edit) icon.
6160
1. Select **3. Definition**.
6261
1. In **Policies**, select **+ New policy**. Select or enter the following policy details.
6362

@@ -79,5 +78,5 @@ For details about editing settings of a custom connector, see [Create a custom c
7978

8079
## Related content
8180

82-
* [Learn more about the Power Platform](https://powerplatform.microsoft.com/)
83-
* [Learn more about creating and using custom connectors](/connectors/custom-connectors/)
81+
- [Learn more about the Power Platform](https://powerplatform.microsoft.com/)
82+
- [Learn more about creating and using custom connectors](/connectors/custom-connectors/)

0 commit comments

Comments
 (0)