Sub topic 3
Workspace roles and who can publish
This chapter assumes you can build a simple report in Power BI Desktop and sign in to the Power BI service with a work or school account. It also assumes you know what a workspace is, which the previous chapter covered. Here you will learn which workspace role allows publishing, how to check your own role, and which errors appear when your role is too low.
Why roles decide who can publish
A workspace role is a permission level assigned to a person or group within one workspace. Roles apply per workspace. You can be an Admin in one workspace and a Viewer in another.
Publishing from Power BI Desktop writes new items into a workspace. The service only allows that if your role in the target workspace lets you create and edit content. Your license does not override the role. The licensing requirements are covered in the next chapter.
The four workspace roles
Power BI workspaces have four roles. The list below is ordered from most to least access.
| Role | Can publish and overwrite content | Can manage workspace access | Typical use |
|---|---|---|---|
| Admin | Yes | Yes, including adding other Admins and deleting the workspace | Workspace owner |
| Member | Yes | Yes, can add people with equal or lower roles | Team lead or senior author |
| Contributor | Yes | No | Report author |
| Viewer | No | No | Report consumer |
Admin, Member, and Contributor can all publish. A Contributor can publish new content and update content in the workspace, but cannot add or remove people. A Viewer can open and interact with reports but cannot publish.
Some details depend on workspace settings. For example, a Contributor may be unable to publish an app, and sharing rules can differ. Check your organization's policies if a role behaves differently from this table.
Checking your role before you publish
You can check your role without trying to publish. In the Power BI service:
- Open the workspace from the left navigation pane.
- Select Manage access in the workspace header.
- Find your name, or a group you belong to, in the list and read the role beside it.
If you cannot open Manage access, you are probably a Viewer or Contributor. Contributors can see the workspace but cannot manage its members.
You can also confirm that the workspace is visible to you from PowerShell, as shown in the automation chapter. The command below lists the workspace by name. If it returns nothing, you are not a member of that workspace.
Install-Module -Name MicrosoftPowerBIMgmt -Scope CurrentUser
Connect-PowerBIServiceAccount
Get-PowerBIWorkspace -Name 'Sales Analytics'How the role check happens during publishing
When you select Publish in Power BI Desktop, the service checks your role in the destination workspace. The diagram shows the possible outcomes.
The Publish dialog lists only workspaces where you have a role that allows publishing. If the workspace you expect is missing, the likely cause is that you are a Viewer or not a member at all.
Common errors and how to fix them
- The workspace is missing from the Publish dialog. You are probably not a member, or you are a Viewer. Ask a workspace Admin or Member to give you the Contributor role.
- The publish fails with a permissions message. You may have signed in to Desktop with a different account than the one that holds the role. Sign out, sign in with the correct account, and try again.
- You can publish new reports but not replace an existing one. If another person owns the existing semantic model, you may lack permission to overwrite it. A Contributor can normally update items in the workspace, but tenant or item-level settings can restrict this. Ask an Admin to check.
- You were added to a group but still cannot publish. Group membership changes can take some time to apply. Sign out of Desktop and sign back in, then try again.
- You were given Viewer access through a shared link or app. Sharing a report or app gives read access to that content. It does not give you a workspace role.
Choosing the right role
Use the lowest role that lets a person do their work.
- Give Viewer to people who only read reports.
- Give Contributor to authors who publish and update reports but should not manage access.
- Give Member to people who also need to add authors to the workspace.
- Give Admin to a small number of owners, ideally at least two so that access is not lost when one leaves.
Exercise
A colleague builds a report in Power BI Desktop and wants to publish it to the "Sales Analytics" workspace. The workspace does not appear in their Publish dialog, but they can open a report from that workspace through a shared link. What is the most likely cause, and what is the minimum role you should ask an Admin to assign?
Show answer
The shared link gives read access to that report only. It does not make your colleague a workspace member, or they may be a Viewer. Either way, they cannot publish. The minimum role that allows publishing is Contributor, so ask an Admin or Member to assign it.