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
**Draft version** Adding clarification regrind the resource group + steps how to configure the monitor + fixing the broken link on the "next step" section.
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/azure-monitor.md
+26-5Lines changed: 26 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.workload: identity
11
11
ms.topic: conceptual
12
12
ms.author: marsma
13
13
ms.subservice: B2C
14
-
ms.date: 02/05/2020
14
+
ms.date: 02/07/2020
15
15
---
16
16
17
17
# Monitor Azure AD B2C with Azure Monitor
@@ -42,7 +42,7 @@ You authorize a user in your Azure AD B2C directory (the **Service Provider**) t
42
42
43
43
## Create a 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). Use the following values:
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:
46
46
47
47
***Subscription**: Select your Azure subscription.
48
48
***Resource group**: Enter name for the resource group. For example, *azure-ad-b2c-monitor*.
@@ -203,6 +203,14 @@ Once you've deployed the template and have waited a few minutes for the resource
203
203
204
204

205
205
206
+
207
+
## Choose the destinations
208
+
Diagnostic settings define where resource logs and metrics for a particular resource should be sent. Possible destinations are:
209
+
210
+
-[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.
213
+
206
214
## Configure diagnostic settings
207
215
208
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.
@@ -213,12 +221,25 @@ To configure monitoring settings for Azure AD B2C activity logs:
213
221
1. Select the **Directory + Subscription** icon in the portal toolbar, and then select the directory that contains your Azure AD B2C tenant.
214
222
1. Select **Azure Active Directory**
215
223
1. Under **Monitoring**, select **Diagnostic settings**.
216
-
1.Select **+ Add diagnostic setting**.
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..
217
225
218
226

219
227
228
+
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.
230
+
231
+
| Setting | Description |
232
+
|:---|:---|
233
+
| Archive to a storage account | Name of storage account. |
234
+
| 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
+
| Send to Log Analytics | Name of workspace. |
236
+
237
+
1. Select the **AuditLogs** and **SignInLogs**.
238
+
1. Select **Save** to save your settings.
239
+
220
240
## Next steps
221
241
222
242
For more information about adding and configuring diagnostic settings in Azure Monitor, see this tutorial in the Azure Monitor documentation:
223
-
224
-
[Tutorial: Collect and analyze resource logs from an Azure resource](/azure-monitor/learn/tutorial-resource-logs.md)
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)
0 commit comments