Skip to content

Commit 8a71d55

Browse files
committed
cross-subscription patching - added two new articles, image and updated TOC
1 parent 9f0cf61 commit 8a71d55

File tree

5 files changed

+123
-1
lines changed

5 files changed

+123
-1
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Cross subscription patching in Azure Update Manager
3+
description: Learn about the overview, benefits, and limitations of cross-subscription patching in Azure Update Manager. Centralize and streamline patch management across multiple Azure subscriptions.
4+
ms.service: azure-update-manager
5+
ms.date: 02/01/2025
6+
ms.topic: conceptual
7+
author: SnehaSudhirG
8+
ms.author: sudhirsneha
9+
---
10+
11+
# Cross-subscription patching in Azure Update Manager
12+
13+
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Linux VMs :heavy_check_mark: On-premises environment :heavy_check_mark: Azure Arc-enabled servers.
14+
15+
Azure Update Management offers a straightforward and efficient solution for managing asset patching within a subscription. However, its capabilities extend far beyond that. With proper configuration, users can manage and apply patches across multiple Azure subscriptions from a centralized location. The capability is beneficial for organizations with resources distributed across various subscriptions, ensuring consistent and streamlined patch management.
16+
17+
## Key benefits of Cross-subscription patching
18+
19+
- **Operational Efficiency**: You can centralize the management of patches, reducing the complexity and time required for patch management. This leads to more streamlined operations.
20+
- **Improved Reliability**: Regular and consistent patching across all subscriptions helps maintain system stability and reduces downtime caused by unpatched vulnerabilities.
21+
22+
## Supported workloads
23+
24+
# [Supported resource type](#tab/sup-resource)
25+
26+
- **Azure Resource Manager (Arc)-connected hosts**: Non-Azure hosts connected to Azure through Arc, subject to [Arc prerequisites](https://learn.microsoft.com/azure/azure-arc/servers/prerequisites) and Azure Update Manager [supported regions](support-matrix.md#azure-arc-enabled-servers)
27+
28+
- **Azure VM** - Native virtual machines created in Azure
29+
30+
# [Supported OS type](#tab/sup-os)
31+
32+
- **Windows**: Cross-subscription patching supports various versions of Windows Server and Windows operating systems. Ensure that your Windows devices are up-to-date and compatible with the patching process. For more information, see [support matrix for Arc-connected hosts](support-matrix-updates#azure-arc-enabled-servers)and [Azure VM for supported images](support-matrix-updates.md#supported-windows-os-images).
33+
34+
- **Linux**: Cross-subscription patching also supports multiple Linux distributions, including most mainstream distributions like Ubuntu, CentOS, and Red Hat Enterprise Linux (RHEL) etc. Make sure that your Linux devices meet the necessary requirements for patching. For more information, see[support matrix for Arc-connected hosts](support-matrix-updates#azure-arc-enabled-servers) and [Azure VM for supported images](support-matrix-updates.md#supported-linux-os-images).
35+
36+
---
37+
38+
> [!NOTE]
39+
> If VMs running unsupported images are included in the schedule, the maintenance configuration (that is, patch job) scheduled fails.
40+
41+
42+
## Limitations
43+
44+
**Rate limits** - For managing a large number of assets through API/SPN (Service Principal Name), be mindful of rate limits and distribute the load among multiple Service Principals to avoid throttling issues.
45+
46+
47+
## Next steps
48+
49+
* Learn more on [how to enable cross-subscription patching either through Azure CLI or portal](enable-cross-subscription-patching.md).
50+
* Learn more about [Dynamic scope](dynamic-scope-overview.md), an advanced capability of schedule patching.
51+
* Learn about [pre and post events](pre-post-scripts-overview.md) to automatically perform tasks before and after a scheduled maintenance configuration.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
title: Enable cross-subscription patching in Azure Update Manager
3+
description: Learn how to enable cross-subscription patching in Azure Update Manager.
4+
ms.service: azure-update-manager
5+
author: SnehaSudhirG
6+
ms.author: sudhirsneha
7+
ms.date: 08/22/2024
8+
ms.topic: how-to
9+
---
10+
11+
# Enable cross subscription patching in Azure Update Manager
12+
13+
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Linux VMs :heavy_check_mark: On-premises environment :heavy_check_mark: Azure Arc-enabled servers.
14+
15+
This article describes how to enable cross-subscription patching either through Azure CLI or portal.
16+
17+
## Enable resource providers in subscription
18+
19+
1. Register the necessary resource providers to your subscription either through Azure CLI or manually via the Azure portal
20+
21+
# [Using Azure CLI](#tab/az-cli)
22+
23+
Open your Azure CLI and enter the following commands:
24+
25+
az provider register --namespace "Microsoft.Insights"
26+
az provider register --namespace "Microsoft.Maintenance"
27+
28+
# [Using Azure portal](#tab/az-portal)
29+
30+
1. Sign in to the [Azure portal](https://portal.azure.com) and go to your subscription.
31+
1. Under **Settings**, select **Resource providers**.
32+
1. Activate both **Microsoft.Insights** and **Microsoft.Maintenance**.
33+
34+
:::image type="content" source="./media/enable-cross-subscription-patching/select-resource-providers.png" alt-text="Screenshot that shows how to select the resource providers from subscription." lightbox="./media/enable-cross-subscription-patching/select-resource-providers.png":::
35+
36+
---
37+
2. Grant necessary roles to your managed identity
38+
39+
- Assign the appropriate roles to your Azure VM and Arc assets to ensure scheduled patching can be managed effectively. The required roles are:
40+
- Scheduled patching contributor
41+
- Reader
42+
- These roles can be granted on the Resource Group or Subscription level if you have resources spread amongst multiple resource groups and want to include them all at once.
43+
- If you have a smaller scope and plan to manage it with a dedicated admin or group, these two roles can be granted to an user or a security group (SG). If you are envisioning a larger scope with automation in place, grant these roles to the API and Service Principal Name (SPN) you use.
44+
45+
3. Scheduling
46+
47+
There are two methods for schedule patching.
48+
49+
# [Using Azure portal](#tab/az-patch-portal)
50+
51+
1. Sign in to the [Azure portal](https://portal.azure.com) and go to **Azure Update Manager**.
52+
1. Under **Resources**, select **Machines**, and then select **Maintenance configurations**.
53+
1. In the **Maintenance Configurations** page, follow the steps to [set up the patching schedule](scheduled-patching.md#schedule-recurring-updates-on-a-single-vm).
54+
55+
# [Using API](#tab/az-patch-cli)
56+
57+
- Use the API to programmatically schedule the patching.
58+
- For schedule patching on VM or Arc assets, locate the assets by using the *resourceId* and *subscription* that they are attached to.
59+
60+
---
61+
## Next steps
62+
63+
* Overview on [cross-subscription patching](cross-subscription-patching.md)
64+
* [Schedule recurring updates](scheduled-patching.md)
65+
* [Manage update settings via portal](manage-update-settings.md)
66+
* [Manage multiple machines using Update Manager](manage-multiple-machines.md)
158 KB
Loading

articles/update-manager/overview.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.service: azure-update-manager
55
ms.custom: linux-related-content, ignite-2024
66
author: SnehaSudhirG
77
ms.author: sudhirsneha
8-
ms.date: 01/27/2025
8+
ms.date: 02/03/2025
99
ms.topic: overview
1010
---
1111

@@ -41,6 +41,7 @@ You can use Update Manager for:
4141
- [VMware machines](https://learn.microsoft.com/azure/azure-arc/vmware-vsphere/)
4242
- [System Center Virtual Machine Manager (SCVMM) machines](https://learn.microsoft.com/azure/azure-arc/system-center-virtual-machine-manager/)
4343
- [Azure Local clusters](https://learn.microsoft.com/azure/azure-local/)
44+
- [Cross-subscription-patching](cross-subscription-patching.md)
4445

4546
These features make Azure Update Manager a powerful tool for maintaining the security and performance of your IT infrastructure.
4647

articles/update-manager/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ items:
4646
href: updates-maintenance-schedules.md
4747
- name: Assessment options
4848
href: assessment-options.md
49+
- name: Cross-subscription patching
50+
href: cross-subscription-patching.md
4951
- name: Overview of Pre and Post Events
5052
href: pre-post-scripts-overview.md
5153
- name: Access Azure Update Manager operations data using Azure Resource Graph
@@ -92,6 +94,8 @@ items:
9294
href: manage-update-settings.md
9395
- name: Schedule updates
9496
href: scheduled-patching.md
97+
- name: Manage cross-subscription patching
98+
href: enable-cross-subscription patching.md
9599
- name: Dynamic scope
96100
items:
97101
- name: Overview

0 commit comments

Comments
 (0)