In previous blogs we learned how to enable footer, set logo and footer text, and add & edit footer links on SharePoint Online Modern Communication site. If you have not gone through that you can use the below links to check it out:
In this blog, we are going to see how we can set audience targeting on the links. So, let's start with the prerequisites:
Prerequisites
We will need the below things to set up audience targeting,
- The site owner must enable audience targeting for site navigation.
Only site owners can turn audience targeting on and off. Once turned on, any site editor can target menu links to specific audiences.
- The Office 365 Admin user must set up Microsoft 365 groups and security groups.
Currently Azure AD dynamic groups & SharePoint site groups are not supported. To overcome this, you can set up SharePoint Modern Teams sites with Office 365 groups and use that group in audience targeting.
Enable & Add Groups in Audience Targeting
Follow the below steps to enable Audience Targeting:
- Scroll to the bottom of the page.
- Click on Edit.
Note
If you do not see this, then you do not have enough permission.
- It will open a new panel in the left side of the screen.
- Enable Site navigation audience targeting.
Note
If you do not see this, then you do not have enough permission.
- Once you enable this setting, you will see audience targeting text box while add, edit links.
- When you start typing, it will provide auto suggest groups. For this blog, I am choosing one of my team site groups for the home link.
- You can select up to 10 groups.
- Click Ok.
- Then you can see audience targeting icon beside the link.
- Click save to save changes.
Note
While editing the navigation, all links and sub links become visible to the editor including those that are targeted. Once saved, the navigation will display to targeted users only.
- You can login as another user and check if the link is hidden.
In the next blog, we will summarize the OOTB Footer pros and cons.