• Overview
  • Configuration

greytHR

Achieve Active Directory integration by integrating greytHR with ADManager Plus

HCMIdentity provisioning

greytHR is a unified HR and payroll solution that helps organizations manage employee lifecycle activities from onboarding to offboarding, optimizing the entire HR workflow, saving time, and improving organizational efficiency. Integrating greytHR with ADManager Plus allows organizations to streamline user lifecycle management tasks across Active Directory, Exchange, Microsoft 365, and other platforms. This integration automates user creation, modification, and deletion in AD and other business applications, aligning these actions with changes in greytHR, thereby reducing manual effort and minimizing errors.

 

Automate JML process

Automatically create or deactivate user accounts in AD based on employee status changes in greytHR, ensuring seamless onboarding of new hires and secure offboarding of departing employees.

 

Enhanced security

Ensure timely updates to access permissions based on employee status changes in greytHR, reducing the risk of unauthorized access to company resources.

 

Improved productivity

Eliminate manual data entry and account management tasks for HR and IT teams, allowing them to focus on strategic projects and initiatives.

 

How to integrate ADManager Plus and greytHR

Prerequisites:

  • greytHR uses basic authentication credentials to authorize API requests.
  • Authentication credentials required: username, password, and subdomain.

Privileges:

  • To import users (inbound action): Ensure the account used for authorization has permission to read all user accounts.
  • To perform any action or query in greytHR (outbound action): Ensure the account used for authorization has permission to perform the desired action.
Note: ADManager Plus comes with a preconfigured set of APIs that help perform basic actions with the integration. If the action you require is not available, please gather the necessary API details from greytHR's API documentation to configure inbound and outbound webhooks to perform the required actions.

Authorization configuration

  • Log in to ADManager Plus and navigate to the Automation tab.
  • In the left pane, under Configuration, click Application Integrations.
  • Under Enterprise Applications, click greytHR.
  • Toggle the Enable greytHR Integration button on.
  • In the greytHR Configurationpage, click Authorization.
  • Enter the authentication credentials.
  • Click Configure.

Inbound webhook configuration

An inbound webhook enables you to fetch user data from greytHR to ADManager Plus. The attribute mapping configured in this section can be selected as the data source during automation configuration to perform the desired action on the list of users received from the API response. To configure an inbound webhook for greytHR:

  • Under Inbound Webhook, click greytHR Endpoint Configuration.
  • In the Endpoint Configuration tab, an endpoint, greytHR USERS ENDPOINT, comes preconfigured with Endpoint URL,API Method,Headers, and Parameters fields to fetch user accounts from greytHR. To use this preconfigured endpoint, replace {subdomain} with the domain name of your greytHR instancein the Endpoint URLfield. If you would like to use a new endpoint to import users, you can configure one using the + Add API endpoint button and filling in the required fields as per greytHR's API references. Click here to learn how.

    Note:

    • The API key-value pair is preconfigured as a header for authenticating API requests as configured during Authorization Configuration.
    • Macros: You can add macros to your endpoint configuration to dynamically change it as per your requirement using the macro chooser component.
    • Refer to greytHR's API references and configure additional headers and parameters, if required.
  • Once done, click Test & Save. A response window will display all the requested parameters that can be fetched using the API call. Click Proceed.

    Note:

    • Refer to greytHR's API references to see which Parameters must be configured to fetch only specific parameters.
    • You can configure multiple endpoints for greytHR using the + Add API endpoint button. Click here to learn how.
  • Click Data Source - LDAP Attribute Mapping to match endpoints and to map AD LDAP attributes with the respective attributes in greytHR.
  • Click + Add New Configuration and perform the following:
    • Enter the Configuration Name and Description and select the Automation Category from the drop-down menu.
    • In the Select Endpoint field, select the desired endpoint and a Primary Key that is unique to a user (e.g. employeeIdentifier).

    Note: When multiple endpoints are configured, this attribute must hold the same value in all the endpoints.

    • In the Attribute Mapping field, select the attribute from theLDAP Attribute Name drop-down menu and map it with the respective column in greytHR.
    • If you would like to create a new custom format for this, click Mapping Attribute.
    • Click Save.

Outbound webhook configuration

Outbound webhook enables you to update the changes made in AD using ADManager Plus to greytHR or forward required details from greytHR and synchronize them with AD.

To configure an outbound webhook for greytHR:

  • Under Outbound Webhook, click greytHR Webhook Configuration.
  • Click + Add Webhook.
  • Enter a name and description for this webhook.
  • Decide on the action that has to be performed and refer to greytHR's API referencesfor the API details, such as the URL, headers, parameters, and other requirements that will be needed.
  • Select the HTTP method that will enable you to perform the desired action on the endpoint from the drop-down menu.
  • Enter the endpoint URL.
  • Configure the Headers,Parameters, and Message Type in the appropriate format based on the API call that you would like to perform.
  • Click Test and Save.
  • A pop-up window will then display a list of AD users and groups to test the configured API call. Select the desired user or group for which this API request has to be tested and click OK. This will make a real-time call to the endpoint URL and the selected objects will be modified as per the configuration.
  • The webhook response and request details will then be displayed. Verify them for the expected API behavior and click Save.
Note: The configured webhooks can be integrated into Orchestration Templates, enabling scheduled or event-driven automation to consecutively perform a sequence of actions on a group of users or on individual users.

(Navigate to Management > Advanced Management > Orchestration)