The CreatorCon Call for Content is officially open! Get started here.

Execute Scripts Placed in Intune from Servicenow

PRAVEENA V
Tera Contributor

Hi ,

 

Client have placed self-execution scripts  in the Intune Company portal and the requirement is to run the scripts from Servicenow Virtual agent on a single click or request by the end users. These scripts need to get executed in the end user machine.

 

We have set up Microsoft Intune Spoke in our environment. Kindly guide me the ways in which this can be implemented

2 REPLIES 2

Hasan6
ServiceNow Employee
ServiceNow Employee

Hi Praveena,
If you have the spoke already setup, then your pending work is will be quite straightforward.

  1. Start with implementing your spoke in a flow designer flow or subflow for triggering the intune script, and activate it.
  2. Next, keep the code handy to implement the flow/subflow. You need to run this code whenever you want to trigger the script.

                Hasan6_0-1700488283366.png

 

        3. If you are looking to trigger it via virtual agent, add a script action to a va topic with the script as the one in step 2.

                Hasan6_1-1700488450236.png

 

 

Hope this helps

Best

Hasan

 

Hi Hasan,

 

Thank you for the solution. Could you please elaborate on the Flow designer part. For triggering scripts placed in Intune which flow action/step should be used. 

PRAVEENAV_0-1700491650802.png