Sub topic 7
Publishing a Workspace App
This chapter assumes you can work in the Power BI service, know the difference between a report, a dashboard, and a semantic model, and have a Pro or Premium Per User license, or access to a workspace in a capacity. It also assumes you know the workspace roles from the earlier chapter. Row-level security and audiences get their own chapters, so they appear here only where they affect publishing.
What a workspace app is
A workspace app is a packaged, read-only copy of selected content from a workspace. You build and test reports and dashboards in the workspace, then publish a chosen subset as an app. Consumers open the app and see a clean navigation experience. They never see your drafts.
The key idea is the separation between the workspace and the app:
- The workspace is where authors work. Edits there are visible only to people with a workspace role.
- The app is a snapshot of the content as of the last publish or update. Consumers see changes only after you update the app.
This separation lets you keep editing a report without breaking what your audience is using.
Prerequisites for publishing
Before you can publish, check these points:
- You need a workspace role that allows publishing. Admin and Member can publish an app. Contributors and Viewers cannot. Check your tenant's current rules, because the permission to publish apps can be restricted by a tenant setting.
- The workspace content must be ready. Only reports, dashboards, and other supported items can be included. Semantic models are not shown to consumers as items, but they must be reachable by the reports.
- Consumers need a way to view content. Either they have a Pro or Premium Per User license, or the workspace is in a capacity that allows viewing without a per-user license, such as Premium capacity or a Fabric capacity of suitable size.
A classic workspace can use apps. The newer workspace experience is the standard one now, so the steps below follow it.
Publishing step by step
- Open the workspace in the Power BI service at app.powerbi.com.
- Select Create app. If an app already exists, the button reads Update app.
- On the Setup tab, enter the app name and a description. Optionally add a logo and a theme color. The name is what consumers see in their app list, so choose something clear.
- In Support information, add a contact so consumers know where to ask questions. You can also set a link to documentation.
- On the Content tab, add the items you want to include. You can reorder them and create sections to group them.
- On the Audience tab, decide who gets access. The next chapter covers audiences in detail. For now, know that you must grant access to at least one person or group, or to the entire organization.
- Select Publish app. Power BI shows a link you can copy and share.
Content you leave out of the app stays private to the workspace. That is the main reason to use an app instead of giving everyone a workspace role.
Navigation
By default, the app shows content in a left-hand navigation pane. On the Navigation step you can build the structure yourself:
- Add a section to group several reports or dashboards under one heading.
- Add a link to an external page, such as internal documentation.
- Hide an item from the navigation if you want it available only through another item.
- Choose a landing page, which is the item consumers see first.
A tidy navigation pane matters more than it seems. Consumers often judge an app by how quickly they find the page they need.
Who can see what
A published app shows consumers the content, but several settings decide how much they can do. Recipients of an app get Read access to the app content. On the Audience tab, you can also set the following permissions for the people who open it:
| Setting | Effect on consumers |
|---|---|
| Allow users to share the app | Consumers can share the app with others. |
| Allow users to build content with the data | Consumers get Build permission on the semantic models behind the reports. |
| Allow users to make a copy of reports | Consumers can save a copy of a report in their own workspace. |
Leave these off unless you have a reason. Each one expands what a consumer can do. Build permission, for example, lets people create their own reports from your semantic model, which may be what you want for a certified dataset and not what you want for sensitive data.
Row-level security and apps
If a report uses row-level security (RLS), the rules still apply when the report is part of an app. A rule such as the following keeps only the rows where the Email column matches the signed-in user:
[Email] = USERPRINCIPALNAME()Two points matter for apps:
- RLS roles apply to consumers who are assigned to the role on the semantic model. A person with an Admin, Member, or Contributor role in the workspace can bypass RLS on semantic models in that workspace, because they have write access. Test RLS with a Viewer or with the View as feature, not with your own author account.
- If a consumer is not assigned to any role on a semantic model that defines roles, they see no data in visuals that use it. This looks like a broken report, and it is one of the most common causes of support requests after publishing.
Updating an app
An app is not live. When you change a report in the workspace, consumers continue to see the previous version until you update the app.
- Make and test your changes in the workspace.
- Open the workspace and select Update app.
- Review the tabs. You can add or remove content, change navigation, or change audiences.
- Select Update app.
Some points about updates:
- Data refreshes are separate from app updates. If a semantic model refreshes on a schedule, consumers see new data without any app update, because the app reports are connected to the same semantic model. Only structural changes, such as new visuals or pages, require an update.
- Consumers may need to refresh their browser to see the change, and may see a short delay.
- Updating does not change the app link. People who bookmarked it keep working access.
- You cannot publish half of a change. An update publishes the full current state of the included items.
If you want to see the effect of a change before consumers do, keep a second workspace for testing. Some teams use a development workspace and a production workspace, and publish the app only from production.
Installing and finding an app
Consumers get an app in one of three ways:
- You share the app link with them, and they open it.
- They find it in Apps in the Power BI navigation pane, under Get apps, if it was published to them or to the whole organization.
- An administrator or an app author installs it for them automatically, if you select the option to Install app automatically. This option only works for users who already have access, and your tenant may restrict it.
Once a consumer opens the app, it appears in their Apps list. They can mark it as a favorite for quicker access.
Common errors when publishing
- The Publish button is missing or disabled. Check your workspace role. Only Admin and Member roles can publish.
- Consumers see "You need access" or similar. Confirm they are on the audience list, either directly or through a group. Group membership can take time to propagate, so a person added a few minutes ago may still be blocked.
- Consumers see an empty report. This usually points to RLS with no role assignment, or a semantic model they cannot reach.
- Consumers cannot open the app because of a license. If the workspace is not in a capacity that allows free viewers, each consumer needs a Pro or Premium Per User license.
- A change you made is not visible. You edited the workspace but did not update the app.
- Content is missing. You did not add the item on the Content tab, or you removed it in a later update.
Apps compared with sharing links
| Question | Share link | Workspace app |
|---|---|---|
| Are edits visible immediately? | Yes | No, only after you update the app |
| Can you bundle many items? | No, one item per link | Yes, with navigation and sections |
| Do consumers need a workspace role? | No | No |
| Can you control audiences separately? | Not by item group | Yes, with audiences |
Choose an app when you have a set of related reports for a stable audience. Choose a link for a quick, one-off share.
Exercises
Exercise
You fixed a typo in a report in the workspace an hour ago, but consumers still see the old title. What step did you miss, and why does a scheduled data refresh not fix this?
Show answer
You did not select Update app. An app is a snapshot of the workspace content at the last publish or update. A scheduled refresh only reloads data in the semantic model, so consumers see new data without an update, but structural changes such as a corrected title only appear after the app is updated.
Exercise
You publish an app with a report that uses row-level security. You open the app as the workspace Admin and see every row. A colleague, who is an app consumer and is not assigned to any role on the semantic model, sees empty visuals. Explain both results.
Show answer
Workspace Admins, Members, and Contributors bypass RLS in the workspace because they have write access, so you see all rows. The colleague is a consumer who is not assigned to any RLS role, so no rows match for them and the visuals are empty. Assign the colleague to a role on the semantic model, and test with a Viewer account or the View as feature.