azurerm_graph_account

Manages a Microsoft Graph Services Account.

Example Usage

resource "azuread_application" "example" {
  display_name = "example-app"
}
resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}
resource "azurerm_graph_account" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name
  application_id      = azuread_application.example.application_id
  tags = {
    environment = "Production"
  }
}

Arguments Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:


Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

An existing Account can be imported into Terraform using the resource id, e.g.

terraform import azurerm_graph_account.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-resource-group/providers/Microsoft.GraphServices/accounts/account1