A0deploy on production tenant not exporting configuration

Hi,

I am trying to export my tenants configuration using the a0deploy tool I have set this up on our development tenant and it works perfectly but on our production tenant I keep getting the following error and I can’t see what is wrong?
The a0deploy Application has read permissions to everything in the Auth Management API.

a0deploy --version
8.8.1
a0deploy export -c config-production.json -f yaml -o prod
2025-05-13T12:13:36.546Z - info: To enable experimental early access features use --experimental_ea flag or set AUTH0_EXPERIMENTAL_EA=true in configuration JSON.
2025-05-13T12:13:36.982Z - info: Loading Auth0 Tenant Data
2025-05-13T12:13:37.065Z - info: Retrieving rules data from Auth0
2025-05-13T12:13:37.190Z - info: Retrieving rulesConfigs data from Auth0
2025-05-13T12:13:37.285Z - info: Retrieving hooks data from Auth0
2025-05-13T12:13:37.434Z - info: Retrieving pages data from Auth0
2025-05-13T12:13:37.517Z - info: Retrieving resourceServers data from Auth0
2025-05-13T12:13:37.604Z - info: Retrieving clients data from Auth0
2025-05-13T12:13:37.751Z - info: Retrieving databases data from Auth0
2025-05-13T12:13:38.060Z - info: Reviewing connections for SCIM support. This may take a while...
2025-05-13T12:13:38.286Z - info: Retrieving connections data from Auth0
2025-05-13T12:13:38.352Z - warn: The following tenant flags have not been updated because deemed incompatible with the target tenant: allow_changing_enable_sso, disable_impersonation, new_universal_login_experience_enabled, universal_login
      These flags can likely be removed from the tenant definition file. If you believe this removal is an error, please report via a Github issue.
2025-05-13T12:13:38.352Z - info: Retrieving tenant data from Auth0
2025-05-13T12:13:38.419Z - info: Retrieving emailProvider data from Auth0
2025-05-13T12:13:38.527Z - info: Retrieving emailTemplates data from Auth0
2025-05-13T12:13:38.613Z - info: Retrieving clientGrants data from Auth0
2025-05-13T12:13:38.694Z - info: Retrieving guardianFactors data from Auth0
2025-05-13T12:13:38.754Z - error: Problem running command export
2025-05-13T12:13:38.754Z - error: Problem loading tenant data from Auth0 ManagementApiError: Insufficient privileges to use this deprecated feature.

Hi @gcarter,

Thanks for your question.

I found a GitHub issue regarding the same error you encountered. It looks like a fix was deployed and is now available in version 8.8.2.

Let us know if there’s anything else we can do to help.

Cheers,
Rueben