Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AVM Module Issue]: The JSON value could not be converted to System.Boolean. Path: $.properties.identityProviders.azureActiveDirectory.isAutoProvisioned #71

Open
1 task done
PbALpi7xEX opened this issue Feb 14, 2025 · 0 comments
Labels
Language: Terraform 🌐 This is related to the Terraform IaC language Needs: Triage 🔍 Maintainers need to triage still Type: Bug 🐛 Something isn't working

Comments

@PbALpi7xEX
Copy link

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Bug

(Optional) Module Version

0.3.0

(Optional) Correlation Id

No response

Description

App registration created beforehand. Trying to setup authentication with Azure iDP in my container app using the following config:

auth_configs = {
    primary = {
      name              = "azure"
      isAutoProvisioned = false,
      platform = {
        enabled = true
      }

      identity_providers = {
        azure_active_directory = {
          enabled = true
          registration = {
            client_id               = "********"
            clientSecretSettingName = "microsoft-provider-authentication-secret"
            openIdIssuer            = "https://sts.windows.net/${data.azurerm_subscription.current.tenant_id}/v2.0"
          }
        }

        validation = {
          allowedAudiences = [],
          defaultAuthorizationPolicy = {
            allowedApplications = [
              "*****"
            ],
            allowedPrincipals = {}
          }
        }

        global_validation = {
          unauthenticated_client_action = "AllowAnonymous"
        }
      }
    }
  }

This is throwing the following error:

"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
│   "title": "One or more validation errors occurred.",
│   "status": 400,
│   "errors": {
│     "$.properties.identityProviders.azureActiveDirectory.isAutoProvisioned": [
│       "The JSON value could not be converted to System.Boolean. Path: $.properties.identityProviders.azureActiveDirectory.isAutoProvisioned | LineNumber: 0 | BytePositionInLine: 180."
│     ]
@PbALpi7xEX PbALpi7xEX added Language: Terraform 🌐 This is related to the Terraform IaC language Needs: Triage 🔍 Maintainers need to triage still labels Feb 14, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Type: Bug 🐛 Something isn't working label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language: Terraform 🌐 This is related to the Terraform IaC language Needs: Triage 🔍 Maintainers need to triage still Type: Bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant