GithubHelp home page GithubHelp logo

Comments (7)

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

Thanks for the report - we'll look in to resolving this, I suspect there are a couple of resources that don't conform to this approach so will look to bring them all in line at the same time.

from sharepointdsc.

yeahnahyeah avatar yeahnahyeah commented on June 12, 2024

I get similar Hashtable format errors using other classes also.

e.g.

ErrorMessage is The PowerShell provider C:\Program Files\WindowsPowerShell\Modules\xSharePoint\DscResources\MSFT_xSPCreateFarm returned results that are not valid from Get-TargetResource. The FarmName key is not a valid property in the corresponding provider schema file. The results from Get-TargetResource must be in a Hashtable format. The keys in the Hashtable must be the same as the properties in the corresponding provider schema file.

The result is that Test-DscConfiguration always returns "false".

from sharepointdsc.

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

Yea it's a known problem that is near the top of my todo list to rectify. I'll post here as soon as I have a fix published.

from sharepointdsc.

yeahnahyeah avatar yeahnahyeah commented on June 12, 2024

Thanks Brian. Appreciate your efforts.

from sharepointdsc.

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

Tagging as in progress as I'm now working on this one

from sharepointdsc.

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

Hey guys, I have fixes for this in pull request #80 which is now pending code review. I've run Test-DSCConfiguration against a server with the configuration applied and I can now see a True value come out of it too. I'll advise here and close the issue when this hits the dev branch

from sharepointdsc.

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

The fixes for this are now included in the dev branch, I'm closing off this issue. Thanks for reporting it guys

from sharepointdsc.

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.