Skip to content

Commit c7257f0

Browse files
authored
Merge pull request #216613 from spelluru/egridsap1031
Include files
2 parents ca11b01 + 333ef94 commit c7257f0

24 files changed

+239
-123
lines changed

articles/event-grid/auth0-how-to.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: How to send events from Auth0 to Azure using Azure Event Grid
33
description: How to end events from Auth0 to Azure services with Azure Event Grid.
44
ms.topic: conceptual
5-
ms.date: 03/29/2022
5+
ms.date: 11/07/2022
66
---
77

88
# Integrate Azure Event Grid with Auth0
@@ -14,13 +14,16 @@ This article describes how to connect your Auth0 and Azure accounts by creating
1414
## Send events from Auth0 to Azure Event Grid
1515
To send Auth0 events to Azure:
1616

17-
1. [Register the Event Grid resource provider](subscribe-to-partner-events.md#register-the-event-grid-resource-provider) with your Azure subscription.
18-
2. [Authorize Auth0](subscribe-to-partner-events.md#authorize-partner-to-create-a-partner-topic) to create a partner topic in your resource group.
17+
1. [Register the Event Grid resource provider](#register-the-event-grid-resource-provider) with your Azure subscription.
18+
1. [Authorize partner](#authorize-partner-to-create-a-partner-topic) to create a partner topic in your resource group.
1919
3. Request Auth0 to enable events flow to a partner topic by [setting up an Auth0 partner topic](#set-up-an-auth0-partner-topic) in the Auth0 Dashboard.
20-
4. [Activate partner topic](subscribe-to-partner-events.md#activate-a-partner-topic) so that your events start flowing to your partner topic.
21-
5. [Subscribe to events](subscribe-to-partner-events.md#subscribe-to-events).
20+
4. [Activate partner topic](#activate-a-partner-topic) so that your events start flowing to your partner topic.
21+
5. [Subscribe to events](#subscribe-to-events).
2222

23-
This article provides steps for doing the task #3 from the above list. All other tasks are documented in the [Subscribe to partner events](subscribe-to-partner-events.md) article.
23+
24+
[!INCLUDE [register-event-grid-provider](includes/register-event-grid-provider.md)]
25+
26+
[!INCLUDE [authorize-verified-partner-to-create-topic](includes/authorize-verified-partner-to-create-topic.md)]
2427

2528
## Set up an Auth0 partner topic
2629
Part of the integration process is to set up Auth0 for use as an event source by using the [Auth0 Dashboard](https://manage.auth0.com/).
@@ -37,21 +40,28 @@ Part of the integration process is to set up Auth0 for use as an event source by
3740
1. Click **Save**.
3841

3942
You should see the partner topic in the resource group you specified. [Activate the partner topic](subscribe-to-partner-events.md#activate-a-partner-topic) so that your events start flowing to your partner topic. Then, [subscribe to events](subscribe-to-partner-events.md#subscribe-to-events).
43+
44+
45+
:::image type="content" source="./media/auth0-how-to/partner-topic.png" alt-text="Screenshot showing the partner topic in the list.":::
4046

47+
[!INCLUDE [activate-partner-topic](includes/activate-partner-topic.md)]
48+
49+
[!INCLUDE [subscribe-to-events](includes/subscribe-to-events.md)]
50+
51+
Try [invoking any of the Auth0 actions that trigger an event to be published](https://auth0.com/docs/logs/references/log-event-type-codes) to see events flow.
4152

4253
## Verify the integration
4354
To verify that the integration is working as expected:
4455

4556
1. Log in to the Auth0 Dashboard.
46-
1. Navigate to **Logs** > **Streams**.
57+
1. Navigate to **Monitoring** > **Streams**.
4758
1. Click on your **Event Grid stream**.
4859
1. Once on the stream, click on the **Health** tab. The stream should be active and as long as you don't see any errors, the stream is working.
4960

50-
Try [invoking any of the Auth0 actions that trigger an event to be published](https://auth0.com/docs/logs/references/log-event-type-codes) to see events flow.
51-
5261
## Delivery attempts and retries
5362
Auth0 events are delivered to Azure via a streaming mechanism. Each event is sent as it's triggered in Auth0. If Event Grid is unable to receive the event, Auth0 will retry up to three times to deliver the event. Otherwise, Auth0 will log the failure to deliver in its system.
5463

64+
5565
## Next steps
5666

5767
- [Auth0 Partner Topic](auth0-overview.md)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: event-grid
5+
author: spelluru
6+
ms.service: event-grid
7+
ms.topic: include
8+
ms.date: 10/31/2022
9+
ms.author: spelluru
10+
ms.custom: include file
11+
---
12+
13+
## Activate a partner topic
14+
15+
1. In the search bar of the Azure portal, search for and select **Event Grid Partner Topics**.
16+
1. On the **Event Grid Partner Topics** page, select the partner topic in the list.
17+
18+
:::image type="content" source="./media/onboard-partner/select-partner-topic.png" lightbox="./media/onboard-partner/select-partner-topic.png" alt-text="Screenshot that shows selection a partner topic in the Event Grid Partner Topics page.":::
19+
1. Review the activate message, and select **Activate** on the page or on the command bar to activate the partner topic before the expiration time mentioned on the page.
20+
21+
:::image type="content" source="./media/onboard-partner/activate-partner-topic-button.png" lightbox="./media/onboard-partner/activate-partner-topic-button.png" alt-text="Screenshot showing the selection of the Activate button on the command bar or on the page.":::
22+
1. Confirm that the activation status is set to **Activated** and then create event subscriptions for the partner topic by selecting **+ Event Subscription** on the command bar.
23+
24+
:::image type="content" source="./media/onboard-partner/partner-topic-activation-status.png" lightbox="./media/onboard-partner/partner-topic-activation-status.png" alt-text="Screenshot showing the activation state of a partner topic as **Activated**.":::
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: event-grid
5+
author: spelluru
6+
ms.service: event-grid
7+
ms.topic: include
8+
ms.date: 10/31/2022
9+
ms.author: spelluru
10+
ms.custom: include file
11+
---
12+
13+
## Authorize partner to create a partner topic
14+
15+
You must grant your consent to the partner to create partner topics in a resource group that you designate. This authorization has an expiration time. It's effective for the time period you specify between 1 to 365 days.
16+
17+
> [!IMPORTANT]
18+
> For a greater security stance, specify the minimum expiration time that offers the partner enough time to configure your events to flow to Event Grid and to provision your partner topic. Your partner won't be able to create resources (partner topics) in your Azure subscription after the authorization expiration time.
19+
20+
> [!NOTE]
21+
> Event Grid started enforcing authorization checks to create partner topics around June 30th, 2022.
22+
23+
Following example shows the way to create a partner configuration resource that contains the partner authorization. You must identify the partner by providing either its **partner registration ID** or the **partner name**. Both can be obtained from your partner, but only one of them is required. For your convenience, the following examples leave a sample expiration time in the UTC format.
24+
25+
### Azure portal
26+
27+
1. Sign in to the [Azure portal](https://portal.azure.com).
28+
1. In the search bar at the top, enter **Partner Configurations**, and select **Event Grid Partner Configurations** under **Services** in the results.
29+
1. On the **Event Grid Partner Configurations** page, select **Create Event Grid partner configuration** button on the page (or) select **+ Create** on the command bar.
30+
31+
:::image type="content" source="./media/subscribe-to-partner-events/partner-configurations.png" alt-text="Screenshot showing the Event Grid Partner Configurations with the list of partner configurations and a link to create a partner registration.":::
32+
1. On the **Create Partner Configuration** page, do the following steps:
33+
1. In the **Project Details** section, select the **Azure subscription** and the **resource group** where you want to allow the partner to create a partner topic.
34+
1. In the **Partner Authorizations** section, specify a default expiration time for partner authorizations defined in this configuration.
35+
1. To provide your authorization for a partner to create partner topics in the specified resource group, select **+ Partner Authorization** link.
36+
37+
:::image type="content" source="./media/subscribe-to-partner-events/partner-authorization-configuration.png" alt-text="Screenshot showing the Create Partner Configuration page with the Partner Authorization link selected.":::
38+
39+
1. On the **Add partner authorization to create resources** page, you see a list of **verified partners**. A verified partner is a partner whose identity has been validated by Microsoft. You can select a verified partner, and select **Add** button at the bottom to give the partner the authorization to add a partner topic in your resource group. This authorization is effective up to the expiration time.
40+
41+
You also have an option to authorize a **non-verified partner.** Unless the partner is an entity that you know well, for example, an organization within your company, it's strongly encouraged that you only work with verified partners. If the partner isn't yet verified, encourage them to get verified by asking them to contact the Event Grid team at [email protected].
42+
43+
1. To authorize a **verified partner**:
44+
1. Select the partner from the list.
45+
1. Specify **authorization expiration time**.
46+
1. select **Add**.
47+
48+
:::image type="content" source="./media/subscribe-to-partner-events/add-verified-partner.png" alt-text="Screenshot for granting a verified partner the authorization to create resources in your resource group.":::
49+
1. To authorize a non-verified partner, select **Authorize non-verified partner**, and follow these steps:
50+
1. Enter the **partner registration ID**. You need to ask your partner for this ID.
51+
1. Specify authorization expiration time.
52+
1. Select **Add**.
53+
54+
:::image type="content" source="./media/subscribe-to-partner-events/add-non-verified-partner.png" alt-text="Screenshot for granting a non-verified partner the authorization to create resources in your resource group.":::
55+
56+
> [!IMPORTANT]
57+
> Your partner won't be able to create resources (partner topics) in your Azure subscription after the authorization expiration time.
58+
1. Back on the **Create Partner Configuration** page, verify that the partner is added to the partner authorization list at the bottom.
59+
1. Select **Review + create** at the bottom of the page.
60+
61+
:::image type="content" source="./media/subscribe-to-partner-events/create-partner-registration.png" alt-text="Screenshot showing the Create Partner Configuration page with the partner authorization you just added.":::
62+
1. On the **Review** page, review all settings, and then select **Create** to create the partner registration.
63+
64+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: event-grid
5+
author: spelluru
6+
ms.service: event-grid
7+
ms.topic: include
8+
ms.date: 10/31/2022
9+
ms.author: spelluru
10+
ms.custom: include file
11+
---
12+
13+
## Authorize partner to create a partner topic
14+
15+
You must grant your consent to the partner to create partner topics in a resource group that you designate. This authorization has an expiration time. It's effective for the time period you specify between 1 to 365 days.
16+
17+
> [!IMPORTANT]
18+
> For a greater security stance, specify the minimum expiration time that offers the partner enough time to configure your events to flow to Event Grid and to provision your partner topic. Your partner won't be able to create resources (partner topics) in your Azure subscription after the authorization expiration time.
19+
20+
> [!NOTE]
21+
> Event Grid started enforcing authorization checks to create partner topics around June 30th, 2022.
22+
23+
24+
1. Sign in to the [Azure portal](https://portal.azure.com).
25+
1. In the search bar at the top, enter **Partner Configurations**, and select **Event Grid Partner Configurations** under **Services** in the results.
26+
1. On the **Event Grid Partner Configurations** page, select **Create Event Grid partner configuration** button on the page (or) select **+ Create** on the command bar.
27+
28+
:::image type="content" source="./media/subscribe-to-partner-events/partner-configurations.png" alt-text="Screenshot showing the Event Grid Partner Configurations page with the list of partner configurations and the link to create a partner registration.":::
29+
1. On the **Create Partner Configuration** page, do the following steps:
30+
1. In the **Project Details** section, select the **Azure subscription** and the **resource group** where you want to allow the partner to create a partner topic.
31+
1. In the **Partner Authorizations** section, specify a default expiration time for partner authorizations defined in this configuration.
32+
1. To provide your authorization for a partner to create partner topics in the specified resource group, select **+ Partner Authorization** link.
33+
34+
:::image type="content" source="./media/subscribe-to-partner-events/partner-authorization-configuration.png" alt-text="Screenshot showing the Create Partner Configuration page with the Partner Authorization link selected.":::
35+
1. On the **Add partner authorization to create resources** page, you see a list of **verified partners**. A verified partner is a partner whose identity has been validated by Microsoft. Follow these steps to authorize **Auth0** to create a partner topic.
36+
1. Select the **verified partner** (Auth0, SAP, or Microsoft Graph API) from the list of verified partners.
37+
1. Specify **authorization expiration time**.
38+
1. select **Add**.
39+
40+
:::image type="content" source="./media/authorize-verified-partner-to-create-topic/add-verified-partner.png" alt-text="Screenshot showing the page that allows you to grant a verified partner the authorization to create resources in your resource group.":::
41+
42+
> [!IMPORTANT]
43+
> Your partner won't be able to create resources (partner topics) in your Azure subscription after the authorization expiration time.
44+
1. Back on the **Create Partner Configuration** page, verify that the partner is added to the partner authorization list at the bottom.
45+
1. Select **Review + create** at the bottom of the page.
46+
1. On the **Review** page, review all settings, and then select **Create** to create the partner registration.
47+
48+
68.8 KB
Loading
66.8 KB
Loading
75.4 KB
Loading
31 KB
Loading
41.4 KB
Loading
71.8 KB
Loading

0 commit comments

Comments
 (0)