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

Azure app registration fails when using prevent_duplicate_names #364

Closed
scott-doyland-burrows opened this issue Nov 25, 2020 · 3 comments · Fixed by #367
Closed

Azure app registration fails when using prevent_duplicate_names #364

scott-doyland-burrows opened this issue Nov 25, 2020 · 3 comments · Fixed by #367

Comments

@scott-doyland-burrows
Copy link

Hi,
The problem still seems to exist with provider 1.1.0.
I try to create an app registration which does NOT yet exist using:
prevent_duplicate_names = true

and still get the error. The application ID in the error IS the application ID of the app registration that terraform has partially managed to create before it has the error.

Error: existing Application with name "burrows-appreg-scott-cadabraui" (AppID: "a79564a0-72cb-4b2d-855e-83079eb05929") was found and `prevent_duplicate_names` was specified

  on cadabraui.tf line 1, in resource "azuread_application" "cadabraui":
   1: resource "azuread_application" "cadabraui" {


terraform version
Terraform v0.13.5
+ provider registry.terraform.io/hashicorp/azuread v1.1.0
+ provider registry.terraform.io/hashicorp/azurerm v2.37.0

Originally posted by @scott-doyland-burrows in #310 (comment)

@manicminer
Copy link
Contributor

Hi @scott-doyland-burrows, thanks for reporting this. This was erroneously marked a resolved and there is a fix incoming.

@ghost
Copy link

ghost commented Nov 26, 2020

This has been released in version 1.1.1 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azuread" {
    version = "~> 1.1.1"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Dec 26, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants