The Hudu integration provides several different options to give you control over what is synchronised from CIPP to Hudu.

Data is synchronized automatically once every 24 hours from Microsoft 365 / CIPP to Hudu. This is scheduled once you save the extension and map your tenants.

For User and Device information a Rich Text field called "Microsoft 365" is used. This field is created after the first sync once you've set your Field Mappings to the appropriate asset layout.

Configuring the integration

Step 1 - Obtain API Credentials

  1. First login to your Hudu instance as an Administrator.

  2. Browse to Admin -> Account Administration -> API Keys

  3. Select + New API Key at the top right.

  4. Fill out the details for the API Application:

    • Enter a Name such as 'CIPP Integration'.

    • Optional: Get a list of potential IP addresses from your function app to limit the API scope to just the function app.

  5. Click Create New Key.

  6. Copy the API key to a secure place.

Step 2 - CIPP Settings

You should now be ready to configure settings inside CIPP

  1. Inside CIPP browse to Settings -> CIPP -> Extension Settings

  2. Select the Hudu tab.

  3. Please enter the FQDN you use to connect to Hudu:

    • or a self hosted address

  4. Enter the API Key you created in Hudu.

  5. Set the configuration to enabled to enable automatic synchronization once every 24 hours.

  6. Click the Set Extension Settings button.

  7. Once the settings are saved click the 'Test Extension' you should see a message at the top of the page saying 'Successfully Connected to Hudu Version: current version', if you do not see this please check your API Key and FQDN.

Step 4 - Mapping CIPP to Hudu

After the API settings are set you can now map Hudu Assets to Microsoft 365 / CIPP Items.

Organization Mapping

  1. Go to the Hudu Organization Mapping Table.

  2. You have two options for mapping organizations

    • Manually pick the Hudu Company from the dropdown lists and match them to the Microsoft 365 tenants. Then click the Set Mappings button.

    • Select the Automap Hudu Organizations button.

      • This will try to match Microsoft 365 tenants where the name exactly matches in both.

  3. Click Save Mappings.

Field Mapping

  1. Scroll down to the Hudu Field Mapping Table.

  2. For each field you wish to populate in Hudu select the asset layout from the dropdown menu.

  3. Click Save Mappings

Special Thanks

Special thanks to Luke Whitelock and his HuduM365Automation function app code.

Last updated