You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-service-manager/how-to-create-user-assigned-managed-identity.md
+17-21Lines changed: 17 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
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.
4
4
author: msftadam
5
5
ms.author: adamdor
6
6
ms.date: 6/9/2025
7
7
ms.topic: how-to
8
8
ms.service: azure-operator-service-manager
9
9
---
10
10
11
-
# Create, assign and use a User Assigned Managed Identity
11
+
# Create, assign, and use a User Assigned Managed Identity
12
12
13
13
In this how-to guide, you learn to:
14
14
- 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:
26
26
27
27
- 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.
28
28
29
-
## Create a UAMI via portal
29
+
## Create a UAMI
30
30
31
31
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.
32
32
33
-
## Assign custom role to UAMI via portal
33
+
## Create a custom role and assign to UAMI
34
34
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.
36
36
37
-
### Choose scope for assigning custom role
37
+
### Scope considerations for UAMI custom role
38
38
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 resourcesmust be assigned to the custom role:
40
40
41
41
- All the Network Function Definition Groups (NFDG) and versions.
42
42
- 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
48
48
49
49
The UAMI needs the following individual permissions to execute required SNS operations:
If using a parent resource scope approach, then the required permissions would be applied to the parent resource.
66
66
67
67
> [!NOTE]
68
68
> Don't provide write or delete access to any of these publisher resources.
69
69
70
-
### Assign custom role
70
+
### Assign custom role via portal
71
71
72
72
1. Access the Azure portal and open your chosen resource scope; for example, Publisher Resource Group or Network Function Definition Version.
73
73
@@ -87,11 +87,11 @@ If using a parent resource scope approach, then the required permissions would b
87
87
88
88
6. Select **Review and assign**.
89
89
90
-
### Repeat the role assignment
90
+
####Repeat the role assignment
91
91
92
92
Repeat the role assignment process for any remaining resources given the chosen scope approach.
93
93
94
-
## Assign Managed Identity Operator role to the Managed Identity itself
94
+
###Assign managed identity operator role via portal
95
95
96
96
1. Go to the Azure portal and search for **Managed Identities**.
97
97
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
110
110
111
111
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.
112
112
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
-
117
113
## Create and assign permissions to a UAMI via bicep
118
114
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.
0 commit comments