WordPress + Office 365 login

plugin banner

WordPress + Office 365 login allows Microsoft O365 users to seemlessly and securely log on to your corporate WordPress intranet: No username or passwo …

Author:marco@wpo365.com (profile at wordpress.org)
WordPress version required:4.8.1
WordPress version tested:5.4.2
Plugin version:10.10
Added to WordPress repository:28-09-2017
Last updated:26-06-2020
Rating, %:96
Rated by:32
Plugin URI:https://www.wpo365.com/downloads/wordpress-of...
Total downloads:31 364
Active installs:1 000+
plugin download
Click to start download

WordPress + Office 365 login allows Microsoft O365 users to seamlessly and securely log on to your corporate WordPress intranet: No username or password required. Why you need this, you may wonder. Because this way you can ensure that your corporate content such as news, documents etc. that is normally classified as “Internal” or maybe even “Confidential” is not available to just any pair of curious unauthenticated eyes!

Plugin Features

BASIC (free)

  • Single Sign-on for (manually registered) Office 365 / Azure AD accounts more
  • Make your WordPress (intranet) private more
  • Support for WordPress multisite more
  • Client-side solutions can request access tokens e.g. for SharePoint Online and Microsoft Graph more
  • Developers can include a simple and robust API from npm more
  • Authors can inject Pintra Framework apps into any page or post using a simple WordPress shortcode more

Now all editions of the plugin include four new modern Microsoft (Office) 365 apps

  • SharePoint Online Library more
  • SharePoint Online Search more
  • Employee Directory (Microsoft Graph / Azure AD) more
  • Microsoft Power BI more


  • All features of the BASIC edition, plus …
  • Automatically register any Office 365 / Azure AD user from your tenant more


  • All features of the PLUS+ edition, plus …
  • Let users choose to login with O365 or with WordPress more
  • Require authentication for only a few pages more
  • Require authentication for all pages but not for the homepage more
  • Redirect users to a custom login error page more
  • Allow users from other Office 365 tenants to register (extranet) more
  • Allow users with a Microsoft Services Account e.g. outlook.com to register (extranet) more
  • Prevent Office 365 user from changing their WordPress password and / or email address more
  • Intercept manual login attempts for Office 365 users more
  • Sign out a user from Office 365 when signin out from your website more


  • All features of the PROFESSIONAL edition, plus …
  • (Scheduled) user synchronization from Azure AD to WordPress (per user or in batches) more
  • Update WordPress user profiles and WordPress role(s) (per user or in batches) more
  • Schedule user synchronization from Azure AD to WordPress at regular (daily or weekly) intervals more
  • Review WordPress users without a matching Azure AD account more
  • Enrich a user’s WordPress / BuddyPress profile with information from Azure AD e.g. job title, department and mobile phone more
  • Replace a user’s default WordPress avatar with a profile image downloaded from Office 365 more
  • Dynamically assign WordPress user role(s) based on Azure AD group membership(s) more
  • Deny / allow access based on a user’s Azure AD group membership(s) more
  • Place a customizable “Sign in with Microsoft” link on a post, page or theme using a simple shortcode more


  • All features of the PREMIUM edition, plus …
  • Support for Azure AD User provisioning (SCIM) more
  • Advanced versions of the INTRANET apps that can be customized using Handlebars.js templates more
  • SharePoint Online / OneDrive Library with support for folder and breadcrumb navigation more
  • Recently used documents more
  • SharePoint Online Search with support for query templates, auto-search, templates and more
  • Employee Directory with a builtin interactive clickable org(anizational) chart incl. support for user profile images and additional fields (Microsoft Graph / Azure AD) more
  • Microsoft Power BI more
  • Yammer feed(s) more


  • Make sure that you have disabled caching for your Website in case your website is an intranet and access to WP Admin and all pubished pages and posts requires authentication. With caching enabled, the plugin may not work as expected
  • We have tested our plugin with WordPress 4.8.1 and PHP >= 5.6.25
  • You need to be (Office 365) Tenant Administrator to configure both Azure Active Directory and the plugin
  • You may want to consider restricting access to the otherwise publicly available wp-content directory


We will go to great length trying to support you if the plugin doesn’t work as expected. Go to our Support Page to get in touch with us. We haven’t been able to test our plugin in all endless possible WordPress configurations and versions so we are keen to hear from you and happy to learn!


We are keen to hear from you so share your feedback with us on Twitter and help us get better!

Open Source

When you’re a developer and interested in the code you should have a look at our repo over at WordPress.