Skip to content

Commit c9c4c94

Browse files
authored
Update how-to-create-user-assigned-managed-identity.md
score corrections
1 parent 7ccb663 commit c9c4c94

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

articles/operator-service-manager/how-to-create-user-assigned-managed-identity.md

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
title: How to create, assign and use a User Assigned Managed Identity in Azure Operator Service Manager
3-
description: Learn how to create, assign and use a User Assigned Managed Identity in Azure Operator Service Manager.
2+
title: How to create, assign, and use a User Assigned Managed Identity in Azure Operator Service Manager
3+
description: Learn how to create, assign, and use a User Assigned Managed Identity in Azure Operator Service Manager.
44
author: msftadam
55
ms.author: adamdor
66
ms.date: 6/9/2025
77
ms.topic: how-to
88
ms.service: azure-operator-service-manager
99
---
1010

11-
# Create, assign and use a User Assigned Managed Identity
11+
# Create, assign, and use a User Assigned Managed Identity
1212

1313
In this how-to guide, you learn to:
1414
- Create a User Assigned Managed Identity (UAMI) to use with Azure Operator Service Manager (AOSM)
@@ -26,17 +26,17 @@ In this how-to guide, you learn to:
2626

2727
- You need either the 'Owner' or 'User Access Administrator' role over the Network Function Definition Version resource from your chosen Publisher. You also must have a Resource Group over which you have the 'Owner' or 'User Access Administrator' role assignment.
2828

29-
## Create a UAMI via portal
29+
## Create a UAMI
3030

3131
First, create a UAMI. Refer to [Create a User Assigned Managed Identity for your SNS](/azure/active-directory/managed-identities-azure-resources/how-manage-user-assigned-managed-identities?pivots=identity-mi-methods-azp) for details.
3232

33-
## Assign custom role to UAMI via portal
33+
## Create a custom role and assign to UAMI
3434

35-
Next, assign a custom role to your new UAMI. Choose a scope-based approach and then allow the proper permission across that scope.
35+
Next, create a custom role. Start by considering the best scope-based approach, then create and assign the role to your new UAMI.
3636

37-
### Choose scope for assigning custom role
37+
### Scope considerations for UAMI custom role
3838

39-
Either assign the custom role individually to a child resource, like an NFDV, or to a parent resource, such as the publisher resource group or Network Function Definition Group (NFDG). Assigning the role to a parent resource grants equal access over all child resources. For proper SNS operations, either the parent resource must include all below resources, or the following resources must be assigned the custom role individually:
39+
The custom role must be assigned sufficient permissions to access user resourcecs. The custom role can be scoped to individual child resources, like an NFDV, for the most granual control. Or, the custom role can be scope to a parent resource, such as the publisher resource group, which grants equal access over all child resources. For proper operations, either individually or via parent, all below resources must be assigned to the custom role:
4040

4141
- All the Network Function Definition Groups (NFDG) and versions.
4242
- All the Network Function Definition (NFD) and versions.
@@ -48,26 +48,26 @@ Either assign the custom role individually to a child resource, like an NFDV, or
4848

4949
The UAMI needs the following individual permissions to execute required SNS operations:
5050

51-
- On the NFDV
51+
- On the NFD;
5252
- Microsoft.HybridNetwork/publishers/networkFunctionDefinitionGroups/networkFunctionDefinitionVersions/use/**action**
5353
- Microsoft.HybridNetwork/Publishers/NetworkFunctionDefinitionGroups/NetworkFunctionDefinitionVersions/**read**
54-
- On the NSDV
54+
- On the NSD;
5555
- Microsoft.HybridNetwork/publishers/networkServiceDesignGroups/networkServiceDesignVersions/use/action
5656
- Microsoft.HybridNetwork/publishers/networkServiceDesignGroups/networkServiceDesignVersions/**read**
57-
- On the CGS
57+
- On the CGS;
5858
- Microsoft.HybridNetwork/Publishers/ConfigurationGroupSchemas/**read**
59-
- On the custom location
59+
- On the custom location;
6060
- Microsoft.ExtendedLocation/customLocations/deploy/**action**
6161
- Microsoft.ExtendedLocation/customLocations/**read**
62-
- In addition, the UAMI need access on itself
62+
- In addition, the UAMI need access on itself;
6363
- Microsoft.ManagedIdentity/userAssignedIdentities/assign/**action**
6464

6565
If using a parent resource scope approach, then the required permissions would be applied to the parent resource.
6666

6767
> [!NOTE]
6868
> Don't provide write or delete access to any of these publisher resources.
6969
70-
### Assign custom role
70+
### Assign custom role via portal
7171

7272
1. Access the Azure portal and open your chosen resource scope; for example, Publisher Resource Group or Network Function Definition Version.
7373

@@ -87,11 +87,11 @@ If using a parent resource scope approach, then the required permissions would b
8787

8888
6. Select **Review and assign**.
8989

90-
### Repeat the role assignment
90+
#### Repeat the role assignment
9191

9292
Repeat the role assignment process for any remaining resources given the chosen scope approach.
9393

94-
## Assign Managed Identity Operator role to the Managed Identity itself
94+
### Assign managed identity operator role via portal
9595

9696
1. Go to the Azure portal and search for **Managed Identities**.
9797
2. Select *your-identity* from the list of **Managed Identities**.
@@ -110,13 +110,9 @@ Repeat the role assignment process for any remaining resources given the chosen
110110

111111
Completion of all the tasks outlined in this article ensures that the Site Network Service (SNS) has the necessary permissions to function effectively within the specified Azure environment.
112112

113-
### Assign other required permissions to the Managed Identity
114-
115-
Repeat this process to assign any other permissions to the Managed Identity that your Network Service Designer identified.
116-
117113
## Create and assign permissions to a UAMI via bicep
118114

119-
The required operations to create and assign permissions are also supported via bicep scripting. This approach may work better where automation of these operations within a workflow pipeline is neccesary. The following example demonstrates the bicep operations required to establish the UAMI with minimum assigned roles. It will be neccesary to expand role assignment based on scope approach.
115+
The required operations to create and assign permissions are also supported via bicep scripting. This approach may work better where automation of these operations within a workflow pipeline is necessary. The following example demonstrates the bicep operations required to establish the UAMI with minimum assigned roles. Expand role assignment, as necessary, based on scope approach.
120116

121117
```bicep
122118
// ----------- MIO Role Definition -----------

0 commit comments

Comments
 (0)