Exports via the Auth0 Deploy CLI Work in Some Tenants but Not Others


Exporting tenant configs using the Auth0 Deploy CLI does not work the same across all tenants; for example, it works in Stage but not in Prod.


The Machine-to-machine application used by the Deploy CLI does not have the correct API permissions/scopes in the tenant where the export fails.


Double-check that the machine-to-machine applications used by the Deploy CLI in the different tenants have the relevant API permissions/scopes. This can be easy to miss when switching between staging and production tenants that are otherwise configured very similarly.

Related References