Your GenAIOps team runs an evaluation pipeline under a user-assigned managed identity named id-eval-pipeline. The pipeline must create and update dashboards in an Azure Managed Grafana workspace named graf-genaiops.
Requirements:
- The identity must be able to view and edit dashboards in the workspace.
- The identity must not be able to manage data sources, Grafana teams or component permissions.
- You hold the User Access Administrator role on the workspace and must make the change in the Azure portal.
Which actions should you perform, in order, to give id-eval-pipeline the required access?
You didn't answer this one.
graf-genaiops Azure Managed Grafana workspace.id-eval-pipeline, and confirm with Select.Azure Managed Grafana uses Azure RBAC, so a managed identity gets workspace access through a role assignment made on the workspace's Access control (IAM) page. Grafana Editor lets the identity view and edit dashboards and alerts. Grafana Admin would also allow managing data sources, teams and component permissions, which the requirements exclude. Grafana Viewer is read-only. The portal flow is fixed: open the workspace, start Add role assignment, pick the role, pick the managed identity, then Review + assign.
- Step 1: In the Azure portal, open the
graf-genaiopsAzure Managed Grafana workspace. Role assignments for the workspace are made from the workspace resource itself, so it must be opened before anything else can be done. - Step 2: Select Access control (IAM) in the left menu, then select Add role assignment. The Access control (IAM) blade is a menu of the open workspace, so it is available only after step 1.
- Step 3: Select the Grafana Editor role, then select Next. The role list appears only after Add role assignment is started. Grafana Editor allows viewing and editing dashboards, which meets the requirement without the data source and permission management that Grafana Admin includes.
- Step 4: Choose Managed identity, choose Select members, pick
id-eval-pipeline, and confirm with Select. The member selection page is shown only after a role has been chosen and Next selected in step 3. - Step 5: Select Next, then Review + assign to create the role assignment. The assignment can be completed only after both the role and the member have been selected; this action creates it.
- Not needed: Select the Grafana Admin role, then select Next. Grafana Admin includes managing data sources and administering teams and component permissions, which the scenario says the identity must not be able to do.
- Not needed: Select the Grafana Viewer role, then select Next. Grafana Viewer allows viewing the workspace, dashboards and alerts only, so the pipeline could not create or update dashboards.
- Not needed: In the Grafana portal, open a dashboard and go to Settings > Permissions > Add a permission to give the identity edit permission. Not needed: the Grafana Editor role at workspace scope already allows editing dashboards. Editing component permissions also requires the Grafana Admin role, which you do not hold.