Is there any way to change the Profile licence type by editing the profile?

Is there any other way to change the profile licence without creating a new profile from scratch?


When you go to profiles in the setup and create a new profile it will ask you to clone it from a particular profile that is already there. You can then pick a profile that has the required licence already. There will always be some tweaking of the profile. You can not clone a profile that has a different licence type and change this. (I've tried it myself)

I haven't tried it, but you could try to go to the salesforce IDE and edit the xml of the profile. It has an entry <userLicense>Salesforce Platform</userLicense> Change this and see what happens (on a sandbox of course!)

EDIT: I've just tried it, but you can't change the licence type with the Force.com IDE.

| improve this answer | |

No , You cant Change UserLicense even through XML. I have Checked it Manualy by Apex Code and also by XML updation(Called File based Metadata Using Force.com IDE)[You Can See this Image. I have Use this process for Created and also for cloned profile] http://i.stack.imgur.com/JmE4a.png

| improve this answer | |
  • I wonder if it's possible to create a new profile for the license type you want, then copy/paste the xml from the existing profile over (sans the <userLicense> tag)... will try now and report back! – smohyee Jun 22 '18 at 15:50
  • So to follow up - it is indeed possible to copy XML from the existing profile to a new profile of the correct license type... it's just a bit of a process, since you need to retrieve/deploy the new profile with the relevant metadata you're updating permissions on... eg you need to pull custom objects and fields if you want to update profile object CRUDs and field level security. – smohyee Jun 25 '18 at 19:14

Idea Posted On Idea Exchange:

https://success.salesforce.com/ideaView?id=08730000000Z6gBAAS https://success.salesforce.com/ideaView?id=08730000000l0eSAAQ

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.