hashicorp / terraform-provider-azuread

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

New resource to manage application extension properties #737

Open phenixdotnet opened 2 years ago

phenixdotnet commented 2 years ago

Community Note

Description

Add a new resource to allow management of extension properties. In Azure AD (B2C), extension properties are linked to an application and allow developers to add data to an user. This is particularly useful when working with Azure AD B2C and Trust Framework.

New or Affected Resource(s)

Potential Terraform Configuration

resource "azuread_application" "example" {
  display_name     = "example"
}

resource "azuread_application_extension_property" {
   application_id = azuread_application.example.id

   name = "my_custom_extension_property"
   data_type = "String"
   target_objects = "Users"
}

References

If this looks acceptable, I'm ready to have a look at it and submit a PR

GrapeJuice787 commented 1 year ago

Will this include directory extensions, or would that be a separate feature request? Looking to automate the provisioning of directory extensions for groups.