Fetching Packages from Intune in a catalog Item

hadron_collider
Tera Contributor

Hello,

 

 

I am trying to develop a functionality where I fetch the packages from Intune in a dropdown menu.

 

Does anyone have experience in this area? Any advices on how to achieve this?

 

Many thanks!

2 REPLIES 2

Amit Verma
Kilo Patron
Kilo Patron

Hi @hadron_collider 

 

Though I am not an Intune expert, I can just give you a brief of how to approach this :

 

Step 1: Identify the Rest API for listing all the Intune packages.

 

Step 2: Configure Rest Message in ServiceNow based on the Intune Rest API. You can refer below link to check how to configure Rest Message in ServiceNow

https://docs.servicenow.com/bundle/vancouver-api-reference/page/integrate/outbound-rest/task/t_Confi...

 

Step 3: Once your Rest Message is ready, you can use it inside a Client Callable Script Include and call this Script Include via a Client Script from a catalog item to render a variable with packages.

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Dr Atul G- LNG
Tera Patron
Tera Patron

 Hi @hadron_collider 

 

It can be done via intergation/ Rest API. Need to call API onrun time and populate the data.

 

https://docs.servicenow.com/bundle/vancouver-integrate-applications/page/administer/integrationhub-s...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************