Connect with Wordfence Central
Problem Connecting your WordPress website with Wordfence fails when you have enabled WPO365 SSO.
Resolution It is possible that WPO365 is blocking access to any front-end resource when you choose the Intranet Authentication Scenario. To facilitate a connection to its custom REST API endpoint, which the Wordfence plugin has configured for your site, you need to permit unauthenticated access to that endpoint. You can achieve this by adding the path /wp-json/wordfence/v1 to the List of pages freed from authentication on the plugin's Single Sign-on page, as shown below.