Deploying via InTune
There are two methods to deploying the Block 64 Discovery Agent via InTune, you can either deploy the MSI as an app or utilize a provided PowerShell script to push to devices.
Please note: Using the PowerShell script will require your environment to allow users/devices to run PowerShell, Download and Install applications.
Deploying via MSI
Deploying via PowerShell Script
Uninstallation
Deploying via MSI
To begin, login to your Intune Admin Center at https://devicemanagement.microsoft.com or browse via the Azure Portal, to Intune.
From the Intune portal, click on Apps in the menu on the left side.
Next on right side pane, click on All Apps.
Click on Add in the options in the center of the admin center as highlighted above, within the App Type drop down, scroll all the way down and select Line of Business Application, and click SELECT.
In the Line of Business Application configuration section, you need to select the installation file for deployment. You want to now browse to and select where you have saved your “Slingshot.MSI” file for deployment.
Uploading the MSI Application in Intune
Click on Folder Icon , and Select the Slingshot MSI file saved on your host.
Select the file and Intune reads the installer and a brief summary shown. Click OK.
Configure Application Information
Now you will see the configuration wizard open with all the settings as shown below,
Enter the Publisher as "Block 64"
Select "Device" for App Install context
Select "Yes" for Ignore app version
Enter the following in Command-line arguments and include your specific customer enrollment token between the quotations. The quotations remain in the command-line argument.
ENROLLMENT_TOKEN="insert token ID" /qn
ATTENTION: Each enrollment token is specific to the customer and should not be used for multiple engagements. The enrollment token for your deployment can be retrieved by your engagement lead or by contacting Block 64 Support.
Here you can choose the Scope of the installation by adding a Group or All Devices. This could be useful for restricting the application to specific groups for deployment or to push to all the endpoints.
You want to make sure this is in the "Required" section as it will force endpoints to pull the installation from the Intune deployment service rather then make it optional.
Finally after you have populated all the information/completed all the options, you can then select Next.
after reviewing the final settings you can click "Create".
At this stage, your Slingshot installation file will be uploaded to the Intune Portal. Depending on your connection speed, this could take some time. Whilst the file is uploading, the Intune Portal displays a red banner, stating “Your app is not ready yet. Check back again soon”.
Once the upload is complete, you will receive an in-dash notification. You will also see the application appears in the ALL APPs list of applications available for you to deploy.
When you click on the Slingshot application you will now see the Device Status and how many devices have been assigned, successfully deployed and pending deployment as well as any failures.
Deploying via PowerShell script
Sign in to the Microsoft Intune admin center.
Select Devices > Scripts > Add > Windows 10 and later.
In Basics, enter the following properties, and select Next:
Name: Enter a name for the PowerShell script.
Description: Enter a description for the PowerShell script. This setting is optional, but recommended.
In Script settings, enter the following properties, and select Next:
Script location: Browse to the PowerShell script.
Run this script using the logged on credentials: Select No
Enforce script signature check: Select No
Run script in 64-bit PowerShell host: Select Yes to run the script in a 64-bit PowerShell host on a 64-bit client architecture.
Uninstallation Steps:
To uninstall the application we want to browse to the Slingshot deployment overview page and Select Properties, and click Edit next to assignments.
When the slingshot collection is complete we can switch the Assignment from install groups to Uninstall Groups to uninstall the Slingshot.MSI from the machines assigned for deployment.
In the assignment settings, Remove the groups assigned for installation scroll down past required and available for enrolled devices to the "Uninstall" section of the settings, and here we can add the same groups to which the application has been deployed to begin to have the application uninstalled as it is no longer needed.
Finally you can select Review and Save and review the final settings and begin the Uninstallation process.
Once uninstallation is completed you may go to All Apps and remove the application from the list completely.
If you run into any issues or require any assistance, please navigate to our Help Center.