Importing Users from Azure AD

Integrate Azure Active Directory (AD) with Password Manager Pro and import users and user groups from Azure AD. Through this integration, users can login to Password Manager Pro using their Azure AD credentials, in both Windows and Linux platforms. After integration into Password Manager Pro, the user details and user group structure is maintained exactly as it is in the Azure AD platform.

Following are detailed steps to register Password Manager Pro in the Azure portal and import users into Password Manager Pro:

  1. Registering Password Manager Pro in Azure AD Portal
  2. Steps to Import Users from Azure AD

    2.1 Importing Users from Azure AD

    2.2 Specifying Appropriate User Roles

    2.3 Enabling Azure AD Authentication

1. Registering Password Manager Pro in Azure AD Portal

To integrate Password Manager Pro with Azure AD and import users, Password Manager Pro should first be added as a native client application in your Azure AD portal. Follow the steps given below to register Password Manager Pro as an application:

  1. Log in to the Microsoft Azure portal.

  2. Click App registrations from the main menu.

  3. Click + New registration from the top bar.

  4. In the Register an application page, enter the following attributes:
    1. Enter Name as Password Manager Pro or any name of your choice.
    2. Choose Supported account types - Accounts in this organizational directory only - Single tenant).
    3. Select the Redirect URI as Public client/native.
  5. Click Register. Password Manager Pro will be added as an application in the Azure AD portal.

  6. You will be taken to the page with the details of the newly registered Password Manager Pro application.

  7. Click Authentication under Manage in the left pane. In the Authentication page, under Advanced settings, enable Allow public client flows by clicking Yes and click Save.

  8. Click API permissions under Manage in the left pane. In the API Permissions page, click +Add a permission.
    1. In the Request API Permissions page, choose Microsoft Graph.
      1. Click Delegated Permissions and search for "read" in the Select Permissions search bar to populate relevant permissions. Select the option Directory.Read.All and click Add Permissions.
      2. Click Application Permissions and search for "read" in the Select Permissions search bar to populate relevant permissions. Select the options Directory.Read.All and click Add Permissions.
      3. Click Delegated Permissions and search for "access" in the Select Permissions search bar to populate relevant permissions. Select the options Directory.AccessAsUser.All and click Add Permissions.
  9. Now, click the Grant admin consent under Configured Permissions.
  10. In the pop up that opens, click Accept to grant consent for the requested permissions.

Once you have registered Password Manager Pro with appropriate permissions, go to Password Manager Pro's web interface and start importing users using the steps detailed below.

2. Steps to Import Users from Azure AD

  1. Log in to Password Manager Pro and navigate to Admin >> Authentication >> Azure AD.

Note: You can also import users by navigating to Admin >> Users >> Add Users >> Import from Azure AD. However, Azure AD Authentication can be enabled only from Admin >> Authentication >> Azure AD.

  1. The Azure AD Server Configuration page will be displayed, from where you need to perform the below sequence of steps:
    1. Importing users from Azure AD
    2. Specifying appropriate user roles
    3. Enabling Azure AD authentication

2.1 Importing Users from Azure AD

  1. Navigate to Users >> Add User >> Import From Azure AD.
  2. In the pop-up that opens, perform the following operations:
    1. Click the New Domain and add the Azure AD domain from which users and groups are to be imported.
    2. Select the Authentication mode as App-Only Access Token. User Access Token will be no longer applicable from build 12230.
    3. Select the Supply Credentials as Specify Username and Password Manually. If you have stored the Azure Application of Microsoft Azure as a resource in Password Manager Pro, then select Use an account stored in Password manager Pro.
    4. If you have selected Specify Username and Password Manually in the supply credentials:
      1. Enter the Tenant ID and Client Secret.
      2. Enter the CLIENT ID generated in the Azure AD server while registering Password Manager Pro as a native client application in your Azure portal.
    5. If you have selected Use an account stored in Password Manager Pro, enter the Resource Name and Account Name stored in the Password Manager Pro.
    6. To import only particular users and user groups from the Azure AD, enter the required user name(s) in the comma-separated form in the field Users to Import and the required group name(s) in User Groups to Import.
    7. Add a synchronization schedule to keep the user database constantly in sync with your Azure AD. In the Synchronization Interval field, you can enter the time interval at which Password Manager Pro has to query Azure AD and keep the user database in sync with Azure AD.
    8. After entering the required details, click Fetch Groups. If you have specified users/user groups to import, then click Import. Password Manager Pro will list all the user groups available in your Azure AD domain. Select required groups using the check boxes beside them and import users.
    9. Once the import is complete, Import Summary will be displayed with the number of users imported successfully and the ones that failed. Once you click Close, you will be automatically taken to section 2.2: changing appropriate user roles.

    Note: To view the synchronization schedules created for Azure AD user import, click View Synchronization Schedules in the Azure AD Server Configuration window.

2.2 Specifying Appropriate User Roles

After import, all the users imported from Azure AD will be assigned the Password User role as shown in the Change Roles for users dialog box.

  1. Click Change Role button against the users for whom you wish to change the role and choose an appropriate role from the drop-down.
  2. To change roles for users in bulk, select the users using the check boxes and click Change Role at the top and choose an appropriate role from the drop-down. The changes will be saved as and when the roles are assigned.

Notes:

  • You can change the assigned roles anytime in the future by clicking Assign Roles Now in the Azure AD Server Configuration page.
  • Assign Administrator role to at least one user from the list of users imported from Azure AD as administrator privileges are required to carry out user management and other system operations in Password Manager Pro.

2.3 Enabling Azure AD Authentication

The third step is to enable Azure AD authentication—enabling this will allow your users to login to Password Manager Pro using their Azure AD domain password. Note that this feature will work only for users who have already been imported to the local database from Azure AD. Before enabling Azure AD authentication, ensure that AD authentication is disabled.

  1. Navigate to Admin >> Authentication >> Azure AD and click Enable Now under Enable Azure AD Authentication as shown in this image.
  2. Once Azure AD authentication is enabled, you can disable local authentication under Admin >> Settings >> General Settings >> User Management. Click here to learn more about that.

3. Troubleshooting Tips

In Password Manager Pro, Azure AD authentication will not work under two circumstances, which are explained below with possible solutions:

  1. Users in the Azure AD portal have Conditional Access enabled, which prevents sending of auth token to Password Manager Pro, leading to authentication failure.
    Solution: Bypass this by disabling Conditional Access at both app-level and user level in the Azure AD portal before enabling Azure AD authentication in Password Manager Pro.
  2. The Azure AD portal has Multi-Factor Authentication (MFA) enabled.
    Solution: Bypass this by disabling MFA in the Azure AD portal.

In the place of Conditional Access and MFA, you can enable SAML Single sign-on in the Azure AD portal. Click here to learn how to set up SAML authentication.

Top