Skip to content
RTFE_
Error library
BicepBicepKnown error

BCP036

Bicep told you the line and column

Bicep compiler

What the error looks like

  • Error code
  • WHO โ€” identity
  • WHAT โ€” action
  • WHERE โ€” scope
  • Policy
  • Correlation / trace
/src/main.bicep(24,5) : Error BCP036CODE: The property "sku" expected a value of type "'Premium_LRS' | 'Standard_GRS' | 'Standard_LRS' | 'Standard_ZRS'" but the provided value is of type "'Standard'". [https://aka.ms/bicep/core-diagnostics#BCP036CODE]

What you told me

โ€œBicep won't build.โ€

you ยท just now

Let's read it.

RTFE ยท seen

What it actually says

The compiler gives you the file, line, column, property, and the expected type or allowed values. Go there.

Azure outage? No. Compile error in the template โ€” it never reached Azure.

The fix

  1. 01Open the file at (line, column).
  2. 02Compare the provided value with the expected type/values.
  3. 03Common ones: BCP035 missing property, BCP036 wrong type, BCP037 property not allowed, BCP057 unknown symbol.
Bicep CLI
az bicep build --file main.bicep

Read it faster next time

(24,5) means line 24, column 5. That's the whole search.

Further reading

Open Microsoft Learn