
DavidM.00519 (Customer) asked a question.
Hi there, As a newbie to Okta, I'm interested to understand if it is possible to set up multiple profiles and assign certain users to a specific profile and others to a different one?
In addition, I'm wondering if there is a quick solution to how to populate a new users profile with the contents from another user i.e. clone a user?

Profiles are established for the UD, directories and an app by app basis. Take a look at "Directory -> Profile Editor" to see these in action. I'm not sure your use case so not sure how to advise you further.
Regarding how to populate user profile contents from one user to another, you could use a Workflow or make API calls to accomplish.
Here are a couple links to help you take a deeper dive:
https://help.okta.com/en-us/Content/Topics/users-groups-profiles/usgp-user-profile-attributes-main.htm
https://help.okta.com/wf/en-us/Content/Topics/Workflows/templates/templates-list.htm
https://developer.okta.com/docs/reference/api/users/
Matthew,
Many thanks for responding.
What I'm looking to have is multiple profiles for the same app but assigned different users within the Directory to different profiles. Is this possible?
Do you have an example you could point me to on your response re Workflow to accomplish the cloning I'm trying to achieve?
Kind regards,
David
I'm not aware of how to set up multiple profiles for the same app but perhaps you could consider creating two apps in Okta for the same external app which would give you two different profiles. You could assign the users to a given app based on group membership and could set up group membership automatically based on a unique profile attribute.
Regarding a Workflow example, I don't see any existing template that will do exactly what you want but depending on your use case, it could be as simple as using the "Okta -> Read User" action card to capture the attribute values from the user you want to clone and map the attributes you want to the "Okta -> Update User" action card to set the attribute values on the other account.
I forgot you can also adjust profile attributes for groups so that could be an option for you as well depending on use case.
https://help.okta.com/en-us/Content/Topics/users-groups-profiles/usgp-add-custom-group-attributes.htm
https://help.okta.com/en-us/Content/Topics/users-groups-profiles/usgp-assign-app-group-priority.htm
Hi David, do you currently have an app that can assign different app assignments? For example, in this app, you can pass different attribute values like role or department via the saml assertion using groups.
If this is the case, you can create a group in okta, assign the application to the group, then edit the app assignments for the group. Then in the Provisioning tab you would map the attributes from the group. When you add users to the group they will have the attributes set by the group when they sign into the app.
I hope this helps.