Data Source: azuread_user

Gets information about an Azure Active Directory user.

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: User.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_user" "example" {
  user_principal_name = "user@hashicorp.com"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: