ADM_M365TENANT_CREDTYPE_ENUM

The ADM_M365TENANT_CREDTYPE_ENUM enumeration specifies types of credentials used to authenticate to a Microsoft 365 tenant.

Syntax

enum ADM_M365TENANT_CREDTYPE_ENUM
{
    ADM_M365TENANT_CREDTYPE_USERNAMEPWD      = 0,  //0x0
    ADM_M365TENANT_CREDTYPE_APPSECRET        = 1,  //0x1
}

Constants

  • Flag

  • Description

  • ADM_M365TENANT_CREDTYPE_USERNAMEPWD

  • Username and password

  • ADM_M365TENANT_CREDTYPE_APPSECRET

  • Application credentials

Requirements

Minimum required version: 2023

See also