hashicorp / terraform-provider-azuread

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

How to Customize user provisioning attribute-mappings using terraform?? #1332

Open Sangamesh21 opened 4 months ago

Sangamesh21 commented 4 months ago

image

nbaju1 commented 4 months ago

Currently not supported.

Sangamesh21 commented 4 months ago

Thank you @nbaju1. Is there any other way to automate user provisioning attribute-mappings ?

nbaju1 commented 4 months ago

I have done this using the MS Graph API directly with the endpoints for synchronization schema. It's a bit finicky, but can be done.

Ref: https://learn.microsoft.com/en-us/graph/api/resources/synchronization-synchronizationschema?view=graph-rest-1.0

Sangamesh21 commented 4 months ago

@nbaju1, Thank you for sharing the reference. Could you share me an example as I am stuck with it after generating accessToken? Thanks in advance.