Target navigation, news, files, links, and web parts to specific audiences
Applies ToSharePoint Server Subscription Edition SharePoint Server 2019 SharePoint Server 2016 SharePoint in Microsoft 365

Audience targeting helps the most relevant content get to the right audiences. By enabling audience targeting, specific content will be prioritized to specific audiences through SharePoint web parts, page libraries, and navigational links. 

Promote pages, navigational links, cards in the Viva Connections Dashboard, and certain web parts to specific audiences in SharePoint. Enable and apply audience targeting to content to target specific audiences on the SharePoint start page, in news posts, and in the mobile app. Learn more about how audience targeting is set up and seen by others in your organization

  • The following steps are for audience targeting in the modern experience.

  • Azure Active Directory groups (including security groups, Microsoft 365 groups, and AAD dynamic groups) are supported.

  • You must be the site owner to enable audience targeting for a library for the first time.

  • Publish (or republish) to save changes made to existing page content, page metadata, and audience targeting settings in order for audience targeting features to take effect.

  • If you've selected an audience group that you recently created or changed, it may take some time to see targeting applied for that group.

In this article:

  • Enable audience targeting for navigational links in menus

  • Enable audience targeting for a library, page, or folder

  • Enable audience targeting for the News web part, the Quick Links web part, the Highlighted content web part, or the Events web part

  • Enable audience targeting for cards in the Viva Connections dashboard

Enable audience targeting for navigational links in menus

  • The site owner must enable audience targeting for site navigation. Once enabled, any site editor can target menu links to specific audiences.

  • Azure Active Directory (Azure AD) groups (including security groups and Microsoft 365 groups) are supported. Azure AD dynamic groups are partially supported for some tenants.

1. For the menu you want to add audience targeting properties to, select Edit.

  • For Teams sites, the edit option appears at the bottom of the left-hand menu.

  • For communication and hub sites, the edit option appears to the right of the top menu.

2.  At the bottom of the menu, turn the toggle titled Enable site navigation audience targeting to On and select Save. When enabled, audience targeting applies to all menus on the site, including hub and footer menus.

3. Next to the link that you want to target, select the ellipses (...), and then select Edit.

4. In the text box that appears, target up to 10 Microsoft 365 groups or security groups.

When audience targeting is applied to a parent link, audience targeting also gets applied to the sub-links and is only be visible to the groups you specify. 

The Edit dialog box is used to add target audiences. 

5. When you are done editing the link, select OK. An icon confirms the links are being targeted. 

While editing the navigation, all links and sub-links become visible to the editor, including those that are targeted. When saved, the navigation shows the targeted nodes. 

  Under Edit navigation an icon confirms your targeted links.

6. When done, select Save, or to discard changes, select Cancel.

Enable audience targeting for a library, page, or folder

Pages, files, and folders in Site contents can be targeted to specific audiences. Follow these steps for each content type. In the instructions below, audience targeting is being applied to Site pages.

  1. Select Settings, then select Site Contents, and then select Site Pages.

  2. From the page library, select Settings, and then select Audience targeting settings.

Settings page with audience targeting highlighted

4. Select the Enable audience targeting checkbox, and then select OK to return to the previous page. 

5. Next, select the audience. An audience is defined by Microsoft 365 and security groups. If you need to, create a Microsoft 365 group for the members of your audience. Or, if you're a SharePoint administrator, you can create a security group from the Microsoft 365 admin center.

6. From the library, select a page, select the ellipses (...) and then select Details.

7. In the details pane, select a value for the Audience property. Republish to finish applying audience targeting.

Pages detail pane with option to enter an audience

8. In Site Pages, confirm the right audiences are targeted to the right content.

Image of site pages columns confirming audience targeting is turned on

9. Repeat these steps for libraries, folders, and documents.

Enable audience targeting for a web part

Audient targeting can be applied to several different web parts while in edit mode. When you apply audience targeting to a web part, only that audience that is targeted will see the web part contents. If a web part does not have audience targeting applied, all viewers will see the web part contents.

Get specific guidance on how to apply audience targeting to web parts:

The following web parts can be used when Viva Connections is set up for your organization:

Enable audience targeting for cards in the Viva Connections Dashboard

The Viva Connections Dashboard enables you to create a curated experience using Dashboard cards that give your employee's access to their most critical content and tools. These cards are designed to enable quick task completion either by interacting with a card directly or by opening a quick view in the Dashboard.

Learn more about the Viva Connections Dashboard and how to apply audience targeting to cards.

Learn more

Overview of audience targeting 

Learn about Microsoft 365 Groups

Overview

By using target audiences, you can display content such as list or library items, navigation links, and other content to specific groups of people. This is useful when you want to present information that is relevant only to a particular group of people. For example, you can add content to a document library that promoted to one department.

Any item in a SharePoint list or library can be targeted to specific audiences. To do this, you use the Content Query Web Part. Other types of Web Part and their content also can be targeted to audiences.

In addition, you can target site navigation links to audiences. Targeting the links simplifies the users' experience, because they see only the navigation links that are relevant to them.

To identify a target audience, you can use one or more of the following:

  • SharePoint groups

  • Distribution lists

  • Security groups

  • Global audiences

    Global audiences are rules-based audiences that are maintained by SharePoint administrators.

Anyone with at least Contributor permissions can specify a target audience, as long as the name of the audience is known. To search for an audience by its name, alias, or description, in the Target Audiences list, select Browse none.

Top of Page

Target list or library items to an audience

The following procedure shows you an example about how to target all of the items from a specific list where the list type is a document library. The Content Query Web Part also allows you to show all of the items from a site and its sub-sites, or to show items from all sites in a site collection. You can then build a query to include the audience targeting that you set on the items in the sites or site collection.

Targeting items from a list or library to a specific audience requires three steps:

Step 1: Enable audience targeting on the list or library

When you enable audience targeting on a list or library, you can target each item in the list or library to an audience.

If the SharePoint list or library already is enabled for audience targeting, the Target Audiences column appears.

  1. For the item you want to target, select the list or library that contains.

  2. For SharePoint or SharePoint Server 2019, select Settings, and then select List Settings or Document Library Settings.

    Settings menu with Library Settings selected or Settings menu with List settings highlighted

    For SharePoint 2016, on the list or library toolbar, select Settings, and then select List Settings or Document Library Settings.

    List Settings on ribbon or SharePoint Library Settings buttons on Ribbon

  3. Under General Settings, select Audience targeting settings.

    Audience targeting settings under General on the library or list settings page
  4. Select the Enable audience targeting checkbox.

    The enable audience targetting check box

Step 2: Specify the target audience on the items

After you enable the list or library for audience targeting, you can set individual items in the list or library to appear to one or more audiences.

  1. For SharePoint or SharePoint Server 2019, to the left of the item you want to change audiences, select that area, select the details Information or Open the details pane button icon, and then select Edit All by properties.

    For SharePoint 2016, next to the name of an item in the list or library, select the arrow or ellipses (...), and then select Edit Properties or Properties. Some versions of SharePoint, you may need to select another set of ellipses (...).

  2. In the Target Audiences list, add one or more audiences.

    Add one or more target audiences

    If content approval or workflow is enabled on the list or library, the item may need to go through the approval process.

  3. Select Save.

Step 3: Display the item in a Web Part for SharePoint 2016

To display a SharePoint list or library item to a specific audience, you can use the Content Query Web Part. The Content Query Web Part allows you to build a query that can filter list and library items.

For SharePoint, Web Parts may not be visible.

This example shows you how to display all of the items from a specific list to a target audience. The list type is document library.

  1. On the page where you want to display the item, select  Button image or Settings SharePoint 2016 Settings button on title bar., and then select Edit Page.

  2. For SharePoint 2016, select the Insert tab, and then select Web Part.

    Insert Web Part
  3. Select Add.

  4. For SharePoint 2016, on the right of the web part, select the down arrow Web Part edit down arrow, and on the menu, select Edit Web Part.

  5. In the tool pane, under Query , do the following:

    Content Query Web Part properties list with three callouts
    1. Select Show items from the following list, and then specify the location of the list.

      In this example, we specify a particular list. You can broaden the scope to include items in lists from more than one site by selecting one of the other options.

    2. Under the required List Type, select the type of list that the item is a member of. In this example, select Document Library. Only items in the list type that you select are processed by the query.

    3. Under Audience Targeting, do the following:

      To

      Do this

      Display the list items to the target audience that you specified in Step 2: Specify the target audience on the items, when the current user is a member of the audience.

      Select the Apply Audience Filtering checkbox. This is required for the query to work properly.

      Display the items in the list that do not have a target audience specified. These items appear to everyone.

      Select the Include items that are not targeted checkbox. This is optional.

      When the page is rendered, the content in the web part appears only to current users who are members of the audiences you specified.

Top of Page

Target a Web Part to an audience

SharePoint web parts can be targeted to appear only to people who are members of a particular group or audience. This way you can create customized pages for specific groups.

As with all Web Parts, the Content Query Web Part has a Target Audiences list in the Advanced section of the tool pane. This setting determines whether the Web Part itself is visible to the current user. If not, none of the other settings apply.

An audience can be identified by using a SharePoint group, a distribution list, a security group, or a global audience.

  1. On the page where you want to display the item, select  Button image or Settings SharePoint 2016 Settings button on title bar., and then select Edit Page.

  2. For SharePoint 2016, on the right of the web part, select the down arrow Web Part edit down arrow, and then select Edit Web Part.

  3. Under Advanced, add one or more audience names to the Target Audiences list.

    Web part properties advanced section with target audience highlighted

When the page is rendered, the web part appears only to the people who are members of the audiences you specified.

Top of Page

Target a navigation link to an audience

A navigation link on a SharePoint server can be targeted so that it appears only to people who are members of a particular group or audience. You need to have at least Design permission to modify the site navigation settings.

  1. On the page where you want to display the item, select  Button image or select Settings SharePoint 2016 Settings button on title bar., and then select Site Settings. If you don't see Site settings, select Site information, and then select View all site settings.

  2. Under Look and Feel, select Navigation, or select Modify Navigation.

  3. Under Structural Navigation: Editing and sorting,on the Site Navigation Settings page, select Add Link.

    Under structural Navigation in Navigation settings, with Add Link hightlighted
  4. In the Navigation Link dialog, enter the Title and URL of the link, and then add one or more audience names to the Audiences list.

    Navigation link properties with OK highlighted.

    For the URL, you can copy one into the clipboard by right clicking the link, and then selecting Copy Shortcut. If you don't have that option in your browser, navigate to the page you want to link to, and copy the address bar.

When the page is rendered, the navigation link appears only to the people who are members of the audiences you specified.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.