Sub topic 8
Audiences and managing app access
This chapter covers how a workspace app decides who sees what. It assumes you can already publish a workspace app (the previous chapter) and know the workspace roles, item permissions, and row-level security (RLS) from earlier chapters. You should also have a Pro or Premium Per User license, or access to a workspace in a capacity.
What an audience is
An audience is a named group of people who get access to a chosen set of content in a workspace app. One app can have several audiences. Each audience can see different reports, dashboards, and other items, and each has its own list of members.
Without audiences, every person with access to the app sees everything in it. With audiences, you publish once and still show different people different content.
You set audiences on the Audiences tab of the app's setup page, which you open from the workspace with Create app or Update app. The first audience is created for you, and it is named after the app by default. You can rename it and add more.
Audiences control visibility, not data
An audience decides which items appear in the app for a person. It does not filter the rows inside a report or semantic model. Two audiences that both include the same report see the same data in it, unless RLS also applies.
This gives you two layers:
- Audience: which reports and dashboards a person sees.
- Row-level security: which rows of data a person sees inside those reports.
Use audiences to hide whole items. Use RLS to restrict data within a shared item. The RLS rule below keeps only the rows whose Email column matches the signed-in user. It works on a table that has an Email column.
[Email] = USERPRINCIPALNAME()Audience membership has no effect on RLS roles. You assign users to RLS roles on the semantic model's security settings, separately from the app.
Creating and configuring audiences
Follow this sequence in the app setup page.
- Open the Content tab and add the items the app should contain. Add every item that any audience will need.
- Open the Audiences tab. Select New audience and give it a name, such as
Sales managers. - In the audience's content list, choose which items it can see. For each item you can show or hide it. Items you do not select stay hidden from that audience.
- In the Manage access pane, add the people or groups who belong to the audience.
- Repeat for other audiences, then select Publish app or Update app.
Audiences are listed in order, and you can reorder them. If a person belongs to more than one audience, they see the combined content of all of them. Access is additive, so one audience cannot take away something another audience grants.
Who can be an audience member
You can add these to an audience:
- Individual users, by name or email address.
- Microsoft Entra security groups.
- Microsoft 365 groups.
- Mail-enabled security groups.
- The whole organization, by choosing the option to give access to everyone in your organization.
Prefer groups to individuals. When a person joins or leaves a team, you change the group once in Microsoft Entra ID, and every app that uses the group follows. If you list individuals, you must edit each app by hand and republish.
Content that audiences can hide
Audiences can show or hide reports, dashboards, and other app items. The navigation of the app is built per audience, so a hidden report does not appear in that audience's navigation. You can also organize items into sections, and a section appears only if at least one of its items is visible to the audience.
A hidden item is hidden from the app only. The person might still reach the item another way, for example through a share link or a workspace role. See the section on mixed access below.
Permissions for app consumers
For each audience, the access settings include extra permissions that apply to the underlying semantic models. The options depend on your tenant's settings, but the common ones are:
| Setting | What it allows | When to use it |
|---|---|---|
| Allow users to share the app | Members can share the app, which gives people access to the same audience. | Small teams where members onboard each other. |
| Allow users to share the semantic models in the app | Members can share the models with others. | Rarely. It widens access to the model. |
| Allow users to build content with the semantic models | Grants the Build permission, so members can create their own reports and use Analyze in Excel. | Analysts who need self-service on a certified model. |
| Allow users to make a copy of the reports | Members can save copies of reports into their own workspace. | Self-service report authors. |
Each setting applies to an audience, so you can give Build permission to analysts and leave it off for executives. Turn these on only when you need them. Build permission lets a person query the full semantic model, which can expose more data than the visible report pages do.
Install the app automatically
You can also choose to install the app automatically for the audience. This pushes the app into each member's Apps list, so they do not need to find it. Automatic installation applies only to people who have a Pro or Premium Per User license, or who work in a capacity that allows free users. The setting can also be limited by your Power BI administrator. Use it for apps that everyone in a group needs, and avoid it for optional content so that Apps lists do not become cluttered.
Managing access after publishing
You can change who has access to an app without republishing the content itself, but you must use the right place.
- Add or remove audience members: Go to the workspace, open the app's Manage audience access option, and edit the list. Select Save. Changes to members take effect without a full republish.
- Change which items an audience sees: Select Update app, edit the audience's content, and publish again. This also pushes any new content changes to everyone.
- Remove the app entirely: Use Unpublish app in the workspace. All consumers lose access to the app, but the workspace content stays.
Because Update app republishes everything, plan edits to content separately from edits to access. A report you changed in the workspace is not visible in the app until you select Update app. People who are in the app see the last published version.
Order of operations when you restructure audiences
- Add the new audience and its members first.
- Verify the content list for the new audience.
- Remove members from the old audience.
- Publish with Update app.
This order avoids a gap in which someone loses access before their new access exists.
Mixed access: when an app is not the only door
A person can reach the same report through several routes. The workspace role, a share link, and an app audience are separate grants. Removing one does not remove the others.
For example, a person is in the Sales managers audience and also holds a Viewer role in the workspace. If you remove them from the audience, they still see the content in the workspace through the Viewer role. To cut off access fully, check all of these:
- The app's audiences.
- The workspace roles, including roles given through a group.
- Direct item permissions and share links on the report, dashboard, and semantic model.
- RLS role membership on the semantic model.
The usual design is to keep most consumers out of the workspace entirely. Give workspace roles only to people who build and manage content, and give everyone else access through the app. That way, audiences are the single place to manage consumer access.
Note that workspace members with the Admin, Member, or Contributor role are not restricted by RLS in most cases, because those roles can edit the model. Only Viewer access and app access are filtered by RLS. Test RLS with a consumer account, or with the View as feature, and not with your own owner account.
Common errors
- A member sees an empty app or a missing report. The report is not selected for their audience. Open the audience and check the item is visible, then update the app.
- A new member cannot open the app. The app was not updated after you added them, they lack a license, or the group membership has not yet synchronized. Group changes can take some time to apply.
- A person who was removed still sees content. They have access through a workspace role, a share link, or direct item permission. Check each door.
- A person sees all the data in an app report. They may hold a workspace role that bypasses RLS, or they may not be in any RLS role. Confirm the role membership on the semantic model.
- A change to a report does not appear in the app. You did not select Update app after the change.
- The app links stop working after you rename the app. The app URL can change when you republish under a new identity, so share the current link from the app's Copy link option and not an old copy.
Practice
Exercise
An app has two audiences. "Finance" sees the Budget report and the Sales report. "Sales" sees only the Sales report. Priya is in both audiences. Which reports does she see, and why?
Show answer
She sees both reports. A person in several audiences gets the combined content of all of them, because audience access is additive and one audience cannot remove what another grants.
Exercise
You remove Tom from the "Regional managers" audience, but he can still open the Sales report. Name three places you should check.
Show answer
Check his workspace role, including any role granted through a group. Check direct item permissions and share links on the report and its semantic model. Check whether he belongs to another audience of the same app. Each is a separate grant, and removing the audience membership removes only one of them.
Exercise
You edited a report in the workspace this morning, but app consumers still see the old version. What do you do?
Show answer
Open the workspace, select Update app, confirm the audience content, and publish. Consumers see the last published version of the app until you update it.