IAdmM365License
The IAdmM365License interface represents a Microsoft 365 license.
Properties
- 
Property
- 
Description
- 
Sku
- 
Gets information about the Microsoft 365 license plan to which the license belongs. 
- 
Assigned
- 
Gets or sets a value indicating whether the Microsoft 365 license is assigned to a user. 
- 
AssignedModificationEnabled
- 
Gets or sets a value indicating whether the state of the license will be modified. 
- 
Services
- 
Gets the Microsoft 365 services associated with the license. 
Details
Sku
Gets information about the Microsoft 365 license plan to which the license belongs.
- Type:
- IAdmM365SkuInfo
- Access:
- Read-only
Assigned
Gets or sets a value indicating whether the Microsoft 365 license is assigned to a user. When the IAdmM365License interface is used to modify Microsoft 365 properties, the property indicates the desired state of the license.
- Type:
- bool
- Access:
- Read/Write
Remarks
When the property is modified, the AssignedModificationEnabled property is set to true automatically
AssignedModificationEnabled
Gets or sets a value indicating whether the state of the license will be modified. If the property is set to false, the license will be neither assigned, nor revoked.
- Type:
- bool
- Access:
- Read/Write
Services
Gets the Microsoft 365 services associated with the license.
- Type:
- IAdmM365ServiceAssignment[]
- Access:
- Read-only
Requirements
Minimum required version: 2023