Coder Social home page Coder Social logo

Comments (3)

CoreyLivingston avatar CoreyLivingston commented on August 10, 2024

Hi @X-Guardian - We're running into an issue and we were wondering if it's related this bug as well.

Here is some background info on our use case:

We are not using SQL with ADFS.
We are using chef to call these ADFS DSC modules.

Running the recipe the first time, everything works fine but converging a second time after ADFS has been installed/configured we get the following error:

Chef::PowerShell::CommandFailed
 -------------------------------
Unexpected exit in PowerShell command: ["PowerShell DSC resource MSFT_AdfsFarmNode  

failed to execute Set-TargetResource functionality with error message: System.InvalidOperationException: 
Unable to determine the SQL database state. 
An AD FS configuration database with the same name already exists; 
specify that the existing database is to be overwritten. "]

We were surprised to see that the module was attempting to validate the SQL DB state.

I can dig into this a bit further but was wondering if you think this is related.

Thanks

from adfsdsc.

X-Guardian avatar X-Guardian commented on August 10, 2024

Hi @CoreyLivingston, this would only be an issue if you were specifying both a SqlConnectionString and PrimaryComputerName/Port parameter in your Dsc Config.

The message you are seeing looks like output from the Get-AdfsSyncProperties cmdlet which the Get function of the AdfsFarmNode resource uses. I would need to see the Dsc verbose logs to help you further.

from adfsdsc.

CoreyLivingston avatar CoreyLivingston commented on August 10, 2024

Ah ok, thank you. I think our issue is different. I'll do a bit more research on my end.

from adfsdsc.

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.