Issues with SG connector for Microsoft Intune - HTTP return status code was 504

Patilan
Tera Contributor

We are using OOTB plugin to import assets from Intune to our SBX env.

The connection test and load is successfull. Test load is successful. Even the data is inserting in the staging tables correctly during the schdule run. But it is not inserting in the target table. 

 

In the import log I find over 130 k successfull log entries (HTTP response 200), and the following errors

 

22-11-2023 04:47:09
SG-IntuneLoading import set table cancelled: sn_intune_integrat_devicesScheduleImportJob 
Select record for action: Created 22-11-2023 04:47:09 
22-11-2023 04:47:09
SG-IntuneData was not loaded properly with data source: SG-Intune DevicesScheduleImportJob 
Select record for action: Created 22-11-2023 04:46:59 
22-11-2023 04:46:59
SG-IntuneError executing script : org.mozilla.javascript.JavaScriptException: Error: Unable to make a connection to Intune via Graph API call. Please check your credential configuration. Check system log for more details. HTTP return status code was 504 (sys_script_include.6a4e0342773310102dfb23446810611c.script; line 659)Loader (SG-Intune Devices)

 

Despite having 130 k successfull log entries, there are no entries in the target Device table, but only in the staging.

 

I wonder if it is normal to make so many calls and it seems to me that the Microsoft graph api server cannot handle so many calls.

Has anyone had such issues?

 

Also, would you reccomend using a MID server?

 

Thanks

9 REPLIES 9

rakeshreddy1809
Tera Contributor

Hey Patilan, Have you had any success with this issue I had  recently worked on Intune Integration and facing same error not sure about the actual reason for failing.

Hey.

I set the import schedule to NOT run concurrently. 

This error shouldn't be preventing the import, but in any way, it failed. 
Perhaps another reason is that we are still in Sandbox.

Good luck.

BhupeshG
Tera Guru

Hi is this issue fixed. 

 

I faced similar issue. it kind of stuck at some device after sometime and times out with 504.  thereby impacting further load

Patilan
Tera Contributor

Yes, just disable concurrent Import from the Import Schedule.