[Index]

Model: device/msgraph/MsolAccountSku

Licenses

Full HTML Help

Tip

Use the Action search to navigate Automate

Overview

Automate can be used to assign, modify, and remove Microsoft user licenses.

To allow Automate to manage Microsoft user licenses, you will need to enable the following setting in the site's site defaults (MS Teams tab): Manage Licenses and Allow User Staging

When Automate is enabled for license management:

Important

If Enable Microsoft User License Enforcement is set to Yes in the Global Settings, a user can only be added if the license allocation limit for the user's hierarchy is not exceeded. For details, see: Microsoft license management and alerting.

Users are placed in staging (an unsaved state) while license data is synced in to Automate. A licensed user may be assigned with a line and available number in Automate.

Targeted syncs may be scheduled from Automate to poll the Microsoft cloud for changes at regular intervals. Users are automatically provisioned in Automate, based on their service profiles and assigned licenses. The sync process moves Microsoft users to appropriate sites with the correct configuration, based on the site defaults, filter criteria, and user service profiles. The number assigned to the user is added to a number inventory in Automate, and is flagged with the user's name.

Note

Managing licenses for Microsoft users when onboarding and offboarding

Automate requires the LicenseAssignment permission to manage Microsoft licenses.

To avoid system errors, it is recommended that you do not use Azure AD User (MSOL) (Msoluser device model, device/msgraph/msoluser) to make changes, particularly when license permissions aren't assigned. Instead, it is recommended that you use the Microsoft User Details page (relation/MicrosoftSubscriber) or other Automate functionality to update users.

If a user has any group assigned license, Automate won't attempt any direct license assignment at all, via onboarding or via updates on the Microsoft User Details page (relation/MicrosoftSubscriber), regardless of what may be included in Automate configuration templates or in the Microsoft portal.

When offboarding, if Automate is set up to remove a user's direct licenses, this is only possible when Automate is also removing all the license groups. If any license group remains, the direct licenses aren't removed. For example, if a user has base licenses (for example, E3) assigned via group, and you want Automate to add MCOEV as a direct license, this won't be possible. In this case, it is only possible to add the MCOEV license via a group license assignment, since it is possible to assign or remove additional groups.

The group license assignment during onboarding and offboarding is not only used for licenses, so it can be used to add or remove non-license groups together with direct licensing, or for no licensing, as needed.

Related topics

View Microsoft licenses by customer

To view all Microsoft licenses synced currently synced in to Automate, go to the Licenses page. The Licenses summary list view provides the following license details per customer:

Licensing users for MS Teams and Teams Phone by group membership

Automate provides options to manage licensing by group membership. Licenses associated with the group apply to members of the group.

Important

In Automate, licensing by group membership has priority over user licensing, so that if a user already had any individual licenses prior to group membership, these are replaced by the group license. Similarly, if a user that was licensed by group membership is removed from the group, the user becomes unlicensed.

Such licensing can be configured:

Configuration templates for MS groups

Automate ships with reference configuration templates that can be cloned to a hierarchy, renamed and modified in order to customize the group membership that will be affected by the operation associated with the configuration template.

The templates display on the Configuration Templates page. The menu and model associated with the configuration templates is view/MsGraphManageGroup.

The Group names need to be typed in, and the list can be inspected via the Groups page. If MS licenses are associated with the groups, these will be applied or removed according to the configuration template Operation function. (For cloned templates, the User and Operation values do not have to be modified if the operation of the original template is to remain the same.)

Important

If the Add and Remove configuration templates contain the same list of groups, these should not both be selected when creating a Quick Add Group, since the result of applying the Quick Add Group will then be to both add and remove the overlapping group.

The best practice is to create separate Quick Add groups to apply for on-boarding and off-boarding a user, each containing only the required configuration template.

However, in cases where administrators wish to ensure only a standard set of groups apply during on-boarding or off-boarding, the configuration templates can be combined to achieve the desired set.

These created configuration templates can now be applied to the relevant created Quick Add Groups for use in on-boarding, off-boarding and flow-through provisioning.

Related topics

View a user's Microsoft licenses

To view the license details of individual users via the user management functionality:

  1. Go to the Manage Users list view.
  2. Click on a user to open the Manage Users [user name] page.
  3. Select the MS Licenses tab.
  4. View currently enabled licenses for the user.

Related topics

Microsoft users in the Core Feature Guide

License Allocation

Full HTML Help

Tip

Use the Action search to navigate Automate

Overview

Where Microsoft 365 user licenses are available to an organization as a whole on a single Microsoft tenant, Automate offers support for the allocation of these licenses to various business units and departments within such an organization - represented as hierarchies in Automate.

License allocation at a hierarchy can be managed in Automate from the Microsoft License Management group of the Microsoft dashboard.



In addition, a number of charts and tables are available to administrators on the Microsoft License Summary dashboards - providing an overview of license allocation, availability and usage at hierarchies. See: Microsoft License Summary dashboard.



Automate also enables you to set user license enforcement and allocation thresholds at hierarchies. This means that licenses will only be allocated to a subscriber at a hierarchy if these are available. Threshold availability percentage values can be set per hierarchy and allows for scheduled alerting to email groups whenever these thresholds are reached, so that timely action can be taken.

Related topics

Prerequisites and first steps

In order for the license enforcement, threshold percentage values and alerting to be available, it is necessary that:

Microsoft license allocation

Allocate licenses to a hierarchy.

Prerequisite: MS licenses have been synced in at high level organizational hierarchy.

  1. Navigate to required hierarchy and open Microsoft License Allocation on the Microsoft License Management group on the Microsoft dashboard.

  2. Add a new record to Microsoft License Allocation:

  3. The added record displays in the Microsoft License Allocation list view, with columns showing:

  4. In the global settings, select threshold percentages per license at a hierarchy using the Availability Threshold Percentage setting. If alerting has been enabled and the threshold is reached, an alert will be raised and also sent by email if enabled.

  5. If alerting email groups have been selected in Global Settings, ensure that alerting Email Groups have been set up and selected as the global setting: Alert Email Group. (For details on how to set up email groups, see Email.)

Microsoft license alerting

  1. On Global Settings, two settings need to be enabled to use the license altering feature:

  2. On Microsoft License Alerting:

Note

If alerting is not enabled but user license enforcement is enabled, license transactions that result in exceeding available allocations will fail without a prior threshold alert warning.

Microsoft license summary dashboard

This dashboard provides default widgets that allow for the inspection of license usage:

Model Details: device/msgraph/MsolAccountSku

Title Description Details
ID *
  • Field Name: Id
  • Type: String
SKU ID
  • Field Name: SkuId
  • Type: String
Active Units
  • Field Name: ActiveUnits
  • Type: Integer
Consumed Units
  • Field Name: ConsumedUnits
  • Type: Integer
SKU Part Number
  • Field Name: SkuPartNumber
  • Type: String
SKU Friendly Name
  • Field Name: SkuFriendlyName
  • Type: String
Warning Units
  • Field Name: WarningUnits
  • Type: Integer
Licenses Available
  • Field Name: LicensesAvailable
  • Type: Integer
Licenses Available %
  • Field Name: LicensesAvailablePercentage
  • Type: Number
Service Plans
  • Field Name: ServicePlans.[n]
  • Type: Array
Service Friendly Name
  • Field Name: ServicePlans.[n].ServiceFriendlyName
  • Type: String
Service Plan ID
  • Field Name: ServicePlans.[n].ServicePlanId
  • Type: String
Service Name
  • Field Name: ServicePlans.[n].ServiceName
  • Type: String