Feature description
WPO365 Audiences will help you to restrict access to individual WordPress posts and pages either by requiring that a user is signed in or by demanding that the user is a member of a specific audience.
Each audience is a group of users that is dynamically populated with members of one or more Azure AD groups. When you create or edit Audiences you give them a name e.g. “All internal Employees” and you enter one or more Azure AD group IDs. Audiences is a feature that you must be enabled before they can be created, edited and deleted and before they become effective.
Using audiences To restrict access to an individual WordPress post or page the author simply adds a new WPO365 Audiences | PREMIUM Gutenberg block to it as shown below.

When the post or page is published, the block will not be visible to the visitor, but it will do its job. It will ensure that that the user is signed or alternatively did sign in with Microsoft and is a member of a specific audience.
If the user has no permissions to see the page, then the WPO365 plugin will:
- Show a 404 NOT FOUND error when the user has entered the URL directly in the address bar of the browser.
- Remove the page from possible search results.
- Not show the page on archive pages.
Configuring audiences Administrators can create, edit and delete audiences and is a simple as defining a name for the audience and adding one or more Azure AD group IDs to list. In addition, you can define roles and (custom) post types for which the plugin will not apply audiences.

Administering Audiences Users are automatically assigned to an audience by the plugin when the feature is enabled whenever they sign in with Microsoft or users are synchronized from Azure AD (using the WPO365 | LOGIN plugin plus at least one of the extensions / bundles listed below).

Whenever the feature is enabled a new column Audiences is automatically added to the default WordPress Users list, helping administrators to track the current audience assignments on a per-user basis.
Plugins with this feature
The following plugins unlock the WPO365 User synchronization feature:
Documentation
The following knowledge-base article(s) will help with the implementation:
Please note
- For Audiences to work the plugin must be configured to support integration with Microsoft services. Administrators should follow the instructions in this knowledge base article to achieve that.