Hi,
We have users being provisioned into Directory Server using Okta SCIM (On Prem Provisioning).
Once in Directory Server we can assign users to different groups using License Manager Objects in a workflow script.
Most users are accessing the repository using WebLink with security trimmed via groups and these users don't need a license to access. However, I haven't found a way not to assign licenses when provisioning from Okta so I'd like to remove licenses when assigning the groups as part of the same script.
The problem is when I use
u.Licenses = new Guid[1] {LFDS.WellKnownLicenseType.None}; u.Update();
(where u is a User object)
The script fails with a "Resource not licensed" message.
Is there a way to achieve removal of licenses automatically or is it just not possible?
many thanks,
Ian