Skip to content

Commit f164a37

Browse files
Merge pull request #228004 from ElazarK/WI64588-management-group
added prereq
2 parents 787dbac + 96c01c0 commit f164a37

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

articles/defender-for-cloud/onboard-management-group.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,24 @@
22
title: Onboard a management group to Microsoft Defender for Cloud
33
description: Learn how to use a supplied Azure Policy definition to enable Microsoft Defender for Cloud for all the subscriptions in a management group.
44
ms.topic: how-to
5-
ms.date: 01/24/2023
5+
ms.date: 02/21/2023
66
---
77

88
# Enable Defender for Cloud on all subscriptions in a management group
99

1010
You can use Azure Policy to enable Microsoft Defender for Cloud on all the Azure subscriptions within the same management group (MG). This is more convenient than accessing them individually from the portal, and works even if the subscriptions belong to different owners.
1111

12-
To onboard a management group and all its subscriptions:
12+
## Prerequisites
13+
14+
Enable the resource provider `_Microsoft.Security_` for the management group using the following Azure CLI command:
15+
16+
```azurecli
17+
az provider register --namespace Microsoft.Security --management-group-id …
18+
```
19+
20+
## Onboard a management group and all its subscriptions
21+
22+
**To onboard a management group and all its subscriptions**:
1323

1424
1. As a user with **Security Admin** permissions, open Azure Policy and search for the definition `Enable Microsoft Defender for Cloud on your subscription`.
1525

0 commit comments

Comments
 (0)