Search Results :

×

Joomla User Provisioning with Azure using Microsoft Graph APIs

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 for Joomla with Azure 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.
  • Joomla Azure AD User Sync
  • Upload the downloaded zip file to install the User Provisioning for Joomla with Azure/Microsoft Entra ID plugin.
  • User Provisioning for Joomla with Azure
  • Installation of the plugin is successful. Now click on Start Using miniOrange Azure sync plugin.
  • Joomla Azure AD User Sync
  • Click on the Configure the plugin button on the Overview tab.
  • Joomla Azure AD User Sync
  • In the Configure Azure AD tab, copy the Redirectional URI.
  • Joomla Azure AD User Sync

    2. Setup Azure AD/Microsoft Entra ID App registration

    Follow the steps below to configure the Azure AD Application to sync users to Joomla:

    • Log in to Microsoft Azure Portal https://portal.azure.com/ 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.
    • In the Redirect URL, select the platform as web and provide the Redirect URL from the Azure Sync Plugin.
    • Azure AD user sync with
        Joomla - 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

    Application ID Paste the Application ID Click Here from Azure AD App.
    Client Secret Paste the Client Secret Click Here from the Azure AD App.
    Tenant ID Paste the Directory ID Click Here from Azure AD App.
    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 WordPress - Manageapp
  • 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 registraton

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 repective Joomla attribute Name and click on Save Configuration.
  • Azure AD user sync with Joomla - testconfig
miniorange img  Sync an individual user
  • 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.
  • Azure AD user sync with Joomla - testconfig
miniorange img Create all users
  • Click on the Sync All Users button to sync all users from the Azure AD users to your Joomla site Database.
  • Azure AD user sync with Joomla - Sync All Users
  • On clicking here, you’ll be able to see all users are created on your Joomla site as shown below.
  • Azure AD user sync with Joomla - Sync All Users

    6. Sync User from Joomla Database to Azure AD

    • Navigate to the Azure <- Joomla.
    • Azure AD user sync with Joomla - testconfig
    miniorange img Create a user in Azure AD
    • Enter the Tenant name and Joomla Username to create your Joomla user in the Azure AD.
    • Click on the Create User button to create your Joomla user to your Azure AD.
    • Azure AD user sync with Joomla- App registraton
    • A user with the same username has been created in Azure.
    • Azure AD user sync with Joomla - testconfig
    miniorange img Delete a user in Azure
    • To delete a user in Azure, enter the username of the user and click on the Delete User button to delete the user from Azure AD.
    • Azure AD user sync with Joomla - testconfig
    • The user has been deleted successfully.
    miniorange img  Automatic Provisioning & Sync User Attributes [Premium Features]
    • Enable automatic provisioning and map user attributes from Joomla to Azure by enabling the below premium features.

    • Azure AD user sync with Joomla - testconfig
    • 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

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