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 you reference a nonexistent property of a type.
Cannot access properties of type <type-name>. A <type-name> type is required.
Error
The following example raises the diagnostic because string.bar isn't defined:
type foo = string.bar
You can fix the diagnostic by removing the reference:
type foo = string
For more information about Bicep diagnostics, see Bicep core diagnostics.