Use Case:
There are instances where we need to verify the license consumption from the account page in the druva console vs the Backend Database.
The product_ca_consumption table under Insync_rds RDS contains information about license consumption, and the states within it provide insights into the status of licenses and mailbox types. Here's a breakdown of the meanings of mailbox_type and m365_license_state [^0]:
Mailbox Types: [^0]
MAILBOX_DEFAULT = 0: Except for Microsoft 365 (M365).MAILBOX_USER = 1: User, linked. This generally refers to a standard user mailbox.MAILBOX_SHARED = 2: Shared mailbox.MAILBOX_RESOURCE = 3: Room, equipment.
M365 License States: [^0]
LICENSE_STATE_UNLICENSED = 0LICENSE_STATE_ACTIVE = 1LICENSE_STATE_PRESERVED = 2SMB_LICENSE_CONSUMED = 3