Skip to content

Commit 289e4ee

Browse files
authored
Merge pull request #112576 from JnHs/jh-lh-removetopic
Separate topic for removing delegations (& related changes)
2 parents 28e2a80 + 5eedadc commit 289e4ee

File tree

9 files changed

+131
-99
lines changed

9 files changed

+131
-99
lines changed

articles/lighthouse/concepts/managed-services-offers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This article describes the **Managed Service** offer type in [Azure Marketplace]
1313

1414
Managed service offers streamline the process of onboarding customers for Azure delegated resource management. When a customer purchases an offer in Azure Marketplace, they'll be able to specify which subscriptions and/or resource groups should be onboarded.
1515

16-
After that, users in your organization will be able to work on those resources from within your organization's tenant, according to the access you defined when creating the offer in the [Cloud Partner Portal](https://cloudpartner.azure.com/). This is done through a manifest that specifies the Azure AD users, groups, and service principals that will have access to customer resources using Azure delegated resource management, along with roles that define their level of access. By assigning permissions to an Azure AD group rather than a series of individual user or application accounts, you can add or remove individual users when your access requirements change.
16+
After that, users in your organization will be able to work on those resources from within your organization's tenant, according to the access you defined when creating the offer. This is done through a manifest that specifies the Azure AD users, groups, and service principals that will have access to customer resources using Azure delegated resource management, along with roles that define their level of access. By assigning permissions to an Azure AD group rather than a series of individual user or application accounts, you can add or remove individual users when your access requirements change.
1717

1818
## Public and private offers
1919

@@ -26,11 +26,11 @@ Public plans let you promote your services to new customers. These are usually m
2626
If appropriate, you can include both public and private plans in the same offer.
2727

2828
> [!IMPORTANT]
29-
> Once a plan has been published as public, you can't change it to private. To control which customers can accept your offer and delegate resources, use a private plan. With a public plan, you can't restrict availability to certain customers or even to a certain number of customers (although you can stop selling the plan completely if you choose to do so). You can [remove access to a delegation](../how-to/onboard-customer.md#remove-access-to-a-delegation) after a customer accepts an offer only if you included an **Authorization** with the **Role Definition** set to [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role) when you published the offer. You can also reach out to the customer and ask them to [remove your access](../how-to/view-manage-service-providers.md#add-or-remove-service-provider-offers).
29+
> Once a plan has been published as public, you can't change it to private. To control which customers can accept your offer and delegate resources, use a private plan. With a public plan, you can't restrict availability to certain customers or even to a certain number of customers (although you can stop selling the plan completely if you choose to do so). You can [remove access to a delegation](../how-to/remove-delegation.md) after a customer accepts an offer only if you included an **Authorization** with the **Role Definition** set to [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role) when you published the offer. You can also reach out to the customer and ask them to [remove your access](../how-to/view-manage-service-providers.md#add-or-remove-service-provider-offers).
3030
3131
## Publish managed service offers
3232

33-
To learn how to publish a managed services offer, see [Publish a Managed Services offer to Azure Marketplace](../how-to/publish-managed-services-offers.md). For general info about publishing to Azure Marketplace using the Cloud Partner Portal, see [Azure Marketplace and AppSource Publishing Guide](../../marketplace/marketplace-publishers-guide.md).
33+
To learn how to publish a managed services offer, see [Publish a Managed Services offer to Azure Marketplace](../how-to/publish-managed-services-offers.md).
3434

3535
## Next steps
3636

articles/lighthouse/concepts/tenants-users-roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ When creating your authorizations, we recommend the following best practices:
3434

3535
- In most cases, you'll want to assign permissions to an Azure AD user group or service principal, rather than to a series of individual user accounts. This lets you add or remove access for individual users without having to update and republish the plan when your access requirements change.
3636
- Be sure to follow the principle of least privilege so that users only have the permissions needed to complete their job, helping to reduce the chance of inadvertent errors. For more info, see [Recommended security practices](../concepts/recommended-security-practices.md).
37-
- Include a user with the [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role) so that you can [remove access to the delegation](../how-to/onboard-customer.md#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.
37+
- Include a user with the [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role) so that you can [remove access to the delegation](../how-to/remove-delegation.md) later if needed. If this role is not assigned, delegated resources can only be removed by a user in the customer's tenant.
3838
- Be sure that any user who needs to [view the My customers page in the Azure portal](../how-to/view-manage-customers.md) has the [Reader](../../role-based-access-control/built-in-roles.md#reader) role (or another built-in role which includes Reader access).
3939

4040
> [!IMPORTANT]

articles/lighthouse/how-to/onboard-customer.md

Lines changed: 3 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Onboard a customer to Azure delegated resource management
33
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/16/2020
4+
ms.date: 04/24/2020
55
ms.topic: conceptual
66
---
77

@@ -102,7 +102,7 @@ az ad sp list --query "[?displayName == '<spDisplayName>'].objectId" --output ts
102102
az role definition list --name "<roleName>" | grep name
103103
```
104104
> [!TIP]
105-
> 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.
105+
> 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-delegation.md) later if needed. If this role is not assigned, delegated resources can only be removed by a user in the customer's tenant.
106106
107107
## Create an Azure Resource Manager template
108108

@@ -275,77 +275,8 @@ Get-AzContext
275275
az account list
276276
```
277277

278-
## Remove access to a delegation
279-
280-
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.
281-
282-
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.
283-
284-
The example below shows an assignment granting the **Managed Services Registration Assignment Delete Role** that can be included in a parameter file:
285-
286-
```json
287-
"authorizations": [
288-
{
289-
"principalId": "cfa7496e-a619-4a14-a740-85c5ad2063bb",
290-
"principalIdDisplayName": "MSP Operators",
291-
"roleDefinitionId": "91c1777a-f3dc-4fae-b103-61d183457e46"
292-
}
293-
]
294-
```
295-
296-
A user with this permission can remove a delegation in one of the following ways.
297-
298-
### Azure portal
299-
300-
1. Navigate to the [My customers page](view-manage-customers.md).
301-
2. Select **Delegations**.
302-
3. Find the delegation you want to remove, then select the trash can icon that appears in its row.
303-
304-
### PowerShell
305-
306-
```azurepowershell-interactive
307-
# Log in first with Connect-AzAccount if you're not using Cloud Shell
308-
309-
# Sign in as a user from the managing tenant directory
310-
311-
Login-AzAccount
312-
313-
# Select the subscription that is delegated - or contains the delegated resource group(s)
314-
315-
Select-AzSubscription -SubscriptionName "<subscriptionName>"
316-
317-
# Get the registration assignment
318-
319-
Get-AzManagedServicesAssignment -Scope "/subscriptions/{delegatedSubscriptionId}"
320-
321-
# Delete the registration assignment
322-
323-
Remove-AzManagedServicesAssignment -ResourceId "/subscriptions/{delegatedSubscriptionId}/providers/Microsoft.ManagedServices/registrationAssignments/{assignmentGuid}"
324-
```
325-
326-
### Azure CLI
327-
328-
```azurecli-interactive
329-
# Log in first with az login if you're not using Cloud Shell
330-
331-
# Sign in as a user from the managing tenant directory
332-
333-
az login
334-
335-
# Select the subscription that is delegated – or contains the delegated resource group(s)
336-
337-
az account set -s <subscriptionId/name>
338-
339-
# List registration assignments
340-
341-
az managedservices assignment list
342-
343-
# Delete the registration assignment
344-
345-
az managedservices assignment delete --assignment <id or full resourceId>
346-
```
347-
348278
## Next steps
349279

350280
- Learn about [cross-tenant management experiences](../concepts/cross-tenant-management-experience.md).
351281
- [View and manage customers](view-manage-customers.md) by going to **My customers** in the Azure portal.
282+
- Learn how to [remove access to a delegation](remove-delegation.md) that was previously onboarded.

articles/lighthouse/how-to/publish-managed-services-offers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Publish a Managed Service offer to Azure Marketplace
33
description: Learn how to publish a Managed Service offer that onboards customers to Azure delegated resource management.
4-
ms.date: 04/08/2020
4+
ms.date: 04/24/2020
55
ms.topic: conceptual
66
---
77

@@ -67,7 +67,7 @@ Complete the following sections in the **Plan Details** section:
6767
|**Is this a private Plan?** | Indicates whether the SKU is private or public. The default is **No** (public). If you leave this selection, your plan will not be restricted to specific customers (or to a certain number of customers); after you publish a public plan, you can't later change it to private. To make this plan available only to specific customers, select **Yes**. When you do so, you'll need to identify the customers by providing their subscription IDs. These can be entered one by one (for up to 10 subscriptions) or by uploading a .csv file (for up to 20,000 subscriptions). Be sure to include your own subscriptions here so you can test and validate the offer. For more information, see [Private SKUs and Plans](../../marketplace/cloud-partner-portal-orig/cloud-partner-portal-azure-private-skus.md). |
6868

6969
> [!IMPORTANT]
70-
> Once a plan has been published as public, you can't change it to private. To control which customers can accept your offer and delegate resources, use a private plan. With a public plan, you can't restrict availability to certain customers or even to a certain number of customers (although you can stop selling the plan completely if you choose to do so). You can [remove access to a delegation](onboard-customer.md#remove-access-to-a-delegation) after a customer accepts an offer only if you included an **Authorization** with the **Role Definition** set to [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role) when you published the offer. You can also reach out to the customer and ask them to [remove your access](view-manage-service-providers.md#add-or-remove-service-provider-offers).
70+
> Once a plan has been published as public, you can't change it to private. To control which customers can accept your offer and delegate resources, use a private plan. With a public plan, you can't restrict availability to certain customers or even to a certain number of customers (although you can stop selling the plan completely if you choose to do so). You can [remove access to a delegation](remove-delegation.md) after a customer accepts an offer only if you included an **Authorization** with the **Role Definition** set to [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role) when you published the offer. You can also reach out to the customer and ask them to [remove your access](view-manage-service-providers.md#add-or-remove-service-provider-offers).
7171
7272
#### Manifest details
7373

@@ -95,7 +95,7 @@ For each **Authorization**, you'll need to provide the following. You can then s
9595
- **Assignable Roles**: This is required only if you have selected User Access Administrator in the **Role Definition** for this authorization. If so, you must add one or more assignable roles here. The user in the **Azure AD Object ID** field will be able to assign these **Assignable Roles** to [managed identities](../../active-directory/managed-identities-azure-resources/overview.md), which is required in order to [deploy policies that can be remediated](deploy-policy-remediation.md). Note that no other permissions normally associated with the User Access Administrator role will apply to this user. If you do not select one or more roles here, your submission will not pass certification. (If you did not select User Access Administrator for this user's Role Definition, this field has no effect.)
9696

9797
> [!TIP]
98-
> To ensure you can [remove access to a delegation](onboard-customer.md#remove-access-to-a-delegation) if needed, include an **Authorization** with the **Role Definition** set to [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role). If this role is not assigned, delegated resources can only be removed by a user in the customer's tenant.
98+
> To ensure you can [remove access to a delegation](remove-delegation.md) if needed, include an **Authorization** with the **Role Definition** set to [Managed Services Registration Assignment Delete Role](../../role-based-access-control/built-in-roles.md#managed-services-registration-assignment-delete-role). If this role is not assigned, delegated resources can only be removed by a user in the customer's tenant.
9999
100100
Once you've completed the info, you can select **New plan** as many times as you need to create additional plans. When you're done, select **Save**, and then continue to the **Marketplace** section.
101101

@@ -111,7 +111,7 @@ Complete the following fields in the **Overview** section:
111111
|**Summary** | Brief purpose or function of your offer. This is usually displayed under the title. Maximum length of 100 characters. |
112112
|**Long Summary** | A longer summary of the purpose or function of your offer. Maximum length of 256 characters. |
113113
|**Description** | More information about your offer. This field has a maximum length of 3000 characters and supports simple HTML formatting. You must include the words "managed service" or "managed services" somewhere in your description. |
114-
|**Marketing Identifier** | A unique URL-friendly identifier. This identifier can only contain lowercase alphanumeric characters and dashes. It will be used in Marketplace URLs for this offer. For example, if your publisher ID is *contoso* and your marketing identifier is *sampleApp*, the URL for your offer in Azure Marketplace will be *https://azuremarketplace.microsoft.com/marketplace/apps/contoso-sampleApp*. |
114+
|**Marketing Identifier** | A unique URL-friendly identifier. This identifier can only contain lowercase alphanumeric characters and dashes. It will be used in Marketplace URLs for this offer. For example, if your publisher ID is *contoso* and your marketing identifier is *sampleApp*, the URL for your offer in Azure Marketplace will be `https://azuremarketplace.microsoft.com/marketplace/apps/contoso-sampleApp`. |
115115
|**Preview Subscription IDs** | Add one to 100 subscription identifiers. The customers associated with these subscriptions will be able to view the offer in Azure Marketplace before it goes live. We suggest including your own subscriptions here so you can preview how your offer appears in the Azure Marketplace before making it available to customers. (Microsoft support and engineering teams will also be able to view your offer during this preview period.) |
116116
|**Useful Links** | URLs related to your offer, such as documentation, release notes, FAQs, etc. |
117117
|**Suggested Categories (Max 5)** | One or more categories (up to five) which apply to your offer. These categories help customers discover your offer in Azure Marketplace and the Azure portal. |

0 commit comments

Comments
 (0)