@@ -159,7 +159,7 @@ Now that you have an existing environment, you can create your container app and
159
159
160
160
` ` ` azurecli
161
161
az role definition create --role-definition ' {
162
- "Name": "Java Component Dashboard Access ",
162
+ "Name": "<your-role-name> ",
163
163
"IsCustom": true,
164
164
"Description": "Can access managed Java Component dashboards in managed environments",
165
165
"Actions": [
@@ -168,8 +168,8 @@ Now that you have an existing environment, you can create your container app and
168
168
"AssignableScopes": ["/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]
169
169
}'
170
170
` ` `
171
- Please replace the ` AssignableScopes` value with your subscription id.
172
-
171
+ Please replace the ` AssignableScopes` value with your subscription id. And provide a value for ` < your-role-name > ` as the name of the role definition.
172
+
173
173
1. Assign the Custom Role to your accound on managed environment resource.
174
174
175
175
Get the resource id of the managed environment:
@@ -185,9 +185,12 @@ Now that you have an existing environment, you can create your container app and
185
185
` ` ` azurecli
186
186
az role assignment create \
187
187
--assignee < user-or-service-principal-id> \
188
- --role " Java Component Dashboard Access " \
188
+ --role " <your-role-name> " \
189
189
--scope $ENVIRONMENT_ID
190
190
` ` `
191
+ > [! NOTE]
192
+ > < user-or-service-principal-id> usually should be the identity that you use to access Azure Portal.
193
+ > < your-role-name> is the name you assigned in step 1.
191
194
192
195
1. Get the URL of the Eureka Server for Spring dashboard.
193
196
0 commit comments