FlowmageDocs

Assign license

BetaChanges data

Adds Microsoft 365 licenses to a person whose usage location is set.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
UserRequiredA user's object id, or their sign-in address. Graph refuses a license to someone without a usage location.
Licenses to addRequiredSKU ids, comma-separated. Every service plan in them is switched on; licenses the person already has stay.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
usertext
licensestext

Output

FieldType
userobject
user.idstring
user.displayNamestring
assignedLicensesLicenses the user now hasarray
Sample output, and the expression for each field
  • assignedLicenses[]
  • user
    • assignedLicenses[]
    • displayName"Jane Doe"
    • id"1"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "licenses": "<licenses to add>",
    "user": "<user>"
  },
  "label": "Assign license",
  "type": "graph.assignLicense",
  "version": 1
}