As a Salesforce Administrator, user management is a common and more tedious task we do every day. For example, create user, update profile, assign/remove permission sets or permission set groups, etc. Sometimes these tasks become a nightmare as your org is complicated or the userbase is too big. Aren’t we administrators are entitled to some time for a coffee break or spent time to learn something new on Trailhead by automating some of these works. If yes, you’re land to the right place.

This article will show you how to auto-remove Permission Sets or Permission Set Groups based on the expiration date. Let’s gets started; 

Oh wait — let’s take a few minutes pause and make a cup of Cappuccino.

I enjoyed a little coffee break and played with neighbors’ dogs. Let’s move forward!!


Before you set an expiration date for the Permission Sets or Permission Sets Groups, there are some pre-requisite.

Follow the below steps to enable the Settings:

  1. Navigate to Setup | Users | User Management Settings.
  2. Enable Permission Set & Permission Set Group Assignments with Expiration Dates (Beta) settings.

Let’s Manage Expiration of Permission Sets and Permission Set Groups.

Manage Assignment Expiration

  1. Click Setup. In the Quick Find box, type Permission Set.
  1. Select Permission Sets, then click on the permission set label, you want to manage expiration for.
  1. Click on the Manage Assignment Expiration button. It will show you current assignments for this permission set and their expiration if any.
  1. Click on the check box, next to the assigned users name.
  2. Click on the pencil icon to update the expiration date.
  1. Select Specify the expiration date radio button.
  2. Select an option from the list: Custom Date.
  3. Click on the Calendar icon and choose the date you want to assign as the expiration date.
  4. Click on Assign and Done.

Permission Sets expiration date set for user Madhu Rawat and assigned to her till 30th April 2022.

Follow steps 1 to 9 for Permission Set Groups if you want to Manage Assignment Expiration for Permission Set Groups.

Points to Remember

  1. The user will remain assigned to the permission set or permission set group and cannot access the permissions associated with the permission set or permission set group after an assignment expires.
  2. Permissions assigned to users via non-expiring permission sets, permission set groups, or through a profile will still apply even after a permission assignment expires.

You are Done!!!

I would love to hear about your experience with Manage Assignment Expiration. How do you use it?

Join our newsletter.

No spam, just learning!

Continue Reading

Get a free consultation.

Call us today at (469) 790-0063

Schedule a Consultation

Leave a Reply