Intune Graph Connector - Need only data for EUC devices not for server

Saurav
Tera Expert

In the past we have used SCCM SG to pull EUC devices data , in SCCM we can add a custom script on the data source to pull only workstation data and we got to popluate Servienow with only EUC (workstation) based data in to CMDB.

 

Going forward the company is moving to Intune, so Intune would have both Servers and Workstations , now as per MS Graph API all those are going to come across via /deviceManagement/managedDevices.

 

Is there a way I can customize this ned point to pull only workstation data and not server data [ vis a vis the workstation customized query] to Servicenow. 

 


MS Graph API
Computers:

  • Endpoint: /deviceManagement/managedDevices
  • This endpoint is used to manage and retrieve information about devices registered in Intune
3 REPLIES 3

Viraj Hudlikar
Giga Sage

Hello @Saurav 

Since its SGC Intune a datastream action "computers/mobiledevices/getalldevices" is triggered before pulling data over staging table. I am not able to recollect how but it's just before scheduled of data import run and over this data stream action you will need to modify or able to send query in such way to get particular information from get call.

 

I advise you to make copy of data stream action before trying out something as I did some 2 years back and at that time revert of flow was not so easy as we have right now.

 

ScriptInclude "IntuneIntegrationUtil" also used to perform some ootb function will be useful to you.

 

Also, seek advice from intune expert to get the query building while doing get call to specific data.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

@Saurav - In this case I would recommend you ask internally an expert from your organization in the Azure who handles Intune data and recommend you look at which column for such classification.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Saurav
Tera Expert

I understand but in SCCM there was an attribute which said it was workstation to a server , I am not able to find any such attribute in INTUNE.