1. Home
  2. SureMDM
  3. How To Use The Group Assignment Wizard plug-in Available On SureMDM?

How To Use The Group Assignment Wizard plug-in Available On SureMDM?

KB ID: 42G2212113
Views: 48
Updated: January 2023

App Plugins are software programs that customize the way platforms function or behave, and allow you to customize the user experience. The Group Assignment Wizard plugin helps bulk import Group Assignment Rules and automatically move devices to a specific group by allowing you to upload a CSV file with the Source Group, Destination Group and Device Properties.

Note:- SureMDM plugins are available only for Enterprise Subscription.

Enable the Group Assignment Wizard Plugin in SureMDM

  1. Login to SureMDM Console
  2. Navigate to Settings and further to Account Settings
  3. Select Plugins and then Manage Plugins
  4. In Manage Plugins, select the Plugin Store tab
  5. Select the Group Assignment Wizard plugin and click on Install Now
  6. Once the plugin is installed, click on the Installed Plugins tab.
  7. Search for the Group Assignment Wizard plugin and click Enable

Create a CSV file with group and device properties

  1. Create a CSV file with each entry in the following format
    • <EnableRule>, <RuleName>, <SourceGroupPath(s)>, <IncludeSubgroups>, <DestinationGroupPath>, <NumberOfConditions>, <Condition1>, <AND/OR>, <Condition2>, <AND/OR>, <Condition3>, <AND/OR>, …, <ConditionN>
    • Enter as many conditions as required in the CSV file separated by the AND/OR operator.
    • Refer to the following table for the parameter values to be passed:
      ParameterValue
      EnableRuleEnter Y to enable the rule. Enter N to disable.
      RuleNameEnter the rule name.
      SourceGroupPath(s)Enter the path of the source group(s), separated by semicolons.
      Example: Home; Home/Group1
      IncludeSubgroupsEnter Y to include subgroups. Enter N to exclude.
      DestinationGroupPathEnter the path of the destination group.
      Example: Home/Group2
      NumberOfConditionsEnter the total number of conditions in the rule.
      ConditionNFollow the below format to enter a condition (device property and values):
      <Device Property1> <Value Type2> <Values2>

      1The supported values for Device Property are:1 – Local IP Address
      2 – Global IP Address
      3 – Device Model
      4 – SSID
      For the custom columns, directly pass the name of the custom columns ( Only one rule with a custom column can be added, if the rule is already present disable or delete it to import a new rule)
      2The supported Value Types & the format to enter the corresponding Values are:= <Value>
      IN (<Value1>;<Value2>;<Value3>;…..;<Valuen>)
      RANGE (<Minimum Value>;<Maximum Value>)
      AND/OREnter the required operator (AND or OR) to link the conditions.
    • A sample entry in the CSV file:

      The above csv file would move the device with model iPhone 13 from Home/Group1 to Home/Group2.

Execute the Group Assignment Wizard plugin to move the devices based on device properties created

  1. Login to SureMDM Console
  2. Click on the MORE tab and choose Apps Plugin
  3. Select the Group Assignment Wizard Plugin.
  4. Under upload file click on choose file and upload the CSV file created.
  5. Select the “Overwrite Existing Rules” option to overwrite any existing rule with the properties of the new rule specified in the CSV file, based on the matching Rule Name.
  6. Click on the “Remove Existing Rules” button to delete all existing Group Assignment Rules.
  7. Click on the “Import Rules” button to import the Group Assignment Rules.
  8. Do not close the tab when the screen is loading.
Note:- Special characters supported are : ( ) [ ] " ' @ - _{ } &

Related Articles