Profile pushed out to production with incorrect standards naming convention. Need to push this change via package / merge into branch. Really don't want to manually change the name. Using the following :

existing profile name: ABC standard user

rename as: ABC Standard User

object name : ABC standard user.profile


<?xml version="1.0" encoding="UTF-8"?>
<Profile xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>ABC Standard User</fullName>     

When trying to deploy getting:

All Component Failures:
1.  profiles/ABC standard user.profile -- Error: fullName specified in file does not match file name

Goal is to change the profile name from 'ABC standard user' to 'ABC Standard User' using a package for deployment to all environs. Has anyone had success with this ?

1 Answer 1


Unfortunately, you can't. You need to use the renameMetadata function to make this kind of change, and there is no XML equivalent. You can either delete and recreate the profile, edit the profile in the UI, or use the method from above, perhaps with the Ant Migration Toolkit, which is antiquated, but should still work.

  • Thanks, appreciate the confirmation.
    – rickmac
    Apr 3, 2022 at 0:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .