Giter Site home page Giter Site logo

The type initializer for 'Microsoft.Graph.PowerShell.Authentication.Common.ProtectedFileProvider' threw an exception. about microsoft365dsc HOT 6 OPEN

adhodgson1 avatar adhodgson1 commented on June 27, 2024
The type initializer for 'Microsoft.Graph.PowerShell.Authentication.Common.ProtectedFileProvider' threw an exception.

from microsoft365dsc.

Comments (6)

adhodgson1 avatar adhodgson1 commented on June 27, 2024 1

from microsoft365dsc.

adhodgson1 avatar adhodgson1 commented on June 27, 2024 1

from microsoft365dsc.

andikrueger avatar andikrueger commented on June 27, 2024

Did you include the following steps in your pipeline:

Update-M365DSCDependencies
Uninstall-M365DSCOutdatedDependencies

This error looks like an issue with the preinstalled versions in the pipeline host.

from microsoft365dsc.

adhodgson1 avatar adhodgson1 commented on June 27, 2024

Yes those commands are being issued on pipeline runs. The host we are using is a private ADO build agent. I actually resolved this by getting the team that runs these agents to recycle the agent after every run, so its something going on with the agent after an export. Still not sure what is causing it, seems also to be intermittent. Prefer recycled build agents anyway.

from microsoft365dsc.

jadamones avatar jadamones commented on June 27, 2024

I'm having the exact same issue. Have you made any progress on this or you have stuck to recycling the agents? #4622

from microsoft365dsc.

jadamones avatar jadamones commented on June 27, 2024

@adhodgson1 Thanks for the response and, yeah, same issue here. I'm attempting to run an export job task in the same pipeline that I'm running the compliance check script from the whitepaper. I've discovered that running it in a completely separate pipeline works just fine, but I want this task to run after the compliance test fails. When you say that you are recycling agents, does that mean that you are destroying the VMs and creating new ones just for the one job or are you doing something different like agent maintenance?

from microsoft365dsc.

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.