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
Sharmila Sahu 20Sharmila Sahu 20 

Is it possible to change License type in profile from Salesforce to Salesforce Platform while cloning profile.

Is it possible to change License type in profile from Salesforce to Salesforce Platform while cloning profile. From UI, It is not possible. I even tried by changing userLicense type from salesforce  to salesforce platform <userLicense>Salesforce Platform</userLicense> in retrieved XML file and tried to deploy it through workbench. But ,I got below error while deployment in workbench:

problem: Cannot update: userLicense
VinayVinay (Salesforce Developers) 
Hi Sharmila,

You cannot update userLicense.

Below are supported calls on userlicense.

describeSObjects(), query(), retrieve()

Review below link which explains the same.

https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userlicense.htm

Hope above information was helpful.

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

Thanks,
Vinay Kumar