Forum Discussion
Retricting Users from seeing a document library
In SharePoint Online, audience targeting option is not available in the web part settings. In earlier versions, this feature only hides the web part but doesn't necessarily restrict access to the library.
As mentioned in the previous reply, you can create a unique permission (go to Advanced settings under Site permissions or Shared With option) for the limited access library so that it doesn't display for users without access.
To clarify...audience targeting is not an option on modern pages, if you create a standard Web Part Page in O365 it will contain the target audience option.
- DeletedJun 14, 2018
Targeting content based on audience is not available Currently but they made an announcement about it @ SharePoint Conference.
https://www.computerworld.com/article/3276648/collaboration/2018-sharepoint-conference-key-announcements-for-information-architects.html
- spucelikJun 14, 2018
Microsoft
Correct, this is for Modern libraries/pages. If you include the Web Part content type in a library and create a new "classic" page with that content type, Audience targeting is available.