Skip to main content

Microsoft 365 - C2R - Get Channel

Overview

This agent procedure is used to check the Update Channel for Microsoft Office and update the result to a UDF.

NOTE: By default, the script will update the UDF ID 18. In case this UDF is already in use, please update the default value of Variable UpdateM365ChannelUDF by editing the script.

Dependencies

Implementation

  1. Download the component Microsoft 365 - C2R - Get Channel from the attachments.

  2. After downloading the attached file, click on the Import button

  3. Select the component just downloaded and add it to the Datto RMM interface.
    Image 1

Sample Run

To execute the component over a specific machine, follow these steps:

  1. Select the machine you want to run the component on from the Datto RMM.

  2. Click on the Quick Job button.
    Image 2

  3. Search the component Microsoft 365 - C2R - Get Channel and click on Select Image 3

    Image 4

    Image 5

Datto Variables

Variable NameTypeDefaultDescription
UpdateM365ChannelUDFStringcustom18This will update the User-defined field (UDF) with the Update Channel information. Please change the value of the UDF after importing it to client's environment and set it to the available UDF ID.

Output

  • stdout
  • stderr

Attachments

Microsoft 365 - C2R - Get Channel

FAQ

Q. How to set the UDF name?

A. To set the User Defined Field (UDF) name, please set it under the Setup > Global Settings > User-defined field 18 and set the value as Update M365 Channel so that it can reflect the same name under the devices UDFs.

Image 8

Image 9

Q. What happen if we didn't set the user defined field name as Update M365 Channel under global settings?

A. The User-Defined Field X will still get updated with the Update channel value, where X is the UDF number, but the name of the UDFs will show as User-Defined Field X and not as Update M365 Channel.

Note: The script will not break with the Global UDF settings not updated.