# Not allowed to set certain flags for particular tenant

**URL:** <https://community.auth0.com/t/not-allowed-to-set-certain-flags-for-particular-tenant/45926>\
**Category:** Get Help\
**Created:** [July 8, 2020, 12:14am UTC](https://community.auth0.com/t/not-allowed-to-set-certain-flags-for-particular-tenant/45926 "2020-07-08T00:14:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhoenixTheAlchemist](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/phoenixthealchemist/32/17062_2.png) [@PhoenixTheAlchemist](https://community.auth0.com/u/PhoenixTheAlchemist)\
**Post date:** [July 8, 2020, 12:14am UTC](https://community.auth0.com/t/not-allowed-to-set-certain-flags-for-particular-tenant/45926/1 "2020-07-08T00:14:45Z")

</div>

Hi,

I’m using `auth0-deploy-cli` to deploy configurations to multiple tenants. However, for one of the tenants (I am the admin user), it threw me following error:

```auto
    error: You are not allowed to set flag 'include_email_in_reset_pwd_redirect' for this tenant.

```

Same error occurs for `include_email_in_verify_email_redirect` flag as well.  
Here is a snippet of the `tenant` section of the yaml config:

```auto
tenant:
  default_redirection_uri: @@TENANT_DEFAULT_REDIRECTION_URI@@
  enabled_locales:
    - en
  flags:
    new_universal_login_experience_enabled: true
    universal_login: true
    disable_clickjack_protection_headers: false
    include_email_in_reset_pwd_redirect: true
    include_email_in_verify_email_redirect: true
  friendly_name: @@FRIENDLY_NAME@@
  picture_url: @@PICTURE_URL@@
  support_email: @@SUPPORT_EMAIL@@
  support_url: ''

```

Since all other tenants was able to be deployed with same configurations with no errors. I wonder what could be the cause of this error. Is there any prerequisite for those flags?  
Also I’m unable to find those configuration on Auth0 dashboard UI. Wonder where I can manually set those flags?

Thank you,  
Phoenix

---

<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 8, 2020, 10:58am UTC](https://community.auth0.com/t/not-allowed-to-set-certain-flags-for-particular-tenant/45926/2 "2020-07-08T10:58:07Z")

</div>

Hey there!

Can I ask you to raise it as a GitHub issue here: [GitHub - auth0/auth0-deploy-cli: The Auth0 Deploy CLI is a tool that helps you manage your Auth0 tenant configuration. It integrates into your development workflows as a standalone CLI or as a node module.](https://github.com/auth0/auth0-deploy-cli)

so we can work directly on it with the repo maintainers? Make sure to share the link to the issue here with us so we can ping the tool maintainers. Thank you!

---

<div class="post-metadata">

**Author:** ![Saltuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saltuk/32/14364_2.png) [@Saltuk](https://community.auth0.com/u/Saltuk)\
**Post date:** [October 14, 2020, 10:37pm UTC](https://community.auth0.com/t/not-allowed-to-set-certain-flags-for-particular-tenant/45926/3 "2020-10-14T22:37:42Z")

</div>

This API needs `update:tenant_settings` permission. You may check if the application for your auth0-deploy-cli has the required permission with the [get client grants](https://auth0.com/docs/api/management/v2?#!/Client_Grants/get_client_grants) management API.

If this doesn’t help, you may try updating this flag with the [update tenant settings management API](https://auth0.com/docs/api/management/v2#!/Tenants/patch_settings).

---

<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:** [October 15, 2020, 7:52am UTC](https://community.auth0.com/t/not-allowed-to-set-certain-flags-for-particular-tenant/45926/4 "2020-10-15T07:52:32Z")

</div>

Thank you for providing that solution Saltuk!

---

<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:** [October 30, 2020, 7:52am UTC](https://community.auth0.com/t/not-allowed-to-set-certain-flags-for-particular-tenant/45926/5 "2020-10-30T07:52:32Z")

</div>

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