
User17045353917227533163 (Customer) asked a question.
I am terraforming Okta and looking to terraform group assignments via group rule for Google Workspace. I've done this before in a separate project but this time its throwing this error:
Error: failed to create application group assignment: the API returned an error: Api validation failed: Setproperty. Causes: errorSummary: Property 'licenses' not found.
The profile attributes I have look like so:
profile = <<JSON
{
"licenses": [
{
"name": "Google Workspace Business Starter",
"productID": "Google-Apps",
"skuID": "1010020027"
}
],
"manageLicenses": "true",
"manageRoles": "true",
"orgUnitPath": "/",
"roles": [],
"unassignmentConfig": null
}
JSON
Again, done this before and had no issue. The other attributes are working fine

Hello @User17045353917227533163 (Customer) Thank you for reacting out to our Community!
Does the Google Workforce application have Provisioning enabled? Assign license is only available after Provisioning has been enabled, if it was not then the error would be expected behaviour and you will need to enable it before assigning the groups to the application.
Community members help others by clicking Like or Select as Best on responses. Try it today.
Earn Today: New Okta Community Badges Have Arrived
Ask the Experts: Okta Device Access Product Team Now Thru 3/22