Resource: azuread_application_known_clients

Manages the known client applications for an application registration.

API Permissions

The following API permissions are required in order to use this resource.

When authenticated with a service principal, this resource requires one of the following application roles: Application.ReadWrite.OwnedBy or Application.ReadWrite.All

When authenticated with a user principal, this resource may require one of the following directory roles: Application Administrator or Global Administrator

Example Usage

resource "azuread_application_registration" "example" {
  display_name = "example"
}

resource "azuread_application_registration" "client" {
  display_name = "example client"
}

resource "azuread_application_known_clients" "example" {
  application_id = azuread_application_registration.example.id
  known_client_ids = [
    azuread_application_registration.client.client_id,
  ]
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported.

Import

Application Known Clients can be imported using the object ID of the application in the following format.

terraform import azuread_application_known_clients.example /applications/00000000-0000-0000-0000-000000000000/knownClients