Comments (5)
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.
A 504 timeout would indicate an issue with the endpoint itself. Is this still happening for you?
from intune-powershell-sdk.
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.
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.
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:
- you can better fetch the apps as report as an example: detected apps report
- 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)
- New-IntuneRoleAssignment gives badrequest
- Get-IntuneManagedDevice returns all devices in a single result
- Get-IntuneDeviceConfigurationPolicy Encrypted omasettings
- Could not create IntuneAppProtectionPolicyiOS policy when assignments are provided HOT 2
- Get-IntuneMobileApp and Get-DeviceAppManagement_MobileApps not retrieving macOS LoB Apps
- This repo is missing important files HOT 2
- Where is Disconnect-MSGraph? HOT 1
- Get-AADGroupmember doesn't work on groups that have a source of Windows Server AD HOT 1
- Exclude Microsoft Intune PowerShell from Compliance Policy
- Security & Compliance Center connection error
- Exchange Online Prerequisite Check Failure HOT 1
- Unable to Connect-msgraph using client secret or cert
- Error on Invoke-IntuneManagedDeviceSyncDevice
- Error on New-MgDeviceManagementDeviceEnrollmentConfiguration HOT 1
- H
- Connect Graph issues
- Get-IntuneMobileApp Productversion parameter shows the wrong data
- Update-mgdevicemanagementmanageddevice -devicecategory HOT 1
- 504 Gateway Timeout when using Get-IntuneManagedDevice | Get-MSGraphAllPages HOT 1
- Assignments missing from get-intunemobileapp output
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 intune-powershell-sdk.