Skip to main content
Description: 

When Deploying System Administrator Standard profile from one Org to another using ANT we are getting an unprecedented error.

Error:

All Component Failures:

profiles/Admin.profile -- Error: The user license doesn't allow the permission: PermitImpersonation

Solutions tried:

1. - Seek for Metadata (UserPermission or any) on profile which will case the error; none found.

2.-  Verify "Login Access Policies" were the "Administrator Can Log in as Any user" was enable. Also tried deployment with the checkbox disable.

3.- We have used the same Profile and Package.xml to deploy it to another sandbox (not related to the one we want to deploy, and using checkOnly ANT functionality) and it worked  fine.

4.- Contact Support directly; had a call with them, told us to post here.

Any help is much appreciated.
2 respuestas
  1. 8 ago 2018, 4:52
    Hi,

    Please make sure that you have all the metadata components same in both the orgs.

    For example if you have a custom object and the System Administrator has access to it and the destination org doesn't contain the custom object, then while deploying through ant we get such type of errors.

    Thanks,

    Sowmya.
0/9000