A user that clicks the (default) WordPress logout link will also be logged out from Office 365. To achieve this the user will be redirected to a Microsoft logout page so that cookies etc. will be deleted. After doing so successfully, Microsoft will optionally redirect to a URL that you can customize.
Launch the WordPress + Office 365 wizard by navigating to WordPress Admin, go to the plugins page and click Configuration. Select the Login / Logout tab and check the box labelled Logout from O365. Immediately below this settings you can enter the URL you want users to be redirected to, once they’re signed out of Office 365. You can do so in the textbox labelled Post sign-out URL.
|Logout from O365||Yes||Yes||Yes|
|post sign-out URL||Yes||Yes||Yes|