Error when Attempting to Create or Deploy a Terraform Resource - "Error: 403 Forbidden: The account is not all...'

Problem statement

When attempting to create or deploy a Terraform resource to an Auth0 tenant the following error is thrown:

Error: 403 Forbidden: The account is not allowed to perform this operation, please contact our support team.

The Terraform M2M application has full access, and it appears all steps from the Terraform documentation have been followed. What is the reason behind the error being returned?

Cause

This error message typically occurs if the customer is trying to update resources that were not including in their subscription, for example, using “auth0_branding” in the Free tier.

Solution

Either exclude the resources that are not included in a given subscription, or update the Auth0 subscription so the necessary features and resources are enabled and can be configured by the Terraform provider as expected.