Import host via Azure AD

This article goes through all the steps to import employees from your Azure Active Directory to VisitLog. This requires admin access to the Azure Active Directory admin center.

1. Register the app in the portal

You can create a new Azure AD web application registration using the Azure Active Directory admin center and grant administrator consent to the required permission scopes.

  1. Open a browser and navigate to the Azure Active Directory Admin Center (
  2. Select Azure Active Directory in the left-hand navigation, then select App registrations under Manage.
  1. Select New registration. On the App registration page.
  1. Set the values as follows:
    • Name: VisitlogApp
    • Supported account types: Select appropriate 
    • Redirect URI:  Not required
  1. Click on Register.

2. Configure Certificate & Secrets and API Permission

  1. On the VisitlogApp page, copy the value of the Application (client) ID and Directory (tenant) ID and save it in notepad, you will need them in future step.
  1. Under Manage go to Certificates & secrets.
  2. Click on New client secret.
  1. Enter a value in Description and select one of the options for Expires, click on Add.


This client secret is never shown again, so make sure you copy it now. you will need them in the next step (In Visitlog/Easyvisit application)

  1. Under Manage go to API Permissions.
  2. Click on Add a permission and select Microsoft Graph.
  1. Select Application Permission, expand the User group and select User.Read.All  scope.       
  2. Select Add permissions to save your changes.
  1. Select Delegated Permission, expand the User group and select User.Read and User.Read.All scope.
  2. Select Add permissions to save your changes.
  1. Select Grant admin consent for your account, then select Yes to consent this application and grant the application access to your tenant using the scopes you specified.
  1. Successfully granted admin consent for the requested permissions message will be displayed as shown below.

3. Configuring Azure Directory in Visitlog

  1. Open VisitLog Manager and go to Administraiton.
  1. Go to General settings.
  1. Click on Azure Active Directory settings and then click on Edit.
  1. Request URL:
  1. Http Method:
    • GET
  1. Authorization:
    • Authorization Type : No Auth
    • Tenant ID : Tenant id   generated in Azure
    • Client ID : Application id generated in Azure
    • Client Secret : Client secret generated in Azure
    • Grant Type: client_credentials
  1. Header:
    • Content type : Application/json
    • Charset : Blank
  1. Body:
    • Body Type : Form data
    • ParameterName : Authorization
    • ParameterValue : 123
  1. Click on OK.
  1. Set columns as per your requirement and click on Save & Close.

Updated on August 23, 2023

Was this article helpful?

Related Articles

Leave a Comment