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
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/azure-monitor.md
+27-26Lines changed: 27 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@ Use Azure Monitor to route Azure Active Directory B2C (Azure AD B2C) sign-in and
20
20
21
21
You can route log events to:
22
22
23
-
* An Azure storage account.
24
-
* An Azure event hub (and integrate with your Splunk and Sumo Logic instances).
25
-
* An Azure Log Analytics workspace (to analyze data, create dashboards, and alert on specific events).
23
+
* An Azure [storage account](../storage/blobs/storage-blobs-introduction.md).
24
+
* An Azure [event hub](../event-hubs/event-hubs-about.md) (and integrate with your Splunk and Sumo Logic instances).
25
+
* An [Log Analytics workspace](../azure-monitor/platform/resource-logs-collect-workspace.md) (to analyze data, create dashboards, and alert on specific events).
@@ -38,15 +38,15 @@ You can also use the [Azure Cloud Shell](https://shell.azure.com), which include
38
38
39
39
Azure AD B2C leverages [Azure Active Directory monitoring](../active-directory/reports-monitoring/overview-monitoring.md). To enable *Diagnostic settings* in Azure Active Directory within your Azure AD B2C tenant, you use [delegated resource management](../lighthouse/concepts/azure-delegated-resource-management.md).
40
40
41
-
You authorize a user in your Azure AD B2C directory (the **Service Provider**) to configure the Azure Monitor instance within the tenant that contains your Azure subscription (the **Customer**). To create the authorization, you deploy an [Azure Resource Manager](../azure-resource-manager/index.yml) template to your Azure AD tenant containing the subscription. The following sections walk you through the process.
41
+
You authorize a user or group in your Azure AD B2C directory (the **Service Provider**) to configure the Azure Monitor instance within the tenant that contains your Azure subscription (the **Customer**). To create the authorization, you deploy an [Azure Resource Manager](../azure-resource-manager/index.yml) template to your Azure AD tenant containing the subscription. The following sections walk you through the process.
42
42
43
-
## Create a resource group
43
+
## Create or choose resource group
44
44
45
-
In the Azure Active Directory (Azure AD) tenant that contains your Azure subscription (*not*the directory that contains your Azure AD B2C tenant), [create a resource group](../azure-resource-manager/management/manage-resource-groups-portal.md#create-resource-groups). This resource group will contain your [Azure storage account](../storage/blobs/storage-blobs-introduction.md), [event hub](../event-hubs/event-hubs-about.md), or [Log Analytics workspace](../azure-monitor/platform/resource-logs-collect-workspace.md) where you want to archive the sign-in and auditing logs. Alternatively use an existing resource group, where you have your Azure storage account, event hub, or Log Analytics workspace. To create a new resource group, use the following values:
45
+
This is the resource group containing the destination Azure storage account, event hub, or Log Analytics workspaceto receive data from Azure Monitor. You specify the resource group name when you deploy the Azure Resource Manager template.
46
46
47
-
***Subscription**: Select your Azure subscription.
48
-
***Resource group**: Enter name for the resource group. For example, *azure-ad-b2c-monitor*.
49
-
***Region**: Select an Azure location. For example, *Central US*.
47
+
[Create a resource group](../azure-resource-manager/management/manage-resource-groups-portal.md#create-resource-groups) or choose an existing one the Azure Active Directory (Azure AD) tenant that contains your Azure subscription, *not* the directory that contains your Azure AD B2C tenant.
48
+
49
+
This example uses a resource group named *azure-ad-b2c-monitor* in the *Central US* region.
50
50
51
51
## Delegate resource management
52
52
@@ -203,43 +203,44 @@ Once you've deployed the template and have waited a few minutes for the resource
203
203
204
204

205
205
206
+
## Configure diagnostic settings
207
+
208
+
Diagnostic settings define where logs and metrics for a resource should be sent. Possible destinations are:
206
209
207
-
## Choose the destinations
208
-
Diagnostic settings define where resource logs and metrics for a particular resource should be sent. Possible destinations are:
-[Log Analytics workspace](../platform/resource-logs-collect-workspace.md) which allows you to analyze data with other monitoring data collected by Azure Monitor using powerful log queries and also to leverage other Azure Monitor features such as log alerts and visualizations.
211
-
-[Event hubs](../platform/resource-logs-stream-event-hubs.md) to stream data to external systems such as third-party SIEMs and other log analytics solutions.
212
-
-[Azure storage account](../platform/resource-logs-collect-storage.md) which is useful for audit, static analysis, or backup.
214
+
If you haven't already, create an instance of your chosen destination type in the resource group you specified in the [Azure Resource Manager template](#create-an-azure-resource-manager-template).
213
215
214
-
##Configure diagnostic settings
216
+
### Create diagnostic settings
215
217
216
-
After you've delegated resource management and have selected your subscription, you're ready to [Create diagnostic settings](../active-directory/reports-monitoring/overview-monitoring.md) in the Azure portal.
218
+
You're ready to [Create diagnostic settings](../active-directory/reports-monitoring/overview-monitoring.md) in the Azure portal.
217
219
218
220
To configure monitoring settings for Azure AD B2C activity logs:
219
221
220
222
1. Sign in to the [Azure portal](https://portal.azure.com/).
221
223
1. Select the **Directory + Subscription** icon in the portal toolbar, and then select the directory that contains your Azure AD B2C tenant.
222
224
1. Select **Azure Active Directory**
223
225
1. Under **Monitoring**, select **Diagnostic settings**.
224
-
1. If there are existing settings on the resource, you will see a list of settings already configured. Either click**Add diagnostic setting** to add a new setting or **Edit** setting to edit an existing one. Each setting can have no more than one of each of the destination types..
226
+
1. If there are existing settings on the resource, you will see a list of settings already configured. Either select**Add diagnostic setting** to add a new setting, or **Edit** setting to edit an existing one. Each setting can have no more than one of each of the destination types..
225
227
226
228

227
229
228
230
1. Give your setting a name if it doesn't already have one.
229
-
1. Check the box for each destination to send the logs. Click**Configure** to specify their settings as described in the following table.
231
+
1. Check the box for each destination to send the logs. Select**Configure** to specify their settings as described in the following table.
230
232
231
233
| Setting | Description |
232
234
|:---|:---|
233
235
| Archive to a storage account | Name of storage account. |
234
236
| Stream to an event hub | The namespace where the event hub is created (if this is your first time streaming logs) or streamed to (if there are already resources that are streaming that log category to this namespace).
235
237
| Send to Log Analytics | Name of workspace. |
236
-
237
-
1. Select the**AuditLogs** and **SignInLogs**.
238
-
1. Select **Save** to save your settings.
239
-
238
+
239
+
1. Select **AuditLogs** and **SignInLogs**.
240
+
1. Select **Save**.
241
+
240
242
## Next steps
241
243
242
-
For more information about adding and configuring diagnostic settings in Azure Monitor, see this tutorial in the Azure Monitor documentation:
243
-
244
-
-[Tutorial: Stream Azure Active Directory logs to an Azure event hub](./active-directory/reports-monitoring/tutorial-azure-monitor-stream-logs-to-event-hub)
245
-
-[Tutorial: Collect and analyze resource logs from an Azure resource](./azure-monitor/insights/monitor-azure-resource.md)
244
+
For more information about adding and configuring diagnostic settings in Azure Monitor, see [Tutorial: Collect and analyze resource logs from an Azure resource](../azure-monitor/insights/monitor-azure-resource.md).
245
+
246
+
For information about streaming Azure AD logs to an event hub, see [Tutorial: Stream Azure Active Directory logs to an Azure event hub](../active-directory/reports-monitoring/tutorial-azure-monitor-stream-logs-to-event-hub.md).
0 commit comments