# Migration from azuread to msgraph provider

**URL:** <https://discuss.hashicorp.com/t/migration-from-azuread-to-msgraph-provider/76840>\
**Category:** Terraform\
**Tags:** azure\
**Created:** [November 25, 2025, 2:02pm UTC](https://discuss.hashicorp.com/t/migration-from-azuread-to-msgraph-provider/76840 "2025-11-25T14:02:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulgking99](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/paulgking99/32/43080_2.png) [@paulgking99](https://discuss.hashicorp.com/u/paulgking99)\
**Post date:** [November 25, 2025, 2:02pm UTC](https://discuss.hashicorp.com/t/migration-from-azuread-to-msgraph-provider/76840/1 "2025-11-25T14:02:41Z")

</div>

Hello! I have a task to migrate a terraform azuread module which creates an app reg to use the msgraph provider. I have hit a stumbling block when trying to create the app reg identifier uri as previously it was in a seperate resource block which references the client\_id but with msgraph it seems that you have to contain the identifierURIs within the main msgraph\_resource app reg creation block, has anyone found a workaround for this? TIA

Block to migrate; resource “azuread\_application\_identifier\_uri” “api” {

count = var.create\_azuread\_application\_identifier\_uri ? 1 : 0

application\_id = azuread\_application\_registration.this.id

identifier\_uri = “api://${azuread\_application\_registration.this.client\_id}”

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/hashicorp/original/1X/79bf76adfd92a75631996933098f9ce29d37abf3.svg) [@system](https://discuss.hashicorp.com/u/system)\
**Post date:** [May 24, 2026, 2:03pm UTC](https://discuss.hashicorp.com/t/migration-from-azuread-to-msgraph-provider/76840/2 "2026-05-24T14:03:11Z")

</div>

Closed on May 24, 2026, 2:03pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
