# Auth0 export tenant config fails

**URL:** <https://community.auth0.com/t/auth0-export-tenant-config-fails/66782>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [July 26, 2021, 4:16am UTC](https://community.auth0.com/t/auth0-export-tenant-config-fails/66782 "2021-07-26T04:16:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gosia.Connors](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gosia.connors/32/30818_2.png) [@Gosia.Connors](https://community.auth0.com/u/Gosia.Connors)\
**Post date:** [July 26, 2021, 4:16am UTC](https://community.auth0.com/t/auth0-export-tenant-config-fails/66782/1 "2021-07-26T04:16:02Z")

</div>

I have been following instructions on [https://auth0.com/docs/deploy/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure](https://auth0.com/docs/deploy/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure) to export my DEV tenant configuration and then import same configuration to my SIT tenant.

However I’m facing error upon running export.  
Can please someone advice?

error:  
2021-07-26T00:42:59.706Z - error: Problem running command export during stage load when processing type triggers  
2021-07-26T00:42:59.706Z - error: Insufficient scope, expected any of: read:actions

FYR: I’m using Auth0 Deploy CLI Extension version 2.3

---

<div class="post-metadata">

**Author:** ![jeff0](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeff0/32/30027_2.png) [@jeff0](https://community.auth0.com/u/jeff0)\
**Post date:** [July 27, 2021, 1:09pm UTC](https://community.auth0.com/t/auth0-export-tenant-config-fails/66782/2 "2021-07-27T13:09:38Z")

</div>

Hi Gosia

Did you use deploy-cli to create an application for extension use? The application you are using for deploy cli needs extra permissions (scopes) for Auth0 Management APIs.

You can find more information here [Deploy CLI Tool](https://auth0.com/docs/deploy/deploy-cli-tool#upgrade-to-version-7)

Let us know if you have any other questions.

Thanks

---

<div class="post-metadata">

**Author:** ![Gosia.Connors](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gosia.connors/32/30818_2.png) [@Gosia.Connors](https://community.auth0.com/u/Gosia.Connors)\
**Post date:** [July 27, 2021, 11:11pm UTC](https://community.auth0.com/t/auth0-export-tenant-config-fails/66782/3 "2021-07-27T23:11:14Z")

</div>

> [@Gosia.Connors](#):
>
> nsion version 2.3

Hi @jeff0 ,  
I have managed to resolve it. Had to remove old deploy-cli extension (old extension) and install deploy-cli manually by creating (machine to machine) application. Then after adding all permissions and some additional one (ref. [https://auth0.com/docs/deploy/deploy-cli-tool#upgrade-to-version-7](https://protect-au.mimecast.com/s/qIyICr8DPBtA3jypu4JY-N?domain=auth0.com)) I have managed to successfully export configuration. Thanks anyway!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 28, 2021, 9:28am UTC](https://community.auth0.com/t/auth0-export-tenant-config-fails/66782/4 "2021-07-28T09:28:04Z")

</div>

Perfect! Thanks for sharing it with the rest of community!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 29, 2021, 10:03am UTC](https://community.auth0.com/t/auth0-export-tenant-config-fails/66782/5 "2021-07-29T10:03:46Z")

</div>


