SAP Knowledge Base Article - Public

2390982 - LMS: Admin unable to delete domain restrictions due to validation error


LMS admin tries to delete domain restriction, but gets a validation error that it cannot be removed because it is in use.


SAP SuccessFactors Learning - all supported versions

Reproducing the Issue

  1. Access Domain Restrictions (System Admin > Security > Domain Restrictions)
  2. Search ID to be removed, click the edit icon.
  3. Click the Delete button.
  4. Validation error occurrs.

validation error.jpg


Either the domain restriction is still assigned to domains or it is still assigned to a role.


Remove all associated domains:

  1. Access Domain Restrictions (System Admin > Security > Domain Restrictions).
  2. Search and edit the domain restriction to be deleted.
  3. Click on the Domains tab.
  4. Click select all and apply changes to remove the domain restriction ID from those domains.



If the validation error still occurs after removing domains, then check for associated roles.

Check Admin Roles assigned:

  1. Access Export Data tool (System Admin > Tools > Export Data).
  2. Select Admin Role from the dropdown menu. Click Next.
  3. Search and select all roles. Click Add. Click Next.
  4. Run or schedule the job.
  5. Click on Continue Exporting Data button.
  6. The export report will show in the Export Data page.  Download the results.
  7. Excel will open, filter on the domain restriction ID to be deleted.
  8. Once the roles associated to the domain restriction ID are found, edit the roles and remove the domain restriction IDs. 
    1. To remove the domain restrictions from the roles (System Admin > Security > Role Management > search and edit role), check the Domain Restriction ID on the Workflow Restr., Entity Restr. and Function Restr. tabs of the role and delete the domain restriction ID.  
    2. Apply Changes.

restrictions on role.jpg


kal, kac, lms, remove, administrator, learning, domain, workflow restriction, entity restriction, function restrction, state restriction , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , How To


SAP SuccessFactors Learning all versions