Skip to content

Commit db9c231

Browse files
authored
Merge pull request #109553 from JnHs/jh-lh-monitorlink
add link to monitor sample
2 parents 875e488 + 16ea742 commit db9c231

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

articles/lighthouse/how-to/monitor-delegation-changes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitor delegation changes in your managing tenant
33
description: Learn how to monitor delegation activity from customer tenants to your managing tenant.
4-
ms.date: 03/16/2020
4+
ms.date: 03/30/2020
55
ms.topic: conceptual
66
---
77

@@ -68,7 +68,7 @@ After you've created your service principal account and assigned the Monitoring
6868

6969
Once you've created a new service principal account with Monitoring Reader access to the root scope of your managing tenant, you can use it to query and report on delegation activity in your tenant.
7070

71-
The sample below uses Azure PowerShell to query the past 1 day of activity and reports on any added or removed delegations (or attempts that were not successful). It queries the [Tenant Activity Log](https://docs.microsoft.com/rest/api/monitor/TenantActivityLogs/List) data, then constructs the following values to report on delegations that are added or removed:
71+
[This Azure PowerShell script](https://github.com/Azure/Azure-Lighthouse-samples/tree/master/Azure-Delegated-Resource-Management/tools/monitor-delegation-changes) can be used to query the past 1 day of activity and reports on any added or removed delegations (or attempts that were not successful). It queries the [Tenant Activity Log](https://docs.microsoft.com/rest/api/monitor/TenantActivityLogs/List) data, then constructs the following values to report on delegations that are added or removed:
7272

7373
- **DelegatedResourceId**: The ID of the delegated subscription or resource group
7474
- **CustomerTenantId**: The customer tenant ID

articles/lighthouse/samples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Azure Lighthouse samples and templates
33
description: These samples and Azure Resource Manager templates show you how to onboard customers for Azure delegated resource management and support Azure Lighthouse scenarios.
44
ms.topic: sample
5-
ms.date: 10/17/2019
5+
ms.date: 03/30/2020
66
---
77
# Azure Lighthouse samples
88

includes/azure-lighthouse-samples-monitor.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: lighthouse
55
author: JnHs
66
ms.service: lighthouse
77
ms.topic: include
8-
ms.date: 12/19/2019
8+
ms.date: 03/30/2020
99
ms.author: jenhayes
1010
ms.custom: include file
1111
---
@@ -14,6 +14,7 @@ These samples show how to use Azure Monitor to create alerts for subscriptions t
1414

1515
| **Template** | **Description** |
1616
|---------|---------|
17+
| [monitor-delegation-changes](https://github.com/Azure/Azure-Lighthouse-samples/tree/master/Azure-Delegated-Resource-Management/tools/monitor-delegation-changes) | Queries the past 1 day of activity in a managing tenant and [reports on any added or removed delegations](../articles/lighthouse/how-to/monitor-delegation-changes.md) (or attempts that were not successful).|
1718
| [alert-using-actiongroup](https://github.com/Azure/Azure-Lighthouse-samples/tree/master/Azure-Delegated-Resource-Management/templates/alert-using-actiongroup) | This template creates an Azure alert and connects to an existing Action Group.|
1819
| [multiple-loganalytics-alerts](https://github.com/Azure/Azure-Lighthouse-samples/tree/master/Azure-Delegated-Resource-Management/templates/multiple-loganalytics-alerts) | Creates multiple Log alerts based on Kusto queries.|
1920
| [delegation-alert-for-customer](https://github.com/Azure/Azure-Lighthouse-samples/tree/master/Azure-Delegated-Resource-Management/templates/delegation-alert-for-customer) | Deploys an alert in a tenant when a user delegates a subscription to a managing tenant.|

0 commit comments

Comments
 (0)