KelvinTegelaar / CIPP

CIPP is a M365 multitenant management solution
https://cyberdrain.com / https://cipp.app
GNU Affero General Public License v3.0
784 stars 4.75k forks source link

Template Library task stop running #2897

Open github-inosek-com opened 1 week ago

github-inosek-com commented 1 week ago

Description

If a Tenant is selected as Template Library and contain duplicated policy with the same display name but different type, the "CIPP Template" located in the scheduler stop working. Here's the step to reproduce: 1.) Create a compliance policy called "iOS/iPadOS" 2.) Create a app protection policy called "iOS/iPadOS" 3.) Wait for next scheduled sync, it'll "partially" succeed 4.) Bug appears, scheduler won't run the task again.

Removing the "conflicting" policy, deleting the scheduler task, and recreating it resolve the issue.

Environment data

Sponsored instance 
Front end version number: 6.4.0
Back end version number: 6.4.0
Tried Tenant Cache Clear: false
Tried Token Cache Clear: false
github-actions[bot] commented 1 week ago

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/ If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

github-inosek-com commented 6 days ago

I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.