One of the latest changes to show up for SharePoint Online is the ability to have audience targeting apply to specific links in your navigation in Modern sites and pages. This means that you can have certain navigational links show up only to specific groups of people who are part of an Active Directory group. Here’s how it works…
In the site navigation, click the Edit link. This will cause the navigation panel to show up on the left side of the page. To enable audience targeting, turn on the Enable site navigation audience targeting option:
When you create a new link (the Plus symbol), the Add panel gives you the option to set Audience Targeting for up to 10 Active Directory groups. Only the people who are part of the group(s) in the list will be able to see the link once you save it:
For more information about navigational audience targeting (and navigation in general), check out this informative page – Customize the navigation on your SharePoint site.