Data Source: azuread_application

Use this data source to access information about an existing Application within Azure Active Directory.

API Permissions

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

When authenticated with a service principal, this data source requires one of the following application roles: Application.Read.All or Directory.Read.All

When authenticated with a user principal, this data source does not require any additional roles.

Example Usage

data "azuread_application" "example" {
  display_name = "My First AzureAD Application"
}

output "application_object_id" {
  value = data.azuread_application.example.object_id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


api block exports the following:


oauth2_permission_scope block exports the following:


app_role block exports the following:


features block exports the following:


optional_claims block exports the following:


access_token, id_token and saml2_token blocks export the following:


public_client block exports the following:


required_resource_access block exports the following:


resource_access block exports the following:


single_page_application block exports the following:


web block exports the following:


implicit_grant block exports the following: