Configuring Azure IoT Hub in AppViewX

Creating a Service Account

Service account is required for API authentication with AppViewX.
  1. Log in to the AppViewX with valid credentials.
  2. Got to (Menu) > Platform > IDENTITY > Service Account.
  3. Add a new account, by providing the necessary details.
  4. Assign the user group to Admin.

Uploading and Enabling the Workflow

Prerequisites: Download and extract the EST_STANDALONE_SERVER file. The extracted file contains the following:
  • Folders—Est server and workflow
  • PDF—Config Guide
  • text file—readme
AppViewX features a workflow that enables registration to the Azure IoT Hub.
  1. Log in to the AppViewX with valid credentials.
  2. Got to (Menu) > Automation > Workflow > Service Account.
  3. Click Browse, to upload the provided workflow file [zip file inside the workflow directory (refer Prerequisites).]
  4. Select the uploaded workflow and click Submit as shown below.
  5. Once submitted, go to the Workflow > Design, and choose the workflow named Azure IoT Device.
  6. Enable the workflow as shown below by clicking on the toggle.

Updating Azure IoT Hub Configuration in AppViewX

  1. Log in to the AppViewX with valid credentials.
  2. Got to (Menu) > Platform > Asset Management > Integration Hub.
  3. Click Add new vendor icon.
    The Select vendor pop-up is displayed.
  4. In the Select vendor pop-up, enter Azure in the search bar.
    The Azure vendor icon is displayed.
  5. Select the Azure vendor and enter the following values in the fields specified below:
    Field Value
    Name Enter the value AzureIoT.
    Datacenter Select the required value through which the cloud connector device registration/update call should be communicated.
    Auth Type Select API Key.
    URL Enter the Azure IOT HUB URL.
    Key Enter the value as X-Authorization.
    Value Enter the secret key of Azure IOT Hub.
    Enable config Click the toggle button to enable it and enter the Azure IOT Hub policy name in the config field using the format below:
    {
     "azure_hub_policy_name": "<AZURE_IOT_HUB_POLICY_NAME>"
    }

    Refer figure below.

  6. Click Add to save the values.