Login with Entra ID / Azure SSO & Microsoft Integrations

Description

Login with Azure AD, Azure B2C & Entra ID SSO for WordPress, with Role-Based Access

Login with Azure adds secure Azure AD SSO (now Microsoft Entra ID SSO) to your WordPress site. Users click “Login with Azure”, sign in with their Microsoft work, school or customer account, and land in WordPress already logged in, with the right WordPress role and the right access.

Azure AD, Azure Active Directory and Entra ID are the same Microsoft identity platform. This plugin connects it to WordPress in minutes and then goes further: role-based access control driven by your Azure AD groups, automatic user provisioning, and Microsoft 365 integrations for SharePoint, Power BI, Outlook, Teams, Microsoft Graph email and Dynamics 365.

Use it for an employee intranet with Entra ID, a customer portal with Azure B2C login, a partner or vendor portal with Entra External ID, a learning site, or any WordPress site where your users already have a Microsoft account.

Why use WordPress Azure SSO?

  • One login for everything – users sign in once with Microsoft and reach WordPress and their Microsoft 365 apps without another password.
  • Access follows Azure AD – WordPress roles and content access are set from Entra ID groups and attributes, so you manage access in one place.
  • Enterprise security – authentication happens in Microsoft Entra ID, so your MFA and Conditional Access policies protect WordPress logins too.
  • Less admin work – accounts are created and updated automatically, and leavers lose access when they are removed in Azure AD.
  • Fast, safe setup – paste the Client ID, Client Secret and Tenant ID, then use Test Configuration before going live.

Free features: Azure AD SSO login

  • Azure AD SSO / Entra ID SSO for unlimited users
  • Login with Azure button on the WordPress login page
  • OAuth 2.0 and OpenID Connect support
  • Just-in-Time user creation on a user’s first Entra ID login
  • Basic attribute mapping for username and email
  • Azure B2C login (Azure AD B2C) and Microsoft Entra External ID support for customer and partner logins
  • Test Configuration – see the attributes Azure AD sends and verify your setup without affecting live logins

Azure B2C SSO for customer-facing WordPress sites

Azure AD B2C is Microsoft’s identity service for customers. With Login with Azure, your WordPress site becomes an Azure B2C application, so customers can sign up and sign in with the Azure B2C user flows you already run.

  • Azure B2C login and sign-up – customers register and log in to WordPress through your Azure AD B2C tenant
  • Azure B2C user flows and custom policies – use the sign-up/sign-in experience, branding and MFA you configured in B2C
  • Social and local accounts – any identity your Azure B2C tenant supports, such as email sign-up or social logins, works on WordPress
  • Automatic WordPress accounts for new Azure B2C users, with profile attributes mapped from B2C claims
  • Entra External ID ready – move from Azure AD B2C to Microsoft Entra External ID without changing plugins
  • Employees and customers on one site – combine Entra ID SSO for staff and Azure B2C SSO for customers (multi-app, Premium)

Role-based access control with Azure AD groups (Premium)

Decide who can log in, what role they get and what they can see, all from Microsoft Entra ID.

  • Azure AD group to WordPress role mapping – assign WordPress roles automatically from Entra ID security groups or role claims. Roles update on every login.
  • Default role assignment – choose the WordPress role new Azure AD users receive on first login.
  • Attribute-based role mapping – assign roles from user attributes such as department or job title.
  • Page and post restriction – limit pages, posts and content to specific WordPress roles, Azure AD groups or logged-in users.
  • Protect your entire site (intranet mode) – force visitors to log in with Azure AD before they can view any page, with an option to exclude specific URLs.
  • Email domain restriction – allow only users from your approved company domains to register or log in.
  • Attribute-based redirection – send users to different pages after login based on their Azure AD group or attributes.
  • Role-based session management – control login session length per WordPress role.
  • Role-aware Microsoft 365 content – show Power BI reports, SharePoint files and Outlook calendars only to the Azure AD groups or WordPress roles you choose.

User provisioning and sync (Premium)

  • Real-time profile updates – role, department and permission changes in Azure AD are applied to WordPress at login.
  • Advanced attribute mapping – map first name, last name, display name, department, job title, region and custom Entra ID attributes to WordPress user fields.
  • Account linking – existing WordPress users are matched and updated instead of duplicated.
  • SCIM user provisioning – automatically create, update and delete WordPress users from Entra ID.
  • Sync WordPress users to Entra ID – push new registrations, profile updates and existing WordPress users to Azure AD.

Login experience and customization

  • Login with Azure button on wp-login, plus shortcode and widget to place the Azure login link anywhere
  • Customizable SSO button – change the button text, icon and style
  • Custom redirects after login and after logout
  • Auto-redirect to Azure AD for a seamless Entra ID login on protected sites (Premium)

Advanced Azure SSO and enterprise options (Premium)

  • SAML 2.0 single sign-on in addition to OAuth and OpenID Connect
  • Multi-tenant support – authenticate users from several Azure AD tenants on one site
  • Multi-app support – manage several Azure app registrations in one place
  • WordPress Multisite – configure Azure AD SSO once for every site in your network
  • JWT validation and custom JWKS URL support
  • Customizable redirect / callback URI
  • Configuration export to move your setup between staging and production

Microsoft 365 integrations (Premium)

SharePoint and OneDrive

  • Embed SharePoint documents, lists and folders on pages or posts with blocks or shortcodes
  • Preview, download, upload and version files while keeping SharePoint permissions and folder structure
  • Restrict file access by Azure AD group or WordPress role
  • Search and filter libraries by file type, owner or date
  • Import SharePoint news and announcements as WordPress posts or widgets

Power BI

  • Embed Power BI reports, dashboards, visuals, scorecards and KPIs on pages and posts
  • Row-Level Security (RLS) linked to Azure AD groups and roles, so each user sees only their data
  • Control report visibility by WordPress role, Azure AD group, domain or login status
  • Custom filters, themes and automatic data refresh

Outlook and Microsoft Teams

  • Embed personal or shared Outlook calendars (day, week, month views)
  • Create, edit and cancel Outlook events from WordPress, send invitations and track responses
  • Two-way contact sync, including team and reporting hierarchy from Azure AD
  • Limit calendar and event access by Azure AD group or WordPress role

Microsoft Graph email

  • Send WordPress email through the Microsoft Graph API instead of SMTP
  • Save sent emails to Outlook Sent Items
  • Automatic welcome emails for new SSO users and alerts for role changes
  • HTML or plain-text templates with dynamic placeholders and media attachments

Dynamics 365 CRM

  • Sync contacts, accounts, leads and opportunities with Dynamics 365 Sales
  • Sync orders, products and inventory with Dynamics 365 Business Central
  • Web-to-lead forms with fields pre-filled from the user’s Azure AD profile
  • Works with Dynamics 365 Online and On-Premises

Integrations with WordPress plugins (Add-ons)

  • LearnDash – add Azure AD users to LearnDash groups automatically
  • BuddyPress / BuddyBoss – map Entra ID attributes to profile fields
  • WooCommerce – map Azure AD profile data to billing details
  • MemberPress – assign membership levels from Azure AD attributes

Supported Microsoft identity providers

  • Microsoft Entra ID (formerly Azure Active Directory / Azure AD) – employees
  • Azure AD B2C (Azure B2C) – customers
  • Microsoft Entra External ID – partners, vendors and customers
  • Microsoft 365 work and school accounts

How Login with Azure works

  1. Register an application in the Microsoft Entra admin center (Azure portal) and add the redirect URI shown in the plugin.
  2. Copy the Client ID, Client Secret and Tenant ID into the plugin.
  3. Click Test Configuration to confirm the Entra ID login and see the attributes Azure AD returns.
  4. Map attributes and roles, then turn on the Login with Azure button. Your users can now sign in to WordPress with Azure AD.

Need help with Azure SSO?

Our team helps you set up WordPress Entra SSO, Azure AD role mapping, Azure B2C login and Microsoft 365 integrations. Email us at samlsupport@xecurify.com. A free trial of premium features is available on request.

Microsoft, Azure, Entra ID, SharePoint, Power BI, Outlook, Teams and Dynamics 365 are trademarks of Microsoft Corporation. This plugin is developed by miniOrange and is not affiliated with or endorsed by Microsoft.

Screenshots

Installation

From your WordPress dashboard

  1. Go to Plugins > Add New.
  2. Search for Login with Azure.
  3. Click Install Now, then Activate.
  4. Open the plugin menu and follow the Azure AD SSO setup steps.

Manual installation

  1. Download the plugin zip file.
  2. Go to Plugins > Add New > Upload Plugin and upload the zip.
  3. Activate the plugin and open its settings to configure Entra ID SSO.

FAQ

What is the difference between Azure AD and Entra ID?

None in practice. Microsoft renamed Azure Active Directory (Azure AD) to Microsoft Entra ID. This plugin works with Entra ID, so “Azure AD SSO” and “Entra ID SSO” mean the same thing here.

Why do I need Azure AD SSO for my WordPress site?

Azure AD SSO lets users log in to WordPress with the Microsoft account they already use. It removes extra passwords, applies your Entra ID security policies (such as MFA and Conditional Access) to WordPress, and lets you manage access centrally.

How do I set up WordPress Entra ID SSO?

Register an app in the Azure portal, add the redirect URI shown in the plugin, then copy the Client ID, Client Secret and Tenant ID into the plugin settings. Click Test Configuration to confirm the Entra ID login works before enabling it for users.

Can I map Azure AD groups to WordPress roles?

Yes. With the premium version, you map Entra ID group IDs or role claims to WordPress roles. Users get the matching role automatically, and it is updated each time they log in.

Can I restrict pages or content to specific Azure AD groups?

Yes. Premium page and post restriction lets you limit content to chosen WordPress roles, Azure AD groups or logged-in users. Power BI reports, SharePoint files and Outlook calendars can also be shown only to selected groups or roles.

Can I make my whole WordPress site private to Azure AD users?

Yes. Premium site protection (intranet mode) requires visitors to log in with Azure AD before viewing any page. You can exclude specific URLs, such as a public landing page.

Can I allow only my company’s email domain to log in?

Yes. Premium email domain restriction lets only users from the domains you approve register or log in.

Will users see a “Login with Azure” button on the WordPress login page?

Yes. The plugin adds a Login with Azure button to the WordPress login page. You can also place the login link anywhere with a shortcode or widget and customize the button text and style.

Can I test Azure SSO login without affecting my live site?

Yes. Test Configuration checks the connection with Azure AD without changing how users log in. You can also set up SSO on a staging site first and export the configuration later.

The plugin says my Client Secret is invalid. What should I do?

Make sure you copied the secret Value, not the Secret ID, from the Azure portal, and that the secret has not expired. If it has expired, create a new client secret in your Azure app registration and paste the new value into the plugin.

Does the plugin support Azure B2C login?

Yes. The free version supports Azure AD B2C, so customers can sign up and log in to WordPress with your Azure B2C user flows. Microsoft Entra External ID is supported as well.

How do I set up Azure AD B2C SSO on WordPress?

Register an application in your Azure B2C tenant, add the plugin’s redirect URI, and create or choose a sign-up/sign-in user flow. Enter the B2C tenant name, policy (user flow), Client ID and Client Secret in the plugin, then click Test Configuration.

Can employees use Entra ID and customers use Azure B2C on the same site?

Yes. With premium multi-app support, you can connect an Entra ID app for staff and an Azure B2C app for customers on the same WordPress site, each with its own login button and role mapping.

Does it support SCIM and syncing users to Entra ID?

Yes, in the premium version. SCIM provisioning creates, updates and deletes WordPress users from Entra ID, and WordPress users can also be synced to Azure AD.

Does it work with WordPress Multisite and multiple Azure tenants?

Yes. The premium version supports WordPress Multisite networks, multiple Azure AD tenants and multiple Azure app registrations.

Can I integrate SharePoint and Power BI with WordPress using Azure AD?

Yes. The premium version lets you embed SharePoint and OneDrive libraries and Power BI reports on WordPress pages, using the same Azure AD connection that powers your SSO login.

What is included in the free version?

The free version includes Azure AD SSO for unlimited users, the Login with Azure button, automatic user creation on first login, basic username and email mapping, support for Azure AD, Azure AD B2C and Entra External ID, OAuth 2.0 / OpenID Connect, and Test Configuration.

Can I try premium features before buying?

Yes. Email samlsupport@xecurify.com to request a free trial of premium features such as role mapping, content restriction, SharePoint, Power BI and SCIM provisioning.

Reviews

November 13, 2026
The miniOrange Azure All-in-One plugin works well for our setup. Vikram was helpful and responsive throughout the process, making the setup much easier. We appreciate the support!
November 20, 2025
This plugin works perfectly, and the support team is outstanding. They respond incredibly fast and always provide clear, professional help. Highly recommended.
February 5, 2025
I've installed the plugin in my WP site to login users through SSO, and it is working fine, I have also managed to set autologin with JS and the plugin generated SSO URL. I've had to contact support and they were super quick to respond and very helpful.
August 2, 2024
I had to reach out to the plugin developers for support and they have a great service, I am very satisfied with them and I highly recommend them!
Read all 8 reviews

Contributors & Developers

“Login with Entra ID / Azure SSO & Microsoft Integrations” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.2.9

  • Security fixes

2.2.8

  • Added support for custom JWKS URL
  • Compatibility with WordPress 7.0

2.2.7

  • Additional checks to state parameter

2.2.6

  • Security fixes

2.2.5

  • Compatibility with WordPress 6.9

2.2.4

  • Security fixes

2.2.3

  • PCP fixes

2.2.2

  • Plugin Configuration Export Feature
  • Minor UI changes

2.2.1

  • Microsoft 365 Integrations Handbook

2.2.0

  • Compatibility with miniOrange M365 App Integrations

2.1.9

  • Minor Bugfixes

2.1.8

  • Provided action hook for refresh_token on test SSO
  • Compatibility with WordPress 6.8

2.1.7

  • Added proper error messages in Azure token flow
  • Added compatibility with PHP 8.4

2.1.6

  • Invalid ID token error fix
  • Fix for error on destroying session

2.1.5

  • Added Outlook Email Integration
  • Send Email using Microsoft Graph API

2.1.4

  • XSS Vulnerability fix for Power BI
  • Compatibility with WordPress 6.7.1

2.1.3

  • Fix for session vulnerability

2.1.2

  • Added Premium feature tabs in Sharepoint & Power BI

2.1.1

  • Improved Power BI configuration flow

2.1.0

  • Added premium links in the plugin

2.0.9

  • UI Fixes
  • Usability improvements

2.0.8

  • PowerBI integration added
  • Sharepoint Manual connection added
  • Improvements in SSO test window

2.0.7

  • Compatibility with WordPress 6.6.1
  • Plugin Logo change

2.0.6

  • Customizable Redirecdt/Callback URI
  • Feedback form improvements

2.0.5

  • Plugin name update
  • Added default Role Mapping
  • Added plugin banner
  • Readme Updates

2.0.4

  • Readme changes
  • Support form UI changes

2.0.3

  • Major bugfix in sharepoint automatic connection
  • UI changes in Feedback form

2.0.2

  • Added automatic application setup for Sharepoint
  • UI fixes

2.0.1

  • Compatability with WordPress 6.5.2
  • Login widget UI fixes
  • Minor Bug fixes

2.0.0

  • Compatibility with WordPress 6.5
  • Sharepoint Integration with Entra-ID
  • Major UI Update