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
│ Error: Retrieving Conditional Access Policy with object ID "b9c0b6f1-8a29-4f27-91ba-267818baf021"
│
│ with azuread_conditional_access_policy.block_legacy,
│ on legacy_auth.tf line 1, in resource "azuread_conditional_access_policy" "block_legacy":
│ 1: resource "azuread_conditional_access_policy" "block_legacy" {
│
│ ConditionalAccessPolicyClient.BaseClient.Get(): Get
│ "https://graph.microsoft.com/beta/TENANT_ID/identity/conditionalAccess/policies/b9c0b6f1-8a29-4f27-91ba-267818baf021":
│ GET
│ https://graph.microsoft.com/beta/TENANT_ID/identity/conditionalAccess/policies/b9c0b6f1-8a29-4f27-91ba-267818baf021
│ giving up after 9 attempt(s)
Expected Behaviour
When the policy has been removed outside of Terraform Terraform should attempt to re-create it
Actual Behaviour
Terraform is unable to read the Policy and errors after 9 attempts
Steps to Reproduce
terraform apply
Delete the policy via the portal/API outside of Terraform
terraform apply
Important Factoids
Running using a Service Principal
References
The text was updated successfully, but these errors were encountered:
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_conditional_access_policy
Terraform Configuration Files
Output
Expected Behaviour
When the policy has been removed outside of Terraform Terraform should attempt to re-create it
Actual Behaviour
Terraform is unable to read the Policy and errors after 9 attempts
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
Running using a Service Principal
References
The text was updated successfully, but these errors were encountered: