When using Okta Workflows to assign Google License(s) to users with the Assign License to Users card or unassign licenses with the Unassign License from User, the workflow does not result in an error. Still, it returns an empty response, and the license change does not take effect (see the Solution section for a bad/good example).
- Workflows
- Google connector
- Assign License to User card
- Unassign License from User card
Assign License to User card expects a List of Objects and does not properly validate/convert the input if it is not a list of objects.
If using Object-Construct, make sure to pass that into a List-Construct, then pass the List output into the Assign License to User card as the input for licenses on the cards is a List of Objects and is expecting a list input.
NOTE: When creating the Object, ensure productid and skuid are all lowercase and the fields are set to type "Text". Otherwise, an error will be encountered, as shown in Error "400: skuId is required field" or "400: productId is required field" when using the Google Workspace Cards to Assign or Un-assign Licenses in a Workflow.
Related References
- Google Product and SKU IDs (that are supported by Google's API)
- Error "400: skuId is required field" or "400: productId is required field" when using the Google Workspace Cards to Assign or Un-assign Licenses in a Workflow
