Skip to content

Instantly share code, notes, and snippets.

@niven01
Last active May 22, 2024 14:43
Show Gist options
  • Save niven01/a683eee62518b3c6fbebf8774816d39c to your computer and use it in GitHub Desktop.
Save niven01/a683eee62518b3c6fbebf8774816d39c to your computer and use it in GitHub Desktop.
azuread_application_from_template
============================= End AzureAD Response ============================: timestamp=2024-05-22T13:34:59.071Z
2024-05-22T13:34:59.075Z [INFO] provider.terraform-provider-azuread_v2.50.0_x5: 2024/05/22 13:34:59 [DEBUG] Unlocking "azuread_application.ea5fe2bc-58c1-483e-bd4f-40c560986ebc": timestamp=2024-05-22T13:34:59.075Z
2024-05-22T13:34:59.075Z [INFO] provider.terraform-provider-azuread_v2.50.0_x5: 2024/05/22 13:34:59 [DEBUG] Unlocked "azuread_application.ea5fe2bc-58c1-483e-bd4f-40c560986ebc": timestamp=2024-05-22T13:34:59.075Z
Error: -22T13:34:59.076Z [ERROR] provider.terraform-provider-azuread_v2.50.0_x5: Response contains error diagnostic: diagnostic_severity=ERROR tf_proto_version=5.4 tf_provider_addr=provider diagnostic_summary="deleting Application From Template (Template ID: \"8b1025e4-1dd2-430b-a150-2ef79cd700f5\", Application ID: \"ea5fe2bc-58c1-483e-bd4f-40c560986ebc\", Service Principal ID: \"24cdec0c-d201-4af9-8752-fd5735276f2f\"): ApplicationsClient.BaseClient.Delete(): unexpected status 400 with OData error: DeletingSamlSpNotAllowed: Property appId is invalid." tf_req_id=126296f2-6849-c483-287a-844eb1ba06dd tf_resource_type=azuread_application_from_template @caller=github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/internal/diag/diagnostics.go:58 @module=sdk.proto diagnostic_detail="deleting Application From Template (Template ID: \"8b1025e4-1dd2-430b-a150-2ef79cd700f5\", Application ID: \"ea5fe2bc-58c1-483e-bd4f-40c560986ebc\", Service Principal ID: \"24cdec0c-d201-4af9-8752-fd5735276f2f\"): ApplicationsClient.BaseClient.Delete(): unexpected status 400 with OData error: DeletingSamlSpNotAllowed: Property appId is invalid." tf_rpc=ApplyResourceChange timestamp=2024-05-22T13:34:59.075Z
2024-05-22T13:34:59.076Z [DEBUG] State storage *remote.State declined to persist a state snapshot
Error: -22T13:34:59.076Z [ERROR] vertex "module.aws_base_resources.azuread_application_from_template.softcat_sso_app (destroy)" error: deleting Application From Template (Template ID: "8b1025e4-1dd2-430b-a150-2ef79cd700f5", Application ID: "ea5fe2bc-58c1-483e-bd4f-40c560986ebc", Service Principal ID: "24cdec0c-d201-4af9-8752-fd5735276f2f"): ApplicationsClient.BaseClient.Delete(): unexpected status 400 with OData error: DeletingSamlSpNotAllowed: Property appId is invalid.
│ Error: deleting Application From Template (Template ID: "8b1025e4-1dd2-430b-a150-2ef79cd700f5", Application ID: "ea5fe2bc-58c1-483e-bd4f-40c560986ebc", Service Principal ID: "24cdec0c-d201-4af9-8752-fd5735276f2f"): ApplicationsClient.BaseClient.Delete(): unexpected status 400 with OData error: DeletingSamlSpNotAllowed: Property appId is invalid.
│ deleting Application From Template (Template ID:
│ "8b1025e4-1dd2-430b-a150-2ef79cd700f5", Application ID:
│ "ea5fe2bc-58c1-483e-bd4f-40c560986ebc", Service Principal ID:
│ "24cdec0c-d201-4af9-8752-fd5735276f2f"):
│ ApplicationsClient.BaseClient.Delete(): unexpected status 400 with OData
│ error: DeletingSamlSpNotAllowed: Property appId is invalid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment