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: Creating access package assignment policy "Terraform managed policy"
with module.aad["some-sub-prod-01"].azuread_access_package_assignment_policy.default-policy["owner"],
on modules/aad/main.tf line 114, in resource "azuread_access_package_assignment_policy" "default-policy":
114: resource "azuread_access_package_assignment_policy" "default-policy" {
unexpected status 400 (400 Bad Request) with error: ArgumentNullException:
Value cannot be null.
Parameter name: source
Expected Behavior
Access package assignment policy to get created as before the upgrade.
Actual Behavior
Creation failes with the error message above. The resource is setting approval_settings.approval_stage. A different resource that does not include this is successfully created, so there might be something fishy about that section.
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered:
Issue is directly related to secondary/backup approvers. It now looks for escalation_approver instead of alternative_approver when crafting the graph payload, but it's not an expected block according to the resource
Community Note
Terraform (and AzureAD Provider) Version
terraform version: 1.7.4
azuread version: 3.0.2
(upgraded fromazuread version: 2.51.0
)Affected Resource(s)
azuread_access_package_assignment_policy
Terraform Configuration Files
Terraform code
Terraform Plan
Panic Output
Expected Behavior
Access package assignment policy to get created as before the upgrade.
Actual Behavior
Creation failes with the error message above. The resource is setting
approval_settings.approval_stage
. A different resource that does not include this is successfully created, so there might be something fishy about that section.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: