Google Workspace Enterprise Connection with Extended Attributes "Groups" default to checked

Problem Statement

While creating the Google Workspace Enterprise Connection connection using Management API/Dashboard, the default value of Groups was unchecked. How can we set “Group” as the default for the “Extended Attributes” field?

Solution

To get the Groups enabled by default under the extended attributes, we can use the Management API endpoint POST /api/v2/connections endpoint with the parameter “ext_groups” value as true

"options": {
"ext_groups": true
//Other parameters to be included as per the requirement for the Google Workspace Enterprise Connection
}