Admin Audit Activity Events - Licenses Settings

This document lists the events and parameters for Licenses Settings Admin Audit activity events. You can retrieve these events by calling Activities.list() with applicationName=admin.

Licenses Settings

Events of this type are returned with type=LICENSES_SETTINGS.

Assign Licenses to All Unassigned Users

Event details
Event name ORG_USERS_LICENSE_ASSIGNMENT
Parameters
NEW_VALUE

string

The new license SKU.

ORG_UNIT_NAME

string

All previously unassigned users in this organizational unit have been assigned this new license.

PRODUCT_NAME

string

The new license for this product name.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=ORG_USERS_LICENSE_ASSIGNMENT&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
Licenses for {PRODUCT_NAME} product and {NEW_VALUE} sku were assigned to all unassigned users of {ORG_UNIT_NAME}

Assign Licenses to All Users

Event details
Event name ORG_ALL_USERS_LICENSE_ASSIGNMENT
Parameters
NEW_VALUE

string

The new license SKU.

ORG_UNIT_NAME

string

All previously unassigned users in this organizational unit have been assigned this new license.

PRODUCT_NAME

string

The new license for this product name.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=ORG_ALL_USERS_LICENSE_ASSIGNMENT&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
Licenses for {PRODUCT_NAME} product and {NEW_VALUE} sku were assigned to all users of {ORG_UNIT_NAME}

Assign User License

Event details
Event name USER_LICENSE_ASSIGNMENT
Parameters
NEW_VALUE

string

The new license SKU.

PRODUCT_NAME

string

Product Name.

USER_EMAIL

string

The primary email address of the user assigned this license.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=USER_LICENSE_ASSIGNMENT&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
A license for {PRODUCT_NAME} product and {NEW_VALUE} sku was assigned to the user {USER_EMAIL}

Auto Assign Licenses

Event details
Event name CHANGE_LICENSE_AUTO_ASSIGN
Parameters
NEW_VALUE

string

The new Auto Assign option value.

PRODUCT_NAME

string

The product name.

SKU_NAME

string

The product SKU.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=CHANGE_LICENSE_AUTO_ASSIGN&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
License Auto Assign option changed to {NEW_VALUE} for {PRODUCT_NAME} product and {SKU_NAME} sku

Reassign User License

Event details
Event name USER_LICENSE_REASSIGNMENT
Parameters
NEW_VALUE

string

The new license SKU.

OLD_VALUE

string

The previous license SKU.

PRODUCT_NAME

string

The license for this product name.

USER_EMAIL

string

The primary email address of the user reassigned the license with a new SKU.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=USER_LICENSE_REASSIGNMENT&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
A license for {PRODUCT_NAME} product and {OLD_VALUE} sku was reassigned for user {USER_EMAIL} to new sku {NEW_VALUE}

Revoke Licenses to All Users

Event details
Event name ORG_LICENSE_REVOKE
Parameters
OLD_VALUE

string

The revoked license's SKU.

ORG_UNIT_NAME

string

The removed licensed for all users in this organizational unit.

PRODUCT_NAME

string

The revoked license for this product name.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=ORG_LICENSE_REVOKE&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
Licenses for {PRODUCT_NAME} product and {OLD_VALUE} sku were removed from assigned users of {ORG_UNIT_NAME}

Revoke User License

Event details
Event name USER_LICENSE_REVOKE
Parameters
OLD_VALUE

string

The revoked license's SKU.

PRODUCT_NAME

string

The revoked license for this product name.

USER_EMAIL

string

The primary email address of the user whose license has been revoked.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=USER_LICENSE_REVOKE&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
A license for {PRODUCT_NAME} product and {OLD_VALUE} sku was revoked from user {USER_EMAIL}

Update Auto Licensing

Event details
Event name UPDATE_DYNAMIC_LICENSE
Parameters
NEW_VALUE

string

The new SETTING_NAME value.

OLD_VALUE

string

The previous SETTING_NAME value.

ORG_UNIT_NAME

string

The organizational unit (OU) name (path).

PRODUCT_NAME

string

Product Name.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=UPDATE_DYNAMIC_LICENSE&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
Auto Licensing settings for {PRODUCT_NAME} product in {ORG_UNIT_NAME} organization changed from {OLD_VALUE} to {NEW_VALUE}