Giter Site home page Giter Site logo

Comments (3)

FabienTschanz avatar FabienTschanz commented on July 27, 2024 1

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.

andikrueger avatar andikrueger commented on July 27, 2024 1

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.

Raimer1988 avatar Raimer1988 commented on July 27, 2024

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)

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.