Metadata deploy() to a sandbox org fails on user permissions which are not enabled in sandbox orgs
Salesforce says this works as designed.
Summary
Metadata deploy() to a sandbox org fails on user permissions which are not enabled in sandbox orgs
Some customers may have observed that they see the following errors when using Metadata deploy()
"Error: Unknown user permission: ManageSandboxes"
"Error: Unknown user permission: EditBillingInfo"
Manage Sandboxes (developerName=ManageSandboxes) and Manage Billing (EditBillingInfo) user permissions are not enabled in sandbox orgs. Deploying a zip file containing references to those permissions fails due to “Unknown user permission”.
Some customers may have observed that they see the following errors when using Metadata deploy()
"Error: Unknown user permission: ManageSandboxes"
"Error: Unknown user permission: EditBillingInfo"
Manage Sandboxes (developerName=ManageSandboxes) and Manage Billing (EditBillingInfo) user permissions are not enabled in sandbox orgs. Deploying a zip file containing references to those permissions fails due to “Unknown user permission”.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Working as Expected with 2 reports
Nov 30, 2026
Also open in Chat
Excel Power Query Salesforce login popup is unresponsive.
Solution in ProgressService / ChatSummer '20Reported Jul 24, 2020331 reports331reports
Getting FIELD_NOT_UPDATABLE Error while trying to update CaseId on Chat Transcript entity using Process Builder
Solution ScheduledService / ChatSpring '21Reported Feb 10, 202160 reports60reports
Intermittently the Auto Greeting is not showing even after adding the Auto Greeting message within the Chat Agent Configuration and Chat Button
In ReviewService / ChatReported May 17, 202234 reports34reports
EluException when getting ELU Insights terminates the chat with the bot and redirects it to the agent
Solution ScheduledService / ChatWinter '22Reported Nov 5, 202133 reports33reports