Installation with Intune for ETP-enabled Deployment
This article explains how to deploy the Action1 agents to Windows endpoints using Microsoft Intune when Endpoint Takeover Prevention (ETP) is enabled for your Action1 organization.
The Action1 agent can be installed:
NOTE: Deployment as a Win32 app is a recommended method, since it does not store the installation token on the endpoint (see this section for more information).
Before You Begin
Step 1: Get the agent MSI and the installation token
In the Action1 console, go to Endpoints and click Install Agent to launch the wizard.
- Select Windows as the operating system, then from the installation options, select Direct download.
- Use the download link to get the agent MSI file (
action1_agent.msi).
- If you are installing the first agent, Action1 creates the installation token for your organization automatically. Copy the Installation Token and store it in a secure location.
- If no installation token exists for the organization yet, in the Install Agent step, click Create Installation Token.
- If a token already exists but you cannot access it, click Recreate Installation Token. (You will need your Action1 Key to recreate the token.)
Step 2: Prepare a group of target endpoints
By default, deployments can target All Devices or All Users. To deploy the agent to selected endpoints only, create a dedicated group of the endpoints to be managed by Action1. Both deployment methods use such a group.
- In the Microsoft Intune admin center, go to Groups and click New group.
- Set Group type to Security, enter a Group name (for example, Action1 Agent Devices), and set Membership type to Assigned. Click Create.
- Open the group, go to Members, click Add members, and add the target devices.
NOTE: You can also use a Dynamic Device group, for example, to target all corporate Windows devices automatically.
Deploying as a Win32 app
With this method, the MSI file is packaged using the Microsoft Win32 Content Prep Tool.
NOTE: In Intune, a Win32 app refers to both 32-bit and 64-bit Windows applications.
Stage 1: Prepare the agent package
- Download the Microsoft Win32 Content Prep Tool (
IntuneWinAppUtil.exe) from https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool. - Put
IntuneWinAppUtil.exeinto a local folder (for example,C:\IntunePackages) and create theSource\Action1andTarget\Action1subfolders in it. - Copy the downloaded
action1_agent.msifile toC:\IntunePackages\Source\Action1. Do not rename it: the command below refers to this name. - Open a command prompt and create the package using the following command:
IntuneWinAppUtil.exe -c <setup_folder> -s <source_setup_file> -o <output_folder>
For this example:
cd /d C:\IntunePackages IntuneWinAppUtil.exe -c C:\IntunePackages\Source\Action1 -s C:\IntunePackages\Source\Action1\action1_agent.msi -o C:\IntunePackages\Target\Action1 -q
The package action1_agent.intunewin is created in the C:\IntunePackages\Target\Action1 folder.
NOTE: The package does not contain the installation token. You will specify the token using the Install command at Stage 2, so that one package can be used for several Action1 organizations.
Stage 2: Add the app
- In the Microsoft Intune admin center, go to Apps | Windows and click Create.
- From the App type list, select Windows app (Win32) and click Select.
- At the App information step, click Select app package file, browse for the
action1_agent.intunewinfile created at Step 1, and click OK. - Enter the Name, Description, and Publisher. Optionally, add a logo and other details. Click Next.
- At the Program step, replace the default Install command (
msiexec /i "action1_agent.msi" /q) with the one that includes your installation token:msiexec /i "action1_agent.msi" /qn INSTALLATION_TOKEN=<Your Installation Token>
- Keep the generated Uninstall command and other settings. Install behavior should be set to System. Click Next.
- At the Requirements step, set Check operating system architecture to No. Allow this app to be installed on all systems and select the Minimum operating system. Refer to Action1 Requirements for the supported versions. Click Next.
- At the Detection rules step, set Rules format to Manually configure detection rules and click Add. Configure the rule as follows:
- Rule type: File
- Path:
C:\Windows\Action1 - File or folder:
action1_agent.exe - Detection method: File or folder exists
- Associated with a 32-bit app on 64-bit clients: No
NOTE: Do not use the MSI rule type. It checks the MSI product code, which changes every time the agent updates itself. After an update, Intune would no longer detect the agent and would report the installation as failed or try to install it again. The File rule keeps working after updates.
- At the Dependencies, Supersedence, and Scope tags steps, click Next.
- At the Assignments step, under Required, click Add group and select the group of target endpoints. Click Next.
- At the Review + create step, check the settings and click Create.
Stage 3: Verify the deployment
Wait for the deployment to complete. Then go to Apps | Windows, select the app, and open Monitor | Device install status. The status should be Installed for the target devices. The Intune reports can show data with a delay. See also: Speeding up the deployment
The endpoint also shows up in the Endpoints view of the Action1 console with Connected status and a green icon in the ETP column.
Deploying to multiple Action1 organizations
When deploying the agents to several Action1 organizations:
- Use the same MSI or
.intunewinpackage for all organizations. - Create a separate Intune app for each organization and configure it with that organization’s installation token.
- Assign each app to its own group.
- An endpoint must belong to only one of these groups.
Deploying as a line-of-business app
With this method, the MSI file is provided to Intune as a line-of-business (LOB) app.
NOTE: With this method, the installation token is stored as plain text in the registry of every endpoint. Use the Win32 app method if this is not acceptable. See “Security considerations” below for more information.
Stage 1: Add the app
- In the Microsoft Intune admin center, go to Apps | Windows and click Create.
- From the App type list, choose Line-of-business app and click Select.
- At the App information step, click Select app package file, browse for the
action1_agent.msifile you have downloaded, and click OK.
Stage 2: Specify app properties
- Enter the Name, Description, and Publisher.
- App install context is set to Device automatically and cannot be changed; the agent is always installed for the whole machine. Target a group of devices, not users.
- Set Ignore app version to Yes.
NOTE: With this setting, Intune installs the app only if it is not present on the endpoint. It will not upgrade an installed agent, regardless of its version. (The agent updates itself through Action1 Cloud, so Intune should not try to replace it.)
- In Command-line arguments, enter:
/quiet /norestart INSTALLATION_TOKEN=<Your Installation Token>
where:
- Â
/quiet– required for unattended installation. /norestart– optional, prevents a restart.INSTALLATION_TOKEN– required, associates the agent with your Action1 organization.
- Â
Optionally, add an installation log, for example:
/l*v "C:\Windows\Temp\action1_agent_install.log"
here v is the verbose logging level, followed by the path to the log file.
- Specify other properties as needed. Refer to the Microsoft documentation: Add a Windows line-of-business app to Microsoft Intune.
- At the Scope tags step, click Next.
Stage 3: Assign the app
- At the Assignments step, under Required, click Add group and select the group of target endpoints. Click Next.
NOTE: A group can be included in only one assignment category (Required or Available for enrolled devices).
- At the Review + create step, check the settings and click Create.
Stage 4: Verify the deployment
Wait for the deployment to complete (see the “Speeding up the deployment” section below). Then, in the Intune admin center, go to Apps | Windows, select the app, and open Monitor | Device install status. The status should be Installed for the target devices.
NOTE: The Intune reports can show data with a delay.
The endpoint also shows up in the Endpoints view of the Action1 console with Connected status and a green icon in the ETP column.
Speeding up the deployment
Endpoints check for new apps on their own schedule. Win32 apps are installed by the Intune Management Extension, which checks in about every 60 minutes; LOB apps are installed during the regular device sync.
-
In the Microsoft Intune admin center, go to Devices | Windows, select the device, and click Sync. To sync many devices at once, use Bulk device actions.
-
If a Win32 app still does not arrive after a sync, restart the Microsoft Intune Management Extension service on the endpoint (or restart the endpoint). The extension checks for Win32 apps right after it starts.
NOTE: If you assign the app right after creating it, the first check-in can return no apps, because the assignment has not reached the service yet. The app is installed at the next check-in.
Security considerations
Anyone with the installation token can install agents that register in your organization. If the token might have been compromised, generate a new one in the Action1 console and update the command in the agent deployment app in Microsoft Intune.
Consider the following:
-
The Win32 app method does not store the token in the registry or in the logs.
-
Intune administrators can see the token in the app properties.
-
LOB app: Intune stores the full command line (including the token) in the endpoint registry.
-
Both methods: the token is part of the command line of the
msiexec.exeprocess and of theaction1_agent.exeprocess started by the installer. It is recorded wherever process command lines are logged, e.g., in Sysmon.
