Giter Club home page Giter Club logo

Comments (16)

almenscorner avatar almenscorner commented on June 11, 2024

Do I understand correctly you are not getting this error if you run the update towards the same environment locally?

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

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.

Nikolara97 avatar Nikolara97 commented on June 11, 2024

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.

almenscorner avatar almenscorner commented on June 11, 2024

Can you share the YAML of the pipeline used?

from intunecd.

Nikolara97 avatar Nikolara97 commented on June 11, 2024

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.

almenscorner avatar almenscorner commented on June 11, 2024

Thanks, are you able to narrow down which enrollment profile it throws the error on?

from intunecd.

Nikolara97 avatar Nikolara97 commented on June 11, 2024

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.

almenscorner avatar almenscorner commented on June 11, 2024

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.

Nikolara97 avatar Nikolara97 commented on June 11, 2024

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.

almenscorner avatar almenscorner commented on June 11, 2024

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.

Nikolara97 avatar Nikolara97 commented on June 11, 2024

Done that, everything was fresh still failing on the same policy.

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

I think I'm able to replicate this now. I will run some tests tomorrow and update here!

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

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.

almenscorner avatar almenscorner commented on June 11, 2024

I will keep this issue open until it is confirmed it is working for you @Nikolara97 😊

from intunecd.

Nikolara97 avatar Nikolara97 commented on June 11, 2024

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

Fantastic, thanks for confirming :)

from intunecd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.