Comments (3)
The purpose of Desired State Configuration is to represent an object in its entirety to make sure that the object corresponds to the one we want to have. If that object is missing, we need enough information to recreate the object again, thus making it a requirement to export all information.
Unfortunately Microsoft365DSC doesn't support what you want directly, but you could export a configuration and "manually" parse the information with ConvertTo-DSCObject
, which returns a list of all resources with its properties. There you could then filter out all the properties you need. That's a bit more of a dirty workaround, but it probably works for your case.
from microsoft365dsc.
As @FabienTschanz points out, there is no such option available in M365DSC as we want to have all available information of a resource within the exports.
Could you describe your use-case a bit more?
from microsoft365dsc.
As @FabienTschanz points out, there is no such option available in M365DSC as we want to have all available information of a resource within the exports.
Could you describe your use-case a bit more?
Thank you for your replies @FabienTschanz and @andikrueger .
Our specific use-case is investigating possibilities for scaling the Microsoft365DSC solution.
For instance, we have a tenant with apx. 13.000 O365 groups (and corresponding SharePoint sites) and exporting the data for this amount of groups/sites takes a very long time, which impacts the possibilities for enforcing the settings we might want.
In this scenario I was thinking that we might not necessarily care about each setting ("SocialBarOnSitePagesDisabled"), for each SharePoint site, but only a few select settings ("OverrideTenantAnonymousLinkExpirationPolicy").
If we were able to export only the settings we want, pr. resource type, then we might be able to decrease the time it takes to make such an export.
As FabienTschanz said, we could edit the exported file after the fact, for enforcement. However this will not help when we will want to generate a delta report, later.
It seems as though this specific use is not supported however and that's fine. I was just trying to look into what our possibilities were.
from microsoft365dsc.
Related Issues (20)
- O365SearchAndIntelligenceConfigurations : Unable to export
- EXOGroupSettings: Only exports 1000 objects HOT 1
- Microsoft365DSC: Cannot bind parameter 'Certificate'. Cannot convert value "CERTIFICATETHUMBPRINT" to type "Microsoft.TeamsCmdlets.Powershell.Connect.Utilities.CertificateParameter". HOT 5
- Bug on EXODkimSigningConfig (wrong Key size value)
- O365OrgSettings issue with V1.24.626.1 HOT 3
- HELP: how to deploy sensitivity labels with [SCSensitivityLabel] - specifically how to get "update" access?
- IntuneWindowsAutopilotDeploymentProfileAzureADJoined: Creates New Resource Every Run HOT 2
- EXOCASMailboxPlan: Cannot change resources
- QUESTION / DOCUMENTATION: Is "Organization.Read.All" really enough for "Update" access to [TeamsUpgradePolicy]? HOT 1
- EXOMailboxPlan: Cannot change resources
- EXOAuthenticationPolicy: Cannot change resources HOT 3
- EXODkimSigningConfig: Cannot change resources
- [SCSensitivityLabel] How to handle Unicode characters in Comments property (and a few others) HOT 2
- Hard coded values on Teams resources
- TeamsFederationConfiguration: add ExternalAccessWithTrialTenants
- Intune: Assignment comparison not working for several resources HOT 2
- SCLabel not setting all changed properties
- M365DSC Versions added to the resources page HOT 3
- EXOHostedContentFilterRule: Cannot update resource
- EXOHostedOutboundSpamFilterRule: Cannot update resource
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 microsoft365dsc.