Code Monkey home page Code Monkey logo

Comments (5)

LeoniSantos avatar LeoniSantos commented on May 12, 2024 1

Hello Rohit, yes this happens several times, more often when I work with large data, I managed a workaround using try/catch inside a do/until loop, but this is not good for performance.

same calls sometimes work other fails

from intune-powershell-sdk.

rohitramu avatar rohitramu commented on May 12, 2024

A 504 timeout would indicate an issue with the endpoint itself. Is this still happening for you?

from intune-powershell-sdk.

bhicks-appen avatar bhicks-appen commented on May 12, 2024

I have just started getting lots of 504 Gateway Timeout's when utilizing Get-IntuneTroubleshootingEvent:

Get-IntuneTroubleshootingEvent : 504 Gateway Timeout
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "4939eb55-284a-4ba6-9f6d-182b3245654b",
"date": "2019-08-16T22:49:51"
}
}
}

from intune-powershell-sdk.

Skatterbrainz avatar Skatterbrainz commented on May 12, 2024

I'm running into this today myself. We have approx 1850 devices. I can query the basic data just fine, but if I try to include the applications inventory it dies after querying 50-75% of the total. Any updates or progress on this issue?

from intune-powershell-sdk.

DennisBergemann avatar DennisBergemann commented on May 12, 2024

Hi @Skatterbrainz, i am working great with 40.000 devices in intune.

in this case your timeouts are not related to this sdk, but to the graph api themself, its too high utilized...

2 Guesses:

  1. you can better fetch the apps as report as an example: detected apps report
  2. you can send your request as batch, this is sometimes better

I am using graph calls directly without this sdk, but this sdk should work as well
Keep in mind, you can see the graph calls you need every time in intune console (F-12) Network or with addon

Best regards

from intune-powershell-sdk.

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.