User Sync from Azure AD Office365 to WordPress can be achieved by using our User Sync for Azure AD Office365 plugin. This plugin uses Microsoft Graph API to fetch all the user's profiles from the Active Directory to the WordPress database. Seamless support for advanced sync features like Bi-directional user sync, automatic user creation & deletion, integration with SharePoint, PowerBI, Office365, Microsoft teams, OneDrive, Azure AD Profile Picture Sync and integration. In addition to this we also support 3rd party plugins like woo-commerce, Learndash, BuddyPress, Memberpress, Paid Membership etc.
Pre-requisites : Download And Installation
To configure Azure AD / Azure B2C with WordPress, you will need to install the User Sync for Azure AD Office 365 plugin:
User Sync for Azure AD Office 365 provides user synchronization from Azure/AzureB2C/Office365 to the WordPress. The plugin uses Microsoft graph API to fetch users from Microsoft Azure active directory.
Steps to configure User Sync for Azure AD Office365 plugin:
If you have already configured Azure AD application then skip step 1 and goto step 2.
1. Configure the Azure AD App registration
Follow the steps below to configure Azure AD Sync plugin:
- Log in to Azure AD Portal https://portal.azure.com/ as an Administrator.
- You will be represented with the home screen of Azure Active Directory.
- Under the Azure Services section, select Azure Active Directory.
- In the left tab, under the Manage section, select App registrations tab.
- Click on the New Registration option.
- Assign the Display Name in the name field and choose the account type.
- In the Redirect URI field, provide the URL of your WordPress site and click on Register button.
- After the registration of an application, Azure AD assigns an unique application ID to your application.
- Naviagte to the Overview tab, in the left pane.
- Copy the Application ID and the Directory ID, this will be your Client ID and Tenant ID.
- From the left navigation pane, navigate to the Certificates & secrets tab.
- Click on New client secret. Enter the description and expiration time and click on the ADD option.
- Copy the value of Secret Key. This will be your Client Secret Key.
Add API Permissions to your Azure AD Application:
- Go to API Permissions from the left navigation pane and click on Add a permission option.
- Select Microsoft Graph under the Microsoft APIs tab.
- select Application Permissions and search for the User.
- Under User select User.Read.All permission and click on the Add Permissions button.
- Click on Grant admin consent for Default Directory and click on Yes on grant admin consent confirmation.
You have successfully configured Azure AD app to achieve User Sync into your WordPress Site.
2. Configure User Sync for Azure AD Office365 plugin
- Navigate to the User Sync for Azure AD/Office365 plugin.
- Under the Manage Application tab, paste the information from the Azure AD App.
Application ID |
Paste the Application ID from Azure AD App. |
Client Secrets |
Paste the Client Secret from the Azure AD App. |
Redirect URI |
Enter the URL of your WordPress site. |
Tenant ID |
Paste the Directory ID from Azure AD App. |
- Click on Save button to save the configurations.
3. Test Connection
- Enter UserPrincipleName / ID of any user of your Azure AD Application and click on the Save button.
- Click on the Test Configuration to check if correct user attributes are getting for the entered UserPrincipleName value.
- On successful configuration you will be to able to view the attributes recieved from Azure AD.
4. Sync User to WordPress Database
- Navigate to the WordPress User Sync tab.
Sync an individual user
- Enter UserPrincipleName / ID of any user of your Azure AD application.
- Click on the Sync button to sync your Azure AD user to your WordPress site Database.
Sync all users
- Click on the Sync All Users button to sync your all Azure AD users to your WordPress site Database.
- The user will be created in the WordPress. If the user already exists then it will get updated.
- Now to view the user attributes which you have sync from Azure AD to WordPress. Navigate to the Users tab in the plugins section.
You have successfully configured User Sync for Azure AD Office365.
Additional Resources
If you are looking for anything which you cannot find, please drop us an email on samlsupport@xecurify.com
Why Our Customers choose miniOrange WordPress Single Sign-On (SSO) Solutions?
24/7 Support
miniOrange provides 24/7 support for all the Secure Identity Solutions. We ensure high quality support to meet your satisfaction.
Sign Up
Customer Reviews
See for yourself what our customers say about us.
Reviews
Extensive Setup Guides
Easy and precise step-by-step instructions and videos to help you configure within minutes.
Watch Demo
We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Adaptive MFA, Provisioning, and much more. Please contact us at
 +1 978 658 9387 (US) | +91 97178 45846 (India) samlsupport@xecurify.com