Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This diagnostic occurs when Bicep can't resolve a parameter name in a Bicep parameters file.
Failed to evaluate parameter <parameter-name>: <diagnostic-message>.
Error
Check the value of the parameter.
The following Bicep parameters file produces the error because the 'testEnvironmentVariable' environment variable can't be found:
using 'main.bicep'
param parTest = readEnvironmentVariable('testEnvironmentVariable')
It could be because the environment variable isn't defined at the user or system level. For more information, see the readEnvironmentVariable()
function.
To learn more about Bicep diagnostics, see Bicep core diagnostics.