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
Nitish 73Nitish 73 

Unable to create/update fields: UserLicenseId

Hi guys, 

I am trying to deploy a permission set from my Eclipse project to my salesforce org with 'Save to server' option. But I am constantly getting this error 

Description Resource Path Location Type
Save error: Unable to create/update fields: UserLicenseId. Please check the security settings of this field and verify that it is read/write for your profile or permission set.



I checked the field access in respect to this error. I am performing this operation with Sys Admin profile who has access to all the possible fields. 

I have been at it for quite some time now and havent been able to figure out whats the issue. 

I would really appreciate it, if you guys could help me with this. 


Thanks
Nitish
Jasper WallJasper Wall
Hi Nitish,
UserLicenseId is a System field, It's value is a reference to other object.
skip this field and try again. 

Thanks,
Balayesu
Nitish 73Nitish 73
Hi Balayesu, 

I didnt quite get you on what you meant by that. I did remove the userlicense tag from the XML before deploying since it was erroring. I dont see a field as UserLicenseId on my XML. Could you be more detail about the approach. 
Sorry for the trouble. 


Thanks
Nitish