Comments (16)
Do I understand correctly you are not getting this error if you run the update towards the same environment locally?
from intunecd.
Can you try to do a new backup of the Windows Enrollment profiles in the repo and run the update after that?
For one specific Windows Enrollment profile in Intune it is not able to get the ID for some reason
from intunecd.
Yeah, If I run it's locally on same env there is no any errors at all. Already tried that and it's not working.
from intunecd.
Can you share the YAML of the pipeline used?
from intunecd.
Sure, here it is:
`trigger:
branches:
include:
- main
pool:
vmImage: ubuntu-latest
variables:
REPO_DIR: $(Build.SourcesDirectory)/git-backup-update-test
steps:
-
checkout: self
persistCredentials: true -
script: pip3 install IntuneCD
displayName: Install IntuneCD -
script: IntuneCD-startupdate -m 1
env:
REPO_DIR: $(REPO_DIR)
TENANT_NAME: $(TENANT_NAME)
CLIENT_ID: $(CLIENT_ID)
CLIENT_SECRET: $(CLIENT_SECRET)
displayName: Run update`
from intunecd.
Thanks, are you able to narrow down which enrollment profile it throws the error on?
from intunecd.
Nope, it's not showing which one is making problems, we are just having two enrollment profiles and as i mentioned it was working like couple of days ago, there was not any change in those profiles.
from intunecd.
Can you double check that there is no duplication of the enrollment profiles in the repo, for example the same config is saved in both YAML and JSON?
from intunecd.
Already checked that couple of times, even done backup to new folder to have everything fresh and than tried update from new folder and still failing on same profile, there is no double config....
from intunecd.
I'm really struggling to replicate this, especially since it is working from your machine locally. I cannot see that the fault would be in the tool in that case.
This is probably the last thing you want to do but can you try to create a new project in Azure DevOps with fresh new pipelines and check if you still have the same issue?
from intunecd.
Done that, everything was fresh still failing on the same policy.
from intunecd.
I think I'm able to replicate this now. I will run some tests tomorrow and update here!
from intunecd.
Version 1.3.4 has been released (#94) and includes bug fixes for the Windows Enrollment profile issue where it exits with KeyError: 'id'
.
from intunecd.
I will keep this issue open until it is confirmed it is working for you @Nikolara97 π
from intunecd.
from intunecd.
Fantastic, thanks for confirming :)
from intunecd.
Related Issues (20)
- [BUG] Scope Tag Assignments not always reported in the same order HOT 5
- [BUG] "Scope Tag Deleted" if the ScopeTagIDs differ between tenants HOT 21
- [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
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.