Skip to content
Bug Barometer

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”.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Working as Expected with 2 reports

    Nov 30, 2026

Also open in Chat