Joomla User Provisioning with Azure using Microsoft Graph APIs

Joomla User Provisioning with Azure using Microsoft Graph APIs


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

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.
  • Under the Azure Services section, select Azure Active Directory.
  • Azure AD user sync with Joomla - Home Screen
  • 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 URI field, provide the URL of your Joomla site and click on Register button.
  • Azure AD user sync with Joomla - Account type
  • 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.
  • Azure AD user sync with Joomla - Application
  • 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 of Secret Key. This will be your Client Secret Key.
  • 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
  • search for the User,and Click on User.
  • Azure AD user sync with Joomla -Application Permissions
  • Under User select User.Read.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.

2. Configure User Provisioning for Joomla with Azure plugin

  • Navigate to the User Provisioning for Joomla with Azure plugin.
  • Under the Manage Application tab, paste the information from the Azure AD App.
  • Azure AD user sync with Joomla - Manageapp
    Application ID Paste the Application ID from Azure AD App.
    Client Secret Paste the Client Secret from the Azure AD App.
    Redirect URI Enter the URL of your Joomla site.
    Tenant ID Paste the Directory ID from Azure AD App.
    Tenant Name Paste the Tenant name from Azure AD App.
    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 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.
  • Azure AD user sync with Joomla - Test configuration
  • On successful configuration you will be to able to view the attributes recieved from Azure AD.
  • Azure AD user sync with Joomla - App registraton

4. Sync User to Joomla Database

  • Navigate to the User Synchronization tab. Under this tab select the sub-tab as Azure -> Joomla.
  • 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 Sync User button to sync your Azure AD user to your Joomla site Database.
  • Azure AD user sync with Joomla - testconfig
miniorange img Sync all users
  • Click on the Sync All Users button to sync 15 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 15 users are created on your Joomla site as shown below.
  • Azure AD user sync with Joomla - Sync All Users

    5. Sync User from Joomla Database to Azure AD

    • Navigate to the User Synchronization tab. Under this tab select the sub-tab as Azure <- Joomla..
    • Azure AD user sync with Joomla - testconfig
    miniorange img Create a user in Azure AD
    • Select your Joomla user from the dropdown 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 Azure AD user sync with Joomla - testconfig
    • The user has been deleted successfully.

    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