Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
86 stars 27 forks source link

AppService wrong configuration when using clientCertMode: "Optional" #1643

Open GhBogdan97 opened 1 year ago

GhBogdan97 commented 1 year ago

Bicep version v0.17.1

Describe the bug Creating an AppService using the settings

clientCertEnabled: true clientCertMode: "Optional"

sets the "Client Certificate Mode" configuration on the AppService to "Allow" instead of "Optional"

To Reproduce Steps to reproduce the behavior:

alex-frankel commented 1 year ago

I would recommend opening a support case with the App Config team for this issue.

GhBogdan97 commented 1 year ago

Hi, any news on this?

cleferman commented 1 year ago

Also interested in this, any news?

microsoft-github-policy-service[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI. Please see https://aka.ms/biceptypesinfo for troubleshooting help.

cleferman commented 1 year ago

@antcp @AzureAppServiceCLI any news on this?

GhBogdan97 commented 1 year ago

Hello @stephaniezyen @AzureAppServiceCLI what would be the timeline for getting this fixed? Is it at least confirmed where the issue is coming from?

cleferman commented 1 year ago

After a bit of digging I managed to get the bicep template to properly set the client certificate mode to "Optional".

The values needed to achieve this is:

IMO the docs don't make it clear what 'OptionalInteractiveUser' is supposed to do.