mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 08:16:01 +03:00
[GH-ISSUE #5058] [Bug]: Hudu Extension Sync reports 0 Users and 0 Devices despite populated Extension Cache #2407
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#2407
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lacymooretx on GitHub (Dec 5, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/5058
Description
The Hudu Extension Sync completes successfully but reports "Users: 0" and "Devices: 0" for all tenants, even though:
The sync logs show "Starting Device Processing" immediately after "Starting Hudu Extension Sync", skipping "Starting User Processing" entirely - indicating
$licensedUsersis empty/null.Steps to Reproduce
Expected Behavior
Hudu sync should read from the Extension Cache and sync users/devices to Hudu asset layouts.
Actual Behavior
Hudu sync reports 0 users and 0 devices. The sync log is missing "Starting User Processing" which only appears when
$licensedUsershas data (line 421 inInvoke-HuduExtensionSync.ps1).Sync Results (All Tenants Show Same Pattern)
Note: "Starting User Processing" is missing from logs - this only appears if
$licensedUsersis not empty.Verification
Extension Cache sync jobs completed successfully before Hudu sync ran:
Direct API query confirms users exist:
Hudu Configuration
Suspected Root Cause
The Hudu sync reads from Extension Cache via
Get-ExtensionCacheData:Either:
Get-ExtensionCacheDatareturns empty/null for UsersassignedLicenses.skuIdpopulatedEnvironment
Related Files
Modules/CippExtensions/Public/Hudu/Invoke-HuduExtensionSync.ps1Modules/CippExtensions/Public/Extension Functions/Get-ExtensionCacheData.ps1Workaround
None found yet.
@KelvinTegelaar commented on GitHub (Dec 14, 2025):
I wish everyone made these complete reports, thank you!
@github-actions[bot] commented on GitHub (Dec 23, 2025):
This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://docs.cipp.app/dev-documentation/contributing-to-the-code . Please notify the team if you are working on this yourself.
@github-actions[bot] commented on GitHub (Dec 28, 2025):
This issue was closed because it has been stalled for 14 days with no activity.