Azure / reliable-web-app-pattern-java

The reliable web app pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for Java.
https://aka.ms/eap/rwa/java/doc
MIT License
54 stars 35 forks source link

Existing service principal issue when deploying #185

Closed jdubois closed 1 year ago

jdubois commented 1 year ago

When deploying the first time, I have the following error:


│ Error: Could not create service principal
│
│   with module.ad[0].azuread_service_principal.application_service_principal,
│   on modules/active-directory/main.tf line 68, in resource "azuread_service_principal" "application_service_principal":
│   68: resource "azuread_service_principal" "application_service_principal" {
│
│ ServicePrincipalsClient.BaseClient.Post(): unexpected status 409 with OData error: Request_MultipleObjectsWithSameKeyValue: The service principal cannot be created, updated, or restored because the service principal name
│ 8e85ac55-d0bd-4e2f-96e9-0723b0ab703a is already in use.
╵