<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000A1C2V2CQKOkta Classic EngineAdministrationAnswered2024-03-21T07:46:31.000Z2024-03-17T13:39:11.000Z2024-03-21T07:46:31.000Z
licenses property not found. Google Workspace

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


  • Paul S. (Okta, Inc.)

    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 

    Expand Post
    Selected as Best
  • Hi Paul

     

    Turns out the attribute value had changed to googleLicenses as opposed to licenses (not sure if there were any release notes about these types of changes 😅). Also before the attribute expected the SKU ID, name and product ID, now it is only SKU Name.

This question is closed.
Loading
licenses property not found. Google Workspace