Skip to main content
Skip table of contents

How to migrate from user groups or permission sets to custom attributes

The process for groups and permission sets is essentially the same. 

If you only have a few accounts, updating each of them manually is an option, but you probably have more. 

Preparation

  • Decide which groups or permission sets will be replaced by which values of which custom attribute. These values are going to be case sensitive.

  • If updating based on permission sets, you will need to know the permission set name to identify them later. The name is the one with a # in it e.g. ath#staff.

Add custom attributes and values

  1. As the domain administrator go to Preferences > Schema editor

  2. Add a suitable attribute type called whatever is appropriate. If this is something you will need to pass to another application, the target name is what you will need to match up. The choice attribute type is usually best for this as you can limit the possible values, so that is what is used in the examples, but if you are using a local connector a text attribute may be better as it will keep up with any changes in your directory.

    Empty 'Custom attributes' section. A sidebar lists the different types of attributes that can be added - 'Text', 'Choice', 'Yes or no', 'Email address', 'Web URL', 'IP address ranges' and 'Date. The 'Choice' attribute type is marked with an arrow, showing that it can be dragged into the empty area to create a new custom attribute.

  3. Add the choices you decided during preparation 

    Custom attributes area, in which someone is editing a new  choice attribute called 'favorite color' with the possible values of 'red', 'blue' and 'green'. The attribute can also be customized with help text and can be made required, releasable or reportable.


  4. Save

    List of attributes, showing 'favourite color' saved as a custom attribute. The new attribute is marked as reportable and releasable.

You will probably want to mark it as required as well but the moment you do it will become active - anyone editing an existing account will not be able to save it until the data is added.

Bulk upload method

Download data

Here you have two options - you can either download all of your accounts and make all the changes at once, or you can filter your search results for a specific group or permission set before your download them. The following will work in all cases though.

  1.  Advanced search > All accounts + activated accounts + non-activated accounts + me and all my sub-organisations

    Options for searching accounts, including filtering by live or expired status, by activation status, by attribute, or by who owns them (either 'just me' or 'me and all my sub-organizations').


  2. Select all

    Select menu, expanded to show the options 'None', 'All those shown' or 'All'.


  3. Actions > Download

    List of accounts, in which several accounts are ticked. The Actions menu is expanded to show available actions. The action 'Download accounts' is highlighted.

Grab the file from the download page when it is ready. 

Modify data

  1. Open up the downloaded file in your favourite spreadsheet package

  2. Get rid of any columns that aren't going to be referenced or changed to make it easier to work with the data. You only need to keep the following columns:

    1. adminUsername (if your data includes sub-organisations)

    2. username

    3. groups and or permissionSets (as appropriate)

    4. attribute/attributeTargetName (the attribute you want to set)

  3. Fill in the cells in the column for your new attribute based on the data in the group or permission set columns and save it as a CSV file. If your accounts have multiple permission sets, you may find that the filter function in your spreadsheet is more helpful than sort.

Choice attributes display in the downloaded file as drop down boxes - you can copy and paste into them though so long as the text matches the expected values exactly.

If you have more than 5000 lines of accounts you will need to split your upload into parts, each containing the header row, before the upload stage.

Upload data

  1. In the administration area go to Accounts > Bulk > Upload

    Main menu, in which 'Accounts' is expanded to show the submenu options 'List', 'Create', 'Bulk uploads' and 'Accounts not activated'. 'Bulk upload' has focus, showing the further options 'Submit' and 'Bulk template'.


  2. Select modify on the first page

    Pop-up window titled 'Upload accounts under Potato, Inc.'. Under the subheading 'Select type', the user is asked to choose whether to add, modify, or delete personal accounts. At the bottom of the window is a check box labeled 'Email me when the upload is completed', which is ticked. Finally, there are buttons marked 'Next' and 'Cancel'.


  3. Select your CSV file on the second page and upload

Assuming there are no validation errors the file will be processed in the background and you will get an email when it is completed. This could take anywhere from a few seconds to an hour or more depending on the size of your upload and how many other uploads are being processed.

Repeat as necessary until done

If you downloaded multiple files for any reason, or if you need to change more than 5000 accounts you will have additional cycles to do.

Interface method

This can only be done one organisation at a time, not for multiple organisations:

Permission sets

This is best where you only have one permission set per user (or only one that you're interested in)

  1. Go to Resources > Permission sets

  2. Click on the person icon next to the first set to get a list of the users

  3. Select all

  4. From the actions menu select the modify details option

  5. Set a value on the relevant attribute

  6. Repeat for all your permission sets

Groups 

  1. Go to accounts list

  2. From the group box, select the group you are interested in

  3. Select all

  4. From the actions menu select the modify details option

  5. Set a value on the relevant attribute

  6. Repeat for all groups

  7. From the group box, select the accounts not in a group option

  8. Populate the data for any you find there

.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.