» Data Source: azuread_user

Gets information about an Azure Active Directory user.

» Example Usage

data "azuread_user" "example" {
  user_principal_name = "user@hashicorp.com"

» Argument Reference

The following arguments are supported:

  • user_principal_name - (Required) The User Principal Name of the Azure AD User.

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

  • mail_nickname - (Optional) The email alias of the Azure AD User.

» Attributes Reference

The following attributes are exported: