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
Alex RahebAlex Raheb 

license migration from Costumer Community Plus to Costumer Community

Hello, Hope everybody is having a good day 

This is my first Dev task ever..

need to basically

1-Deactivate current CCP users, make new users with the same credentials (IsActive = False, IsPortalEnabled = False, Append a suffix to unique fields (username, federationid, etc) 

2-Create new user record with proper license and same user details as on original record and link to original Contact (while making sure no email communication is sent to customer)

3-Move password from original record to newly created user record 

the logic is easy, but considering it is my first Dev task.. some help would be Greatly Appreciated !

VinayVinay (Salesforce Developers) 
Hi Alex,

Check below link for Migration Community Users Between Licenses

https://help.salesforce.com/articleView?id=networks_migrate_users_between_licenses.htm&type=5
https://help.salesforce.com/articleView?id=networks_upgrade_licenses.htm&type=5

Thanks,
Mohamed IthrisMohamed Ithris
Hi Alex,
1.Before doing Licence Migration.Take a Backup of all User Records Details(Dataloader).
2.If some Records - Owners as user - that Particular user going to Deactivate - then Who will the owner of old records? - Make Sure to Conform
3.First you will do one User to Migrate License - then Proceed to Other Users.
4.First Complete in Staging Enviornment - Pre Prod then Proceed to Prod Enviornment.
5.Make sure and do the License Migration on - Untime means User Unavailble or Non Working days.

Thanks
Mohamed Ithris