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

Add support for "azuread_authentication_strength_policy" data source #1385

Open webstean opened 1 month ago

webstean commented 1 month ago

Community Note

Description

Please add support for the "azuread_authentication_strength_policy" data source, so we can read the Microsoft supplied defaults.

New or Affected Resource(s)

## good
data "azuread_authentication_strength_policy" "multifactor" {
  display_name = "Multifactor Authentication"
}

## better
data "azuread_authentication_strength_policy" "passwordless" {
  display_name = "Passwordless Authentication"
}

## best
data "azuread_authentication_strength_policy" "phishingresitant" {
  display_name = "Phishing-resistant MFA"
}

Potential Terraform Configuration

As per above.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References