Comments (10)
Hi @Ozurian,
Do you get any errors when it tries to create the policy? I just tried the reproduction steps you provided and the policy created without any issues. If the policy contains message templates however they are not added but the policy and scheduled actions were successfully added.
from intunecd.
The error that occurs is this one:
from intunecd.
This only happened when the policy was not already existing in the tenant though, every time I had one with the same name first it all works to update any wrong settings
from intunecd.
Can you do a new backup of the policy? it looks like keys that should be removed from the policy is not removed from that JSON. I did a new export in JSON myself and keys like ID should not be there in the backup.
from intunecd.
The backup itself gives no errors and generated the JSON file I attached, it never seems to give any hard errors on that step even though it ends up with these properties that should not be there
from intunecd.
Very strange, I tried to get a JSON generated with they keys still there like you have in the attached example but I'm not able to replicate that. I tried in a pipeline in Azure DevOps, a macOS host and a Windows host but it exports without the keys like it should on all of them.
from intunecd.
I think I see what is happening here now, since I have excluded assignments from backup the whole section that removes the keys is skipped due to the if check here:
from intunecd.
You are right, that is for sure a bug in the compliance backup module. I will push a patch for that today to get it sorted!
from intunecd.
That sounds great, thanks!
from intunecd.
Thank you for finding that one
from intunecd.
Related Issues (20)
- [BUG] "HTTPError: Request failed with 200" if a ScopeTag is created
- Intune Custom Compliance Scripts HOT 15
- [FEATURE] Change "Device Filter" import priority HOT 1
- [BUG] 504 errors and other bash issues HOT 1
- [BUG] Failed to create the "Windows Driver Update" Profile with Version 2.3.0b2 HOT 3
- [BUG] Scripts: No changes foun -> Script changed HOT 7
- [FEATURE] Add support for Azure DevOps Federating identity authentication HOT 9
- [BUG] Exclude of "assignments" not supported HOT 3
- [BUG] Convert markdown to PDF HOT 5
- [BUG] Error in pipeline when running update HOT 11
- [BUG] V2.3.0 - Auditing not being added to commits HOT 10
- [BUG] MobileApp Create By... being created without --audit HOT 2
- Update Documentation doesn't include --create-groups argument HOT 1
- [FEATURE] Update group settings HOT 3
- [BUG] Updating a macOS software update policy with group inclusions and exclusions HOT 2
- [BUG] Compliance Policies not being added to Assignment report for new groups HOT 11
- [BUG] Backup fails after renewal of Apple Push Nofication certificate HOT 1
- [BUG] pip3 install IntuneCD installs not the latest version HOT 7
- [BUG] - Deletion of autopilot assignments HOT 11
- [FEATURE] Exit code handling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intunecd.