Using a0deploy to set prompts with tenant.yaml file

I’m having trouble when I try to integrate the prompts functionality to our existing setup.
We have tenant.yaml file with prompts as below:

prompts:
  identifier_first: true
  universal_login_experience: new
  webauthn_platform_first_factor: false

When I execute the command a0deploy import --input_file tenant.yaml --config_file config.json --debug, I do not see any log entries related to prompts.
Additionally, the Authentication Profile does not change to Identifier First.

I’m using auth0-deploy-cli version v7.24.0 and node version v20.14.0

Hi @victor.nguyen

Thank you for reaching out!

Looking through this internally, I saw that this has been resolved over a Support case that you opened ( we appreciate you taking the time to submit the case! ) and wanted to provide some details here as well, in case it helps others in the future.

Some things that are worth checking in such cases would be:

  • Verify that the Deploy CLI app on Auth0 has the grant types read:prompts and update:prompts ;
  • Look for any wrong indentation/whitelisting within the YAML file, as these can easily slip unnoticed and cause issues;
  • Check the config.json file, particularly for the AUTH0_EXCLUDED property, which can be set to exclude entire resource types, including prompts.

Related to the last bullet-point, I recommend checking out the following documentation on how to Exclude Resources From Management and double-check against the configuration from the config file.

Have a great one!
Gerald