ADM_M365ACCOUNT_CONDITION_TYPE_ENUM

The ADM_M365ACCOUNT_CONDITION_TYPE_ENUM enumeration specifies what is checked by the If is licensed for Microsoft 365 condition.

Syntax

enum ADM_M365ACCOUNT_CONDITION_TYPE_ENUM
{
    ADM_M365ACCOUNT_CONDITION_TYPE_ISLICENSED        = 0,  //0x0
    ADM_M365ACCOUNT_CONDITION_TYPE_ISNOTLICENSED     = 1,  //0x1
    ADM_M365ACCOUNT_CONDITION_TYPE_SERVICESPECIFIC   = 2,  //0x2
    ADM_M365ACCOUNT_CONDITION_TYPE_LICENSESPECIFIC   = 3,  //0x3
}

Constants

  • Flag

  • Description

  • ADM_M365ACCOUNT_CONDITION_TYPE_ISLICENSED

  • At least one Microsoft 365 license must be assigned to a user.

  • ADM_M365ACCOUNT_CONDITION_TYPE_ISNOTLICENSED

  • No Microsoft 365 licenses must be assigned to a user.

  • ADM_M365ACCOUNT_CONDITION_TYPE_SERVICESPECIFIC

  • The state of Microsoft 365 services assigned to a user must match the state specified in the IAdmM365LicenseCondition::ServiceRequirements property.

  • ADM_M365ACCOUNT_CONDITION_TYPE_LICENSESPECIFIC

  • The state of Microsoft 365 licenses assigned to a user must match the state specified in the IAdmM365LicenseCondition::LicenseRequirements property.

Requirements

Minimum required version: 2023

See also