How do you delete a role/role set? We currently have 8,000+ roles show up on the Roles tab and I've tried the "delete role" action and "commit changes to role" action. But I've still got a list of 8K+ roles.
I'm afraid there isn't a programmatic way to delete them. If these are collected Roles, you could delete the role collector which would delete all the roles. However if these are managed Roles then the only way to do so is to highlight all roles and delete them then commit changes.
Please be careful not to delete all 8000 roles at once in just 1 change request since this will impact your hugely environment.
Close. We've tried to see if deleting the Role Collector would delete the associated Roles/Role Sets, but it doesn't work. You have to do this process I've described below...or at least in our companies case
After opening a case and investigating I've discovered a few things. When you "Delete" a Role in the Action tab it does delete the role, but a change request will be made and it'll try to verify that the role is deleted and until it verifies you'll continue to see the deleted roles under the Roles tab. You also cannot delete the Role Set until all the roles in it are deleted as well. In order to clear the verify conditions in order for the role to disappear you need to run the Role Collector associated with the Role/Role Set you want to delete, but if the roles aren't deleted on the source the collector is looking at then it won't verify. What you need to do it edit the Collector to look for "nothing" so it can't find the roles and that'll meet the verify conditions in order for the Roles\Roles Set to disappear from the Roles tab. So far you have to do this 1 by 1 for each Role Collector, but we're looking at a way to do it faster and more efficiently. Will try to update when I know more
Retrieving data ...