The IAdmO365AccountProperties2 interface extends the IAdmO365AccountProperties interface.
Gets the UTC time when the on-premises directory and the Microsoft 365 account were last synchronized.
Populates the IAdmO365AccountProperties::Licenses property with all Microsoft 365 licenses and services from all Microsoft 365 tenants registered in Adaxes.
void InitAllLicenses(IAdmO365Container m365Container, Boolean enabledOnly)
- m365Container - Specifies an instance of the IAdmO365Container interface that represents the container where Microsoft 365 tenants are stored.
- enabledOnly - Specifies whether to populate the property only with enabled Microsoft 365 licenses. A license is considered enabled if it is enabled in at least one Microsoft 365 tenant.
Gets the UTC time when the on-premises directory and the Microsoft 365 account were last synchronized. If the synchronization never occurred, the property is DateTime.MinValue.
Minimum required version: 2018.2