Login with Entra ID / Azure SSO & Microsoft Integrations
Entra ID SSO & Azure AD login for WordPress.
Install in
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
- Register an application in the Microsoft Entra admin center (Azure portal) and add the redirect URI shown in the plugin.
- Copy the Client ID, Client Secret and Tenant ID into the plugin.
- Click Test Configuration to confirm the Entra ID login and see the attributes Azure AD returns.
- 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.
Written by Joobi from the project's own listing. See the source page
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
Follow this listing's changes (Atom feed)