Error When Exporting Tenant - Auth0 Deploy CLI Tool


I am using the auth0 deploy cli tool to export the configuration from a tenant, but I am getting the following errors:

error: Problem running command export during stage load when processing type organizations
error: Insufficient scope, expected any of: read:organizations

Additional Information:

  1. node 17.4.0
  2. npm 8.3.1
  3. Auth0 Deploy CLI Extension 6.0
  4. read:organizations is listed under the permissions


Hi @pikachu,

Welcome to the Auth0 Community!

I understand you have encountered issues when exporting your tenant with the Auth0 Deploy CLI.

After looking closely at the error, it seems that your auth0-deploy-cli-extension application may not have checked the read:organizations permission which is required. While you are there, it may be worth checking the update:organizations, create:organizations, and delete:organizations permissions as well.

Once you have enabled these permissions, you can export your tenant settings using the Auth0 Deploy CLI.

Please let me know how this works for you.

Thank you.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.