Coder Social home page Coder Social logo

Comments (7)

Micke-K avatar Micke-K commented on June 30, 2024

Hello,

Yes, it will have a few differences like ID, last modified, created etc. I normally open the csv in excel and filter out those properties.

This is also something I am currently looking into. I have many ideas for the compare functionality. In fact, I'm looking into a redesign of many of the features. However, all the changes takes longer than I thought for many different reasons.

Cheers!

from intunemanagement.

Influencer101 avatar Influencer101 commented on June 30, 2024

For us, it's already a big help to quickly deploy policies. If it can also be used to automatically detect configuration drift, it will be fabulous 😀. I hope you find the time to continue to improve the tool. Keep up the good work! Thanks!

from intunemanagement.

DanClowry avatar DanClowry commented on June 30, 2024

I have created a small Powershell script that copies the IDs from one set of exported policies to another so they can be compared using the "Files in Exported Folders" option. It uses the exported file name to determine if the policies are the same so the policies must have the same name in the baseline & comparison tenant. The script was written in 30min so it probably doesn't cover edge cases but works well enough for me.

https://gist.github.com/DanClowry/893b97b33805a17bd64f4b316e246412

Usage:

  1. Export the objects from your baseline tenant
  2. Export the objects from the tenant you want to check
  3. Run the following command replacing the paths with wherever you exported the files: .\DuplicateIntuneManagerIds.ps1 -BaselinePath C:\temp\OpenIntuneBaseline-main\WINDOWS\ -TenantExportPath C:\temp\export\Contoso\
  4. Compare the two folders in IntuneManagement using the "Files in Exported Folders" option - IntuneManager will now be able to properly compare the policies and identify any differences.

from intunemanagement.

Micke-K avatar Micke-K commented on June 30, 2024

Hello,

Thank you so much! I'll have a look at this.

I did some minor updates to compare in the last version but still have a few more things to add.

Still working hard on the new version. This will be way easier to implement there but I'll see what I can do in meantime. It should be fairly easy to implement in the existing version as well.

Cheers!

from intunemanagement.

Micke-K avatar Micke-K commented on June 30, 2024

Hello

Can you test this? Replace Xaml files in the Xaml folder and psm1 in the Extensions folder.

I added a new Compare provider "Intune Objects with Exported Files (Name)". This will compare Intune objects with exported files and identify exported objects based on name in file. I renamed the default provider to "Exported Files with Intune Objects (Id)".

I also added a couple of extra Skip options to exclude missing exported files or skipping missing Intune objects.

I fixed a bug when skipping Basic properties + added ScopeTags as Basic Properties eg matching value will be skipped if you select that.

Let me know how it goes if you test it.

Cheers!

Compare.zip

from intunemanagement.

DanClowry avatar DanClowry commented on June 30, 2024

I've tested with those new files and it's working great. The "Intune Objects with Exported Files (Name)" comparison method correctly identifies what settings differ in the tenant's current policies vs our baseline export. The options to skip missing policies also works great and has made it really easy to compare multiple tenants against our baseline without it getting cluttered with policies unique to specific tenants.

Thanks for adding this in so quick!

from intunemanagement.

Micke-K avatar Micke-K commented on June 30, 2024

Thank you for the update!

Cheers

from intunemanagement.

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.