Hi there. I'm creating an endpoint guarded by capt...
# azure
s
Hi there. I'm creating an endpoint guarded by captcha, so i would like to disable all types of security (code=zxxxx) Link to the documentation - Link! I'm quite sure this scirpt should do the trick, but i dosn't
Copy code
var linuxFunctionApp = new LinuxFunctionApp($"{application}-{environment}-", new()
    {
        ResourceGroupName = resourceGroup.Name,
        Location = resourceGroup.Location,
        StorageAccountName = storageAccount.Name,
        StorageAccountAccessKey = storageAccount.PrimaryAccessKey,
        ServicePlanId = appServicePlan.Id,
        AuthSettings = new LinuxFunctionAppAuthSettingsArgs
        {
            Enabled = false //# SHOULD DO THE TRICK
        },
        SiteConfig = new LinuxFunctionAppSiteConfigArgs
        {

        }
    });