I can reproduce this issue on the latest released versions of both CIPP and CIPP-API.
I have searched existing issues (both open and closed) to avoid duplicates.
I am not requesting general support; this is an actual bug report.
When using the Template Library with a Golden Tenant, policies lose their package association after a subsequent sync/run. The policy itself is updated/overwritten correctly, but CIPP no longer knows which package it belongs to.
Steps to Reproduce
Go to Template Library in CIPP.
Connected with an Golden Tenant.
Create (or select) a Package that contains at least one policy.
In the Golden Tenant, assign/link the policy to the package (one-time add).
Trigger a policy run/sync (e.g., apply templates to the Golden Tenant or run the scheduled job).
After the run completes, open Template Library → Packages and/or the policy detail.
Observe: the policy still exists and was overwritten as expected, but the UI no longer shows the package association (the policy “forgets” which package it belongs to).
Expected Behavior
After each run/sync, the policy remains linked to the same package it was originally assigned to.
The package → policy relationship is visible/consistent in the UI and export endpoints.
Actual Behavior
The policy is updated/overwritten correctly, but loses its package association.
In the UI, the policy no longer appears under the package; the package → policy mapping is missing.
Sponsored (paying) user
v8.6.1
v8.6.1
Please authenticate to join the conversation.
Released
Bug / Fix
4 months ago

Kelvin Tegelaar
Get notified by email when there are changes.
Released
Bug / Fix
4 months ago

Kelvin Tegelaar
Get notified by email when there are changes.