Giter Site home page Giter Site logo

Comments (10)

Micke-K avatar Micke-K commented on September 22, 2024

Hello,

That is a weird one. Is it 100 policies in total or 100 policies if a specific kind eg Configuration Policies. Do you gave a log you can attach? Also the error, is that during listing,exporting, importing or documenting a Policy Set? Sounds like after import but just to be sure.

Cheers!

from intunemanagement.

jjrmilner avatar jjrmilner commented on September 22, 2024

from intunemanagement.

jjrmilner avatar jjrmilner commented on September 22, 2024

Here are the screenshots on the target tenant after the import:
image

image

from intunemanagement.

jjrmilner avatar jjrmilner commented on September 22, 2024

These are the only errors in the logs. I dont think they are relevant to the issues creating the policy sets but I have included them for reference:

image

image

image

image

image

from intunemanagement.

jjrmilner avatar jjrmilner commented on September 22, 2024

Some additional information.

The target tenants have over 1000 configuration profiles.

Intune does not return all 1000 profiles immediately. The first 100 are returned and display a message at the top of the page that the full list is being compiled. After a few seconds, a ‘Ready’ button appears to merge the results. Intune then returns the full set of data.

When adding a policy to the policy set, Intune paginates the list of available policies with a ‘load more’ prompt.

I am wondering if the Policy Set API has a similar behaviour, which is preventing the import from correctly referencing some of the configuration profiles.

Thanks
JJ

from intunemanagement.

Micke-K avatar Micke-K commented on September 22, 2024

Hello,

Sorry I've been away from the computer during the holidays and thank you for all the troubleshooting.

I attached an updated version. I hope this will fix it. The dependency during import loaded only the first page. Policies with multiple pages would then not be available and import would fail. This will load a lot of data so memory usage and import time will increase.

Cheers

MSGraph.zip

from intunemanagement.

jjrmilner avatar jjrmilner commented on September 22, 2024

Thank you - I will test the new code and let you know the results.

from intunemanagement.

jjrmilner avatar jjrmilner commented on September 22, 2024

I have started testing the policy set exports.

Policysets do not export the PolicySets Node of Intune Manager. The log does not generate any errors, but no files are saved.

However, if I use the Bulk Export option and select the Policy sets Object Type, then the policy sets to export.

I will test the import and advise futher.

from intunemanagement.

jjrmilner avatar jjrmilner commented on September 22, 2024

I have tested importing PolicySets (Same Tenant), and all the policies are now being added to the PolicySet :).

Thank you for your help with this.

from intunemanagement.

Micke-K avatar Micke-K commented on September 22, 2024

Hello,

Thank you for the update!

I have no issues exporting a single Policy Set. I did some simple tests but all worked.

I'll see if I can do some more tests later.

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.