Data Source: azuread_access_package

Use this data source to retrieve information for an existing access package within Identity Governance in 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: EntitlementManagement.Read.All, or EntitlementManagement.ReadWrite.All.

When authenticated with a user principal, this data source requires one of the following directory roles: Catalog owner, Catalog reader, Access package manager, Global Reader, or Global Administrator.

Example Usage

Look up by ID

data "azuread_access_package" "example" {
  object_id = "00000000-0000-0000-0000-000000000000"
}

Look up by DisplayName

data "azuread_access_package" "example" {
  catalog_id   = "00000000-0000-0000-0000-000000000000"
  display_name = "My access package Catalog"
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the above arguments, the following attributes are exported: