Search Results :

×

Joomla User Provisioning with Azure using Microsoft Graph APIs


User Sync from Azure AD/Microsoft Entra ID to Joomla and Joomla to Azure AD/Microsoft Entra ID can be achieved by using our User Provisioning for Joomla with Azure AD/Microsoft Entra ID plugin. This plugin uses Microsoft Graph API to fetch all the user's details from Azure Directory to Joomla. The plugin also helps to create and delete users from the Joomla database to the Azure Active Directory/Microsoft Entra ID.

Pre-requisites : Download And Installation

Setup Joomla User Sync with Azure AD/Microsoft Entra ID

1. Install the Plugin

  • Download the zip file for the miniOrange User Provisioning/User Sync plugin from the link here .
  • Login into your Joomla site’s administrator console.
  • From Menu, click on System, then under Install section click on Extensions.
  • Upload the downloaded zip file to install the User Provisioning/User Sync plugin.
  • Installation of the plugin is successful. Now click on Get Started! button.
  • Joomla Azure AD User Sync
  • Select 'Azure' from the list of providers.
  • Joomla Azure AD User Sync

2. Setup Azure AD/Microsoft Entra ID App registration

  • Log in to Microsoft Azure Portal as an Administrator.
  • Under the Azure Services section, select Microsoft Entra ID.
  • Azure AD user sync with Joomla - Home Screen
miniorange img Create a Client:
  • In the left tab, under the Manage section, select App registrations tab.
  • Azure AD user sync with Joomla - App registraton
  • Click on the New Registration option.
  • Azure AD user sync with Joomla - App registraton
  • Add the Display Name in the name field and choose the account type.
  • Click on the Register Button.
  • Navigate 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 respectively.
  • User Provisioning for
        Joomla with Azure
miniorange img Generate the Client Secret:
  • 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.
  • Azure AD user sync with Joomla - Certificate and Secrets
  • Copy the value, this will be your Client Secret.
  • Azure AD user sync with Joomla- Client Secret
miniorange img Add API Permissions to your Azure AD Application:
  • Go to API Permissions from the left navigation pane and click on Add a permission option.
  • Azure AD user sync with Joomla- API permission
  • Select Microsoft Graph under the Microsoft APIs tab.
  • Azure AD user sync with
      Joomla -Microsoft Graph
  • Select Application Permissions under the Microsoft Graph.
  • Azure AD user sync with
      Joomla -Microsoft APIs
  • Select User.
  • Azure AD user sync with Joomla
      -Application Permissions
  • Under User select User.Export.All,User.ManageIdentities.All,User.Read.All,User.ReadBasic.All,User.Readwrite.All, permission and click on the Add Permissions button.
  • Azure AD user sync with
      Joomla - permissions
  • Click on Grant admin consent for Default Directory and click on Yes on grant admin consent confirmation.
  • Azure AD user sync with
      Joomla - Admin consent
  • You have successfully configured Azure AD app to achieve User Sync into your Joomla Site.

3. Configure User Provisioning for Joomla with Azure plugin

  • Refer the table below and paste the respective values in the Configure Azure AD tab.
  • Application ID Paste the Application ID from the Azure AD Application.
    Client Secret Paste the Client Secret from the Azure AD Application.
    Tenant ID Paste the Directory ID from the Azure AD Application.
    Tenant Name Enter your Domain name as your Tenant name
    Test UPN/ID Enter UserPrincipleName / ID of any user of your Azure AD Application. This will be used for test configuration
    Azure AD user sync with Joomla
  • Click on the Save Configuration button to save the configurations.

4. 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 the connection is correctly established with Azure.
  • Azure AD user sync with
      Joomla - Test configuration
  • On successful configuration you will be to able to view the attributes received from Azure AD.
  • Azure AD user sync with
      Joomla - App registration

5. Sync User to Joomla Database

  • Navigate to the tab Azure -> Joomla. Under the User Attribute Mapping section map the Azure AD attribute name to the respective Joomla attribute Name and click on Save Configuration.
  • Azure AD user sync with Joomla - User Attribute Mapping
miniorange img  Sync an Individual User or All Users
  • Enter UserPrincipleName / ID of any user of your Azure AD application.
  • Click on the Create User button to create your Azure AD user to your Joomla site Database.
  • Or click on the Create All Users button to sync all users from the Azure AD users to your Joomla site Database. (Note: This is a Premium Feature.)
  • Azure AD user sync with Joomla - testconfig
miniorange img  Sync User Groups (Premium Feature)
  • Under the Sync User Groups, you can map user groups from Azure to Joomla user groups. Also, select default group for the new/login users.
  • Azure AD user sync with Joomla - Sync Groups
miniorange img  Set User Sync Interval (Premium Feature)
  • Under Set User Sync Interval section, set up a schedule for automatic user synchronization on a hourly, daily, or weekly basis.
  • Azure AD user sync with Joomla - Sync Interval

6. Sync User from Joomla Database to Azure AD

miniorange img  Create and Delete User
  • Navigate to the tab Joomla -> Azure. Here, under the Create an Individual User section, any user created in Joomla will sync automatically and get created in Azure AD.
  • Under the Delete User section, you can delete an individual user from Azure.
  • Azure AD user sync with Joomla - Create User
miniorange img  Automatic Provisioning (Premium Feature)
  • Under the Automatic Provisioning section, you can automate provisioning whenever a user is created, deleted and updated. You can also enable automatic sync of Joomla user password.
  • Azure AD user sync with Joomla - Automatic Provisioning
miniorange img  Sync User Attributes and Set Interval (Premium Feature)
  • Under the Sync User Attribute tab, you can map user attributes from Joomla to Azure.
  • You can also set up a schedule for automatic user synchronization, under the Set User Sync Interval tab.
  • Azure AD user sync with Joomla - Set Attribute

You have successfully configured Azure User Sync with Joomla. If you are looking for anything which you cannot find, please drop us an email on joomlasupport@xecurify.com.

Additional Resources.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com