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 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. Install the User Provisioning for Joomla with Azure 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.
  • Feide Single Sign-On (SSO) OAuth/OpenID
  • Upload the downloaded zip file to install the User Provisioning for Joomla with Azure plugin.
  • User Provisioning for Joomla with Azure
  • Installation of the plugin is successful. Now click on Start Using miniOrange Azure sync plugin.
  • Feide Single Sign-On (SSO) OAuth/OpenID
  • Click on the Configure the plugin button on the Welcome Screen tab.
  • Feide Single Sign-On (SSO) OAuth/OpenID
  • In the Configure Azure AD tab, copy the Redirectional URI, this will be handy to set up the Azure Application.
  • Feide Single Sign-On (SSO) OAuth/OpenID

    2. Setup Azure AD App registration

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

    • 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.
    • User Provisioning for Joomla with Azure
    • 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.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
    • Click on the Save button to save the configurations.
    • Azure AD user sync with WordPress - Manageapp

    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 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

    5. Sync User to Joomla Database

    • Navigate to the tab 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 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.

      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