function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Smita Hodiggeri (Admin)Smita Hodiggeri (Admin) 

Automate removal of permission set license assignments based on removal of permission set

Hi Community,

I am looking to automate the following seeking ideas I would prefer non code way but also open to code with more guidance. 

when a user is unassigned with permission set Inbox with Einstein Activity Capture or Inbox without Einstein Activity Capture then automatically permission set license assignments list should have it removed.
 
PriyaPriya (Salesforce Developers) 
Hi Smita,

Please refer this link to automate removal of permisssion set. 
https://jenwlee.com/2017/02/14/automated-cleanup-when-user-is-deactivated-remove-user-from-permission-sets/

Please mark as Best Answer so that it can help others in the future.

Regards,

Priya Ranjan