Auth0 export tenant config fails

I have been following instructions on 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

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

Let us know if you have any other questions.

Thanks

2 Likes

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) I have managed to successfully export configuration. Thanks anyway!

1 Like

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

1 Like