Automating Battery Replacement with Workspace ONE Intelligence: VMware Workspace ONE Operational Tutorial

VMware Workspace ONE UEM 9.6 and later

Overview

Introduction

VMware provides this operational tutorial to help you with your VMware Workspace ONE® environment. In this tutorial, you explore the automation capabilities for the battery replacement workflow in VMware Workspace ONE® Intelligence™.

Audience

This operational tutorial is intended for IT professionals and Workspace ONE UEM administrators of existing production environments.

Knowledge of additional technologies such as network, VPN configuration,  VMware Workspace ONE® Intelligence and VMware Workspace ONE® UEM is also helpful.

Automating Battery Replacement with Workspace ONE Intelligence

Introduction

Workspace ONE Intelligence automation uses a number of parameters that trigger a workflow. You can customize the workflow to act on unique scenarios in your Workspace ONE environment. 

Windows devices that cannot last a full workday without requiring a charge are disruptive and reduce employee mobility. Automating battery replacements can help you improve employee experience, increase productivity, and maximize device lifespan.

In this exercise, you create an Intelligent automation to detect devices with poor battery health and review that automation.

Prerequisites

Before you can perform the procedures in this exercise, you must meet the following requirements:

Logging In to the Workspace ONE UEM Console

To deploy a 3rd party macOS app, you must first log in to the Workspace ONE UEM Console.

1. Launch Chrome Browser

Launch Chrome Browser (mobile connector, coupa tutorial)

On your desktop, double-click the Google Chrome icon.

3. Authenticate In to the Workspace ONE UEM Console

Workspace ONE UEM login screen for Android enterprise enrollment
  1. Enter your Username, for example, administrator.
  2. Click Next. After you click Next, the Password text box is displayed.
Workspace 1 login (mobile connector, coupa tutorial)
  1. Enter your Password, for example, VMware1!
  2. Click Login.

Note: If you see a Captcha, be aware that it is case sensitive.

Using Automation to Tag Low Battery Life Devices

In this activity, use the automation capabilities in Workspace ONE Intelligence to tag low battery life devices in Workspace ONE UEM. Make sure you are logged in to the Workspace ONE UEM console for the first step.

1. Return to the Workspace ONE UEM Console

From the Workspace ONE Intelligence Console:

  1. Click the Services dropdown menu.
  2. Click Workspace ONE UEM.

2. Navigate to All Settings in Workspace ONE UEM Console

In the Workspace ONE UEM console:

  1. Click Groups & Settings.
  2. Click All Settings.

3. Create the Low Battery Health Tag

  1. Click Device & Users.
  2. Click Advanced.
  3. Click Tags.
  4. Click Create Tag.

4. Save Low Battery Health Tag

  1. Enter Low Battery Health for the Tag Name.
  2. Click Save.

5. Obtain Tag ID

  1. Point to the name of the tag you just created.
  2. The tag URL is displayed on the status bar of the browser—the tag ID is the number at the end of the URL. Manually enter the number into Notepad. This tag ID will be used as part of the automation action in the following steps.
  3. Click Close.

Note: In the sample image, the tag ID is 10007 – your ID will differ.

6. Obtain a Device ID

Devices > List View - Google Chrome
  1. Click Devices.
  2. Click List View.
  3. Click an enrolled device to view the device details.

7. Copy the Device ID

testuser Desktop Windows Desktop 10.0.18363 8 23 - Google Chrome

The device ID is displayed in the URL of the Device Details View page. Copy and paste the number into Notepad. This Device ID will be used as part of the automation action in the following steps.

8. Return to the Workspace ONE Intelligence Console

  1. Click the menu icon on the right.
  2. Click Workspace ONE UEM to return to the Workspace ONE UEM Console.

9. Open Automation Settings

In the Workspace ONE Intelligence console:

  1. Click Automations.
  2. Click Add.

10. Select a Template

Workspace ONE Intelligence - Google Chrome
  1. Click Start on the Custom Workflow banner.
  2. Navigate to Category.
  3. Navigate to Workspace ONE UEM.
  4. Click Devices.

11. Define Automation Settings

  1. In the Name field, enter Dell Battery Replacement.
  2. Under Filter (If), select Dell Battery Health.
  3. Select Less Than.
  4. Enter 25.

12. Add an Action

Workspace ONE Intelligence - Google Chrome
  1. In the Action (Then) section, click the + icon to expand the options.
  2. Click Workspace ONE UEM.
  3. Enter Add tag in the search field.
  4. Select the Workspace ONE UEM -> Add Tag to Device result.

13. Configure Action Settings

Workspace ONE Intelligence - Google Chrome
  1. Paste the copied Device ID from earlier into the Device ID field.
  2. Select Enter Custom Value for the Path Variables
  3. Paste the copied Tag ID from earlier into the Tag ID field.
  4. Click Test.

14. Click Test

Workspace ONE Intelligence - Google Chrome
  1. Confirm the Device ID and Tag ID match your pasted values.
  2. Click Test.

15. Confirm the Test is Successful

Workspace ONE Intelligence - Google Chrome
  1. Confirm that the View Test Result section shows 200 OK. If an error is reported, double check the Device ID and Tag ID that you provided previously.
  2. Click Cancel to close the Test page.

16. Save the Workflow

Workspace ONE Intelligence - Google Chrome
  1. In the bottom right corner, toggle Enable Workflow on.
  2. Click Save.

NOTE: This screenshot was taken from a sample environment. Your Filter Results value may differ from what is shown here.

17. Save and Run Workflow

Workspace ONE Intelligence - Google Chrome
  1. Toggle the One-time Manual Run option to on. This will immediately execute the workflow against the target devices.
  2. Click Save & Run.

18. Confirm Automation is Created

Confirm that you can see the Dell Battery Replacement automation in the dashboard with a status of Enabled.

Reviewing Automation Events

After you have created an automation in the Workspace ONE Intelligence console, the configured actions begin to take effect and are recorded in the logs. In this activity, use the automation logs to review the automation events for Dell devices that need battery replacement.

1. Open the Log

Workspace ONE Intelligence - Google Chrome

In the Automations Dashboard:

  1. Click the Dell Battery Replacement
  2. Select Activity.

2. Review the Log

View Log

Depending on the battery health of the device you enrolled, the automation event you configured in this activity may or may not have been triggered. For this reason, the following screenshot is a sample from an unrelated log. It provides an example of multiple actions taken on different services.

Summary and Additional Resources

Conclusion

Although reporting and dashboards can help you identify issues, the true power of Workspace ONE Intelligence lies in its automation capabilities. This operational tutorial provided steps to automate battery replacement with Workspace ONE Intelligence. 

Procedures included:

  • Creating an automation to tag low battery life devices
  • Reviewing automation events

For more details, see Workspace ONE Intelligence Dashboards, Automation, and Reports.

Creating a Fully Automated Battery Replacement Workflow

Now that you understand how automation with Workspace ONE Intelligence works, you can automate the remaining battery replacement workflow on your own.

To fully automate battery replacement, here are your next steps:

  1. Integrate ServiceNow with Workspace ONE Intelligence.
  2. Use automation to create Helpdesk tickets that request new batteries for users.

The following video walks you through setting up ServiceNow integration with Workspace ONE Intelligence.

Additional Resources

For more information about Workspace ONE, explore the VMware Workspace ONE Activity Path. The activity path provides step-by-step guidance to help you level up in your Workspace ONE knowledge. You will find everything from beginner to advanced curated assets in the form of articles, videos, and labs.

Additionally, you can check out the VMware Workspace ONE and VMware Horizon Reference Architecture which provides a framework and guidance for architecting an integrated digital workspace using VMware Workspace ONE and VMware Horizon.

About the Authors and Contributors

This tutorial was written by:

  • Andreano Lanusse, End-User-Computing Staff Architect, Technical Marketing, VMware.

Feedback

The purpose of this tutorial is to assist you. Your feedback is valuable. To comment on this tutorial, contact VMware End-User-Computing Technical Marketing at euc_tech_content_feedback@vmware.com.

Filter Tags

Workspace ONE Workspace ONE Intelligence Workspace ONE UEM Document Operational Tutorial Overview Windows 10 Manage