Hudu
The Hudu integration writes Microsoft 365 tenant, user, device and domain information from CIPP into Hudu. Tenant-level information is published as a Magic Dash card on the Hudu company, while user and device detail is written into a rich text field on the asset layouts you nominate. You control which parts are populated, so it is reasonable to sync only what you need.
Settings
Enable Integration
Turns the integration on. Every other setting, the Test and Force Sync buttons, and the Tenant Mapping and Field Mapping tabs remain unavailable until this is enabled and saved.
Please enter your Hudu URL
The full URL of your Hudu instance, such as https://yourcompany.huducloud.com, or your self-hosted address.
Hudu API Key
The API key generated in Hudu. Stored securely and masked once saved. Enable Password Access on the key when synchronising LAPS passwords or BitLocker recovery keys.
Create missing users in Hudu
Creates an asset for any Microsoft 365 user without a matching record in the mapped user layout. Without this, CIPP only updates users that already exist in Hudu.
Create missing devices in Hudu
Creates an asset for any Intune device without a matching record in the mapped device layout.
Sync Windows LAPS passwords to Hudu
Adds the LAPS account, password and backup date to matching Windows device assets in the mapped device layout. Individual tenants can be excluded on the Tenant Mapping tab.
Sync BitLocker recovery keys to Hudu
Adds paired key ID and recovery-key fields for each BitLocker OS, fixed data, removable data or unknown drive to matching Windows device assets. Individual tenants can be excluded on the Tenant Mapping tab.
Exclude device serials (comma separated)
Additional serial numbers to skip when matching and creating devices. A set of common placeholder serials is always excluded regardless of this setting.
Import domains from M365
Creates a Hudu website record for each domain in the tenant that does not already exist.
Monitor domains in Hudu
Enables DNS, SSL and WHOIS monitoring on the website records created by the previous setting. Without it, records are created paused with monitoring disabled.
Hide Empty Roles in Magic Dash
Omits directory roles with no active or eligible members from the assigned roles table, which keeps the Magic Dash considerably shorter.
Include link to Partner Center Service management page (partner.microsoft.com)
Adds a Partner Center link to the tenant's portal links.
Include link to Defender Portal (security.microsoft.com)
Adds a Defender portal link to the tenant's portal links.
Include link to Compliance Portal (compliance.microsoft.com)
Adds a Purview compliance portal link to the tenant's portal links.
Connect to HUDU through CloudFlare Tunnel with the Service Account credentials.
Sends the Cloudflare Access service token with every request to Hudu. Only appears when the Cloudflare integration is enabled.
Reschedule next sync date
Sets a future date to delay the next scheduled synchronisation, which is useful for keeping the first run outside business hours. Leave blank to sync at the next scheduled time.
Obtaining an API Key in Hudu
Configure the key
Give it a name such as CIPP Integration, set Limit scope to to Full Access, and leave Company blank. Enable Password Access under Key can perform the following actions when synchronising LAPS passwords or BitLocker recovery keys. The other actions are not required.
Optionally restrict Allowed IP Addresses to your function app's outbound addresses. CyberDrain-hosted clients can find these at management.cipp.app.
Configuring the Integration in CIPP
Organisation Mapping
The Tenant Mapping tab pairs each CIPP tenant with a Hudu company. Only mapped tenants are synchronised, and mapping a tenant is what causes CIPP to schedule its daily synchronisation.
To map manually, choose a tenant, choose the matching entry under Select Hudu Company, and select the add button. Automap Companies fills in matches automatically, and the refresh button reloads the company list from Hudu. Manual mappings are only written when you select Submit.
IntegrationName
The name of the Hudu company the tenant is mapped to.
Tenant
The display name of the mapped Microsoft 365 tenant.
SyncPasswords
Whether LAPS passwords and BitLocker recovery keys are synchronised for this tenant. Shown as true by default, including for mappings created before the column existed.
TenantDomain
The default domain name of the mapped tenant.
TenantId
The tenant's Microsoft customer ID.
Each row also offers these actions:
Sync Now
Queues an on-demand synchronisation for that tenant only, without waiting for the next scheduled run.
Exclude password data (LAPS/BitLocker)
Stops LAPS and BitLocker data being synchronised for this tenant. Greyed out once SyncPasswords is false.
Include password data
Resumes LAPS and BitLocker synchronisation for this tenant. Greyed out while SyncPasswords is true.
Delete Mapping
Removes the mapping.
The exclude and include actions change the table only, so select Submit to save the change. The Sync Windows LAPS passwords and Sync BitLocker recovery keys settings must still be on for password data to be synchronised at all. On the next synchronisation of an excluded tenant, CIPP clears any LAPS and BitLocker values previously written to that tenant's device assets in Hudu.
Field Mapping
The Field Mapping tab nominates which Hudu asset layouts receive Microsoft 365 user and device data.
Asset Layout for M365 Users
The layout used for user assets. The built-in People layout is recommended, as using a layout with an unexpected structure tends to cause matching problems.
Asset Layout for M365 Devices
The layout used for device assets.
Leave either set to --- Do not synchronize --- to skip that data type entirely. Select Submit to save, and use the refresh button after creating new layouts in Hudu.
What Gets Synchronised
Once a tenant is mapped, CIPP schedules a daily synchronisation for it. Each run publishes a Magic Dash card on the Hudu company titled Microsoft 365 - tenant name, showing the licensed user count and containing tenant detail, portal links and the assigned roles table. The roles table lists each role's active members and, for tenants using Privileged Identity Management, its eligible members in a separate column with their eligibility end date; expired eligibilities are left out. User and device assets are then created or updated in the mapped layouts, and domains are imported as website records where enabled.
Each tenant's synchronisation first checks that CIPP can reach Hudu with the saved API key. If it cannot, that tenant's run stops straight away and the Hudu error is recorded in the logbook. Select Test to confirm the connection.
Use Reschedule next sync date to push the next run to a specific date, which is the cleanest way to keep the initial full synchronisation out of business hours.
The Integration Sync page shows per-tenant synchronisation status and is the first place to look when a tenant's data appears stale.
Custom CSS
The Microsoft 365 rich text field can render with cut-off tables or cramped formatting depending on your Hudu theme. Adding the following custom CSS in your Hudu settings improves the layout of the tables, licence tiles and link buttons CIPP generates.
Special Thanks
Special thanks to Luke Whitelock and his HuduM365Automation function app code.
Feature Requests / Ideas
We value your feedback and ideas. Please raise any feature requests on GitHub.
Last updated
Was this helpful?

