Skip to content

IntuneScriptUploader

Tobias Almén edited this page Jun 30, 2023 · 2 revisions

Description

This processor uploads a script to Microsoft Intune using the Microsoft Graph API, it also assigns the script to group(s) if specified It also supports updating the script if it already exists in Intune.

A template to create overrides from can be found here

Input variables

  • script_path

    • required: True,
    • description: Path to script to upload.
  • description

    • required: False,
    • description: Description of script.
  • run_as_account

    • required: False
    • description: Account to run script as.
    • default: system
  • retry_count

    • required: False
    • description: Number of times to retry script if it fails.
    • default: 3
  • block_execution_notifications

    • required: False,
    • description: Block execution notifications.
    • default: True
  • assignment_info

    • required: False
    • description: "The assignment info of the app. Provided as an array of dicts containing keys 'group_id' and 'intent'. Example:
      <key>assignment_info</key>
      <array>
         <dict>
           <key>group_id</key>
           <string>xxxx-xxxxx-xxxxxx-xxxxxx</string>
           <key>intent</key>
           <string></string> <!-- Empty string means include, to exclude a group, set string to 'exclude' -->
        </dict>
      </array>

Output variables

  • intunescriptuploader_summary_result
    • description: Description of interesting results.
Clone this wiki locally