terraform-provider-azuread
terraform-provider-azuread copied to clipboard
New resource to manage application extension properties
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritise this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritise the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
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)
- azuread_application_extension_property
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
- MS Graph documentation about extension properties: https://docs.microsoft.com/en-us/graph/api/application-list-extensionproperty?view=graph-rest-1.0&tabs=http
- Hamilton SDK already support it: https://github.com/manicminer/hamilton/blob/main/msgraph/applications.go#L525
If this looks acceptable, I'm ready to have a look at it and submit a PR