» Data Source: azuread_application

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

» Example Usage

data "azuread_application" "test" {
  name = "My First AzureAD Application"
}

output "azure_ad_object_id" {
  value = "${data.azuread_application.test.id}"
}

» Argument Reference

  • object_id - (Optional) Specifies the Object ID of the Application within Azure Active Directory.

  • name - (Optional) Specifies the name of the Application within Azure Active Directory.

» Attributes Reference

  • id - the Object ID of the Azure Active Directory Application.

  • application_id - the Application ID of the Azure Active Directory Application.

  • available_to_other_tenants - Is this Azure AD Application available to other tenants?

  • identifier_uris - A list of user-defined URI(s) that uniquely identify a Web application within it's Azure AD tenant, or within a verified custom domain if the application is multi-tenant.

  • oauth2_allow_implicit_flow - Does this Azure AD Application allow OAuth2.0 implicit flow tokens?

  • object_id - the Object ID of the Azure Active Directory Application.

  • reply_urls - A list of URLs that user tokens are sent to for sign in, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to.

  • required_resource_access - A collection of required_resource_access blocks as documented below.


required_resource_access block exports the following:

  • resource_app_id - The unique identifier for the resource that the application requires access to.

  • resource_access - A collection of resource_access blocks as documented below


resource_access block exports the following:

  • id - The unique identifier for one of the OAuth2Permission or AppRole instances that the resource application exposes.

  • type - Specifies whether the id property references an OAuth2Permission or an AppRole.