As soon as you added the named constant WPO_AAD_x to your WordPress website’s wp-config.php file, WPO365 will automatically detect the IdP configuration.
To validate the changes that you applied to your website’s wp-config.php, proceed as follows.
- Navigate to WP Admin > WPO365.
- Once the WPO365 configuration pages have loaded, you should see a message bar informing you, that WPO365 AAD options defined in WP-config.php will be used instead.
![The message bar above the WPO365 configuration pages informing the administrator that AAD options defined in wp-config.php will be used instead.](https://tutorials.wpo365.com/wp-content/uploads/2024/03/image-1-1024x175.png)
![](http://tutorials.wpo365.com/wp-content/uploads/2023/10/bulb.png)
Troubleshooting If the message bar is missing, then WPO365 did not detect the configuration that you added to your wp-config.php. Possibly, the array that you added is not parseable or you have defined the wrong name for the name constant.
- Continue to the Plugin self-test, run it and analyze the result to ensure that WPO365 is working as expected.