Comments (7)
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.
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.
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.
Thanks Brian. Appreciate your efforts.
from sharepointdsc.
Tagging as in progress as I'm now working on this one
from sharepointdsc.
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.
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)
- Pass empty string to parameter HOT 1
- [SPSearchIndexPartition] Regression introduced with with the fix for issue #1376
- [SPProductUpdate] Resource does not support SPSE yet
- [SPProductUpdate] Resource pauses the Search Service
- [SPInstallPrereqs] Multiple instances of the VC++ Redist causes issues
- [SPShellAdmins] Get-SPDatabase cmdlet cannot be found
- [SPConfigWizard] Add possibility to temporarily dismount content databases during config wizard
- SPHybridConfig: New resource proposal HOT 1
- SPTrustedRootAuthority - Error while adding Trusted Root Authority via CertificateThumbprint
- SPInstallPrereqs: sqlncli.msi is no longer required after November 2021 CU HOT 2
- SPPublishServiceApplication - Set-TargetResource does not work
- Issue while exporting the site configurations with certificate thumbprint HOT 2
- [Export] Export doesn't work in SPSE
- [SPFarm] Import-Module SharePointServer causes exception in SharePoint Subscription 23H1 HOT 3
- SPCertificateSettings: Unable to set contacts when previously blank
- Intro and SPSite Enhancement
- DSC Resource HOT 1
- Least-privileged security model enabled after Oct 22 CU
- Visio Graphics Service Application
- SPFarm: Add SPServerCertificatePipeBind Support for the Central Administration with SPSE HOT 1
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 sharepointdsc.