Skip to content

Commit b00435b

Browse files
committed
moving removal info to new topic
1 parent ecda1d0 commit b00435b

File tree

3 files changed

+92
-3
lines changed

3 files changed

+92
-3
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
title: Remove access to a delegation
3+
description: Learn how to onboard a customer to Azure delegated resource management, allowing their resources to be accessed and managed through your own tenant.
4+
ms.date: 04/23/2020
5+
ms.topic: conceptual
6+
---
7+
8+
# Remove access to a delegation
9+
10+
This article explains how you, as a service provider, can remove access to a subscription or resource group that was previously delegated to Azure delegated resource management.
11+
12+
By default, users in the customer's tenant who have the appropriate permissions can remove service provider access to delegated resources in the [Service providers page](view-manage-service-providers.md#add-or-remove-service-provider-offers) of the Azure portal. When they do so, no users in the service provider's tenant will be able to access the resources that had been previously delegated.
13+
14+
If you have onboarded users with the [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role) when onboarding a customer for Azure delegated resource management, those users will also be able to remove the delegation.
15+
16+
> [!TIP]
17+
> We recommend assigning the [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role) when onboarding a customer, so that users in your tenant can [remove access to the delegation](#remove-access-to-a-delegation) later if needed. If this role is not assigned, delegated resources can only be removed by a user in the customer's tenant.
18+
19+
The example below shows an assignment granting the **Managed Services Registration Assignment Delete Role** that can be included in a parameter file:
20+
21+
```json
22+
"authorizations": [
23+
{
24+
"principalId": "cfa7496e-a619-4a14-a740-85c5ad2063bb",
25+
"principalIdDisplayName": "MSP Operators",
26+
"roleDefinitionId": "91c1777a-f3dc-4fae-b103-61d183457e46"
27+
}
28+
]
29+
```
30+
31+
A user with this permission can remove a delegation in one of the following ways.
32+
33+
### Azure portal
34+
35+
1. Navigate to the [My customers page](view-manage-customers.md).
36+
2. Select **Delegations**.
37+
3. Find the delegation you want to remove, then select the trash can icon that appears in its row.
38+
39+
### PowerShell
40+
41+
```azurepowershell-interactive
42+
# Log in first with Connect-AzAccount if you're not using Cloud Shell
43+
44+
# Sign in as a user from the managing tenant directory
45+
46+
Login-AzAccount
47+
48+
# Select the subscription that is delegated - or contains the delegated resource group(s)
49+
50+
Select-AzSubscription -SubscriptionName "<subscriptionName>"
51+
52+
# Get the registration assignment
53+
54+
Get-AzManagedServicesAssignment -Scope "/subscriptions/{delegatedSubscriptionId}"
55+
56+
# Delete the registration assignment
57+
58+
Remove-AzManagedServicesAssignment -ResourceId "/subscriptions/{delegatedSubscriptionId}/providers/Microsoft.ManagedServices/registrationAssignments/{assignmentGuid}"
59+
```
60+
61+
### Azure CLI
62+
63+
```azurecli-interactive
64+
# Log in first with az login if you're not using Cloud Shell
65+
66+
# Sign in as a user from the managing tenant directory
67+
68+
az login
69+
70+
# Select the subscription that is delegated – or contains the delegated resource group(s)
71+
72+
az account set -s <subscriptionId/name>
73+
74+
# List registration assignments
75+
76+
az managedservices assignment list
77+
78+
# Delete the registration assignment
79+
80+
az managedservices assignment delete --assignment <id or full resourceId>
81+
```
82+
83+
## Next steps
84+
85+
- Learn about [cross-tenant management experiences](../concepts/cross-tenant-management-experience.md).
86+
- [View and manage customers](view-manage-customers.md) by going to **My customers** in the Azure portal.

articles/lighthouse/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: What is Azure Lighthouse?
33
description: Azure Lighthouse lets service providers deliver managed services for their customers with higher automation and efficiency at scale.
4-
ms.date: 11/11/2019
4+
ms.date: 04/23/2020
55
ms.topic: overview
66
---
77
# What is Azure Lighthouse?
@@ -15,7 +15,7 @@ Azure Lighthouse offers service providers a single control plane to view and man
1515
Azure Lighthouse helps you to profitably and efficiently build and deliver managed services for your customers. The benefits include:
1616

1717
- **Management at scale**: Customer engagement and life-cycle operations to manage customer resources are easier and more scalable.
18-
- **Greater visibility and precision for customers**: Customers whose resources you're managing will have greater visibility into your actions and precise control over the scope they delegate for management, while your IP is preserved.
18+
- **Greater visibility and precision for customers**: Customers will have greater visibility into your actions and precise control over the scope they delegate for management, including the ability to remove access completely, while your IP is preserved.
1919
- **Comprehensive and unified platform tooling**: Our tooling experience addresses key service provider scenarios, including multiple licensing models such as EA, CSP and pay-as-you-go. The new capabilities work with existing tools and APIs, licensing models, and partner programs such as the [Cloud Solution Provider program (CSP)](https://docs.microsoft.com/partner-center/csp-overview). The Azure Lighthouse options you choose can be integrated into your existing workflows and applications, and you can track your impact on customer engagements by [linking your partner ID](../billing/billing-partner-admin-link-started.md).
2020

2121
There are no additional costs associated with using Azure Lighthouse to manage your customers' Azure resources.
@@ -24,7 +24,7 @@ There are no additional costs associated with using Azure Lighthouse to manage y
2424

2525
Azure Lighthouse includes multiple ways to help streamline customer engagement and management:
2626

27-
- **Azure delegated resource management**: Manage your customers' Azure resources securely from within your own tenant, without having to switch context and control planes. For more info, see [Azure delegated resource management](concepts/azure-delegated-resource-management.md).
27+
- **Azure delegated resource management**: Manage your customers' Azure resources securely from within your own tenant, without having to switch context and control planes. Subscriptions and resource groups can be delegated to specified users and roles in the managing tenant, with the ability to remove access as needed. For more info, see [Azure delegated resource management](concepts/azure-delegated-resource-management.md).
2828
- **New Azure portal experiences**: View cross-tenant info in the new **My customers** page in the [Azure portal](https://portal.azure.com). A corresponding **Service providers** blade lets your customers view and manage service provider access. For more info, see [View and manage customers](./how-to/view-manage-customers.md) and [View and manage service providers](how-to/view-manage-service-providers.md).
2929
- **Azure Resource Manager templates**: Perform management tasks more easily, including onboarding customers for Azure delegated resource management. For more info, see our [samples repo](https://github.com/Azure/Azure-Lighthouse-samples/tree/master/templates) and [Onboard a customer to Azure delegated resource management](how-to/onboard-customer.md).
3030
- **Managed Services offers in Azure Marketplace**: Offer your services to customers through private or public offers, and have them automatically onboarded to Azure delegated resource management, as an alternate to onboarding using Azure Resource Manager templates. For more info, see [Managed services offers in Azure Marketplace](concepts/managed-services-offers.md).

articles/lighthouse/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
- name: View and manage customers
4545
displayName: my customers
4646
href: ./how-to/view-manage-customers.md
47+
- name: Remove access to a delegation
48+
displayName: delete, undelegate
49+
href: ./how-to/remove-delegation.md
4750
- name: Azure Monitor integration
4851
items:
4952
- name: Use Azure Monitor Logs at scale

0 commit comments

Comments
 (0)