hashicorp / terraform-provider-azuread

Terraform provider for Azure Active Directory
https://registry.terraform.io/providers/hashicorp/azuread/latest/docs
Mozilla Public License 2.0
415 stars 280 forks source link

bugfix: ensure `sessionControls.isEnabled: true` when specifying `sign_in_frequency_interval = "everyTime"` #1417

Open manicminer opened 1 week ago

manicminer commented 1 week ago

This fixes some incorrect logic around enabling session controls when only sign_in_frequency_interval = "everyTime" is specified.

Unfortunately this is currently blocked due to a possible API bug - this field doesn't seem to be accepted by the v1.0 API contrary to documentation. Changing the API version in the request to beta allows the request to complete.

Screenshot 2024-06-25 at 23 10 26



Screenshot 2024-06-25 at 23 11 38

Closes: #1416

manicminer commented 1 week ago

API bug reported upstream: https://github.com/microsoftgraph/msgraph-metadata/issues/647