# Error When Exporting Tenant - Auth0 Deploy CLI Tool

**URL:** <https://community.auth0.com/t/error-when-exporting-tenant-auth0-deploy-cli-tool/78456>\
**Category:** Get Help\
**Created:** [February 17, 2022, 8:21am UTC](https://community.auth0.com/t/error-when-exporting-tenant-auth0-deploy-cli-tool/78456 "2022-02-17T08:21:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pikachu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pikachu/32/35285_2.png) [@pikachu](https://community.auth0.com/u/pikachu)\
**Post date:** [February 17, 2022, 8:21am UTC](https://community.auth0.com/t/error-when-exporting-tenant-auth0-deploy-cli-tool/78456/1 "2022-02-17T08:21:54Z")

</div>

Hello,

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

Thanks!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 17, 2022, 10:43pm UTC](https://community.auth0.com/t/error-when-exporting-tenant-auth0-deploy-cli-tool/78456/3 "2022-02-17T22:43:01Z")

</div>

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.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/6/b/6bea9d862426dac21a7897b4afcdf7a5267f77d9.jpeg)

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 4, 2022, 10:43pm UTC](https://community.auth0.com/t/error-when-exporting-tenant-auth0-deploy-cli-tool/78456/4 "2022-03-04T22:43:09Z")

</div>

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