You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently have an AD Group that is managed by terraform. This group will be populated with members that applications. These applications are simple Azure Web Apps that have AD integration enabled.
When we deleted the Azure Web App through azure portal, it also removed the application from the AD Group (since it no longer exists).
When terraform ran it's planning stage, it would spit out the following error: Error: Azure AD Group Member not found - groupObjectId:"<groupId>" / memberObjectId: "<memberId>"
Expected Behavior:
Terraform should continue with it's plan and should re-create the member since it no longer exists within the AD Group.
Temporary Workaround:
I ran the the following command to remove the member from the terraform state file:
terraform state rm "module.database.azuread_group_member.sql_appservice_member[1]"
Running terraform plan/apply worked afterwards.
Extra info:
azuread provider version: 0.7
The code used to create members of the AD Group (we use an iterator). The object id's of app services are passed in as variables into the module.
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
locked and limited conversation to collaborators
Apr 11, 2020
We are currently have an AD Group that is managed by terraform. This group will be populated with members that applications. These applications are simple Azure Web Apps that have AD integration enabled.
When we deleted the Azure Web App through azure portal, it also removed the application from the AD Group (since it no longer exists).
When terraform ran it's planning stage, it would spit out the following error:
Error: Azure AD Group Member not found - groupObjectId:"<groupId>" / memberObjectId: "<memberId>"
Expected Behavior:
Terraform should continue with it's plan and should re-create the member since it no longer exists within the AD Group.
Temporary Workaround:
I ran the the following command to remove the member from the terraform state file:
terraform state rm "module.database.azuread_group_member.sql_appservice_member[1]"
Running terraform plan/apply worked afterwards.
Extra info:
azuread provider version:
0.7
The code used to create members of the AD Group (we use an iterator). The object id's of app services are passed in as variables into the module.
The text was updated successfully, but these errors were encountered: