SIMPLIFIED POWERSHELL API SCRIPTING WITH ACTION1

This Wednesday | 9 AM PST / 12 PM EST | 11 AM CET / 10 AM GMT

Getting Started

Endpoints

Patch Management

Vulnerability Management

Software Deployment & IT Assets

Automation & Remote Desktop

Real-Time Reports & Alerts

Account Access & Management

SSO Authentication

Security Concerns

Need Help?

Action1 5 Documentation 5 Installation with Microsoft Intune 5 Installation on macOS Endpoints

Installation on macOS Endpoints

This section explains how to deploy the Action1 agent via Microsoft Intune on the macOS endpoints.

Stage 1: Download Action1 agent

Download the Action1 agent setup for macOS from the Action1 console – but do not run it. For that:

  1. In the Getting Started wizard click Copy URL.
  2. In the dialog displayed, click Copy command and modify the command – remove its last part that begins with && open.
  3. The resulting command for the agent download should look like this:

p=(pwd) && curl -o "{p}/action1_agent(My_Organization).pkg" [https://app.action1.com/agent//Mac/agent(My_Organization).pkg]

Here:

curl – cURL (Client for URL) utility for the file download.
-o – a parameter that instructs cURL to save the downloaded PKG file with the same name as in the URL.
id – a unique ID associated with a downloadable agent setup for your organization.

Select target architecture and Office 365 edition.

Stage 2: Assign deployment targets

By default, All Devices or All Users are used as deployment targets. To deploy the Action1 agent to a selection of endpoints or users other than All Devices or All Users, you should create a dedicated group that will contain the endpoints managed by Action1.
For that:

  1. Open Microsoft Intune admin center.
  2. Browse to Groups, select New Group, and configure its settings as required.
  3. From the Membership type list select Assigned, then add the relevant devices or users as Members.

Stage 3: Configure app deployment

  1. In the Microsoft Intune admin center, go to Apps and select macOS.
  2. Click Add, then select then select macOS app (PKG) from the list of app types.
Select target architecture and Office 365 edition.
  1. At the App Information step, click Select app package file and browse for the Action1 agent file you have downloaded.

Then specify the app properties using the wizard:

  1. At the App information step, provide the Name, Description, and Publisher.
Select Office apps.
  1. At the Program step, click Next.
  2. At the Requirements step, select macOS Monterey 12.0 from the Minimum operation system list.
Select Office apps.
  1. At the Detection rules step, set Ignore app version to Yes.
Select Office apps.

NOTE: If this parameter is set to Yes, this will instruct Intune to deploy the app only if it is not present on target; if the app is already installed, it will stay untouched regardless of its version. Since the Action1 agent is updated automatically through a connection to Action1 Cloud, it always has the latest version, which will not be overridden in this case.

  1. At the Assignments step, navigate to Required and click Add group (recommended option) to specify targets for the Aciont1 agent app deployment.
Select Office apps.
  1. At the Review+create step, verify the settings and click Create.

Stage 4: Verify deployment status

After you finish the wizard, wait for the Action1 agent deployment to complete.
Then you can go to Apps | macOS | macOS apps and select the Action1 agent app you have deployed. Expand Monitor | Device install status to view the deployment status – it should be Installed for the target device.

Select default file format.

Stage 5: Prepare for system updates

To enable Action1 agent to perform system updates, on the target endpoints with Apple Silicon run the following command in the Terminal app:
sudo /usr/local/action1/action1_agent enable-system-updates
When prompted, enter the admin user credentials.

NOTE: The admin credentials are needed to create an auxiliary user account, create a secure token for it, and store it in the system keychain. Such configuration is required to enable system updates. For details, see Enabling System Updates for Apple Silicon Devices.