azuread.getUser
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";
const example = azuread.getUser({
userPrincipalName: "user@example.com",
});
import pulumi
import pulumi_azuread as azuread
example = azuread.get_user(user_principal_name="user@example.com")
package main
import (
"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuread.LookupUser(ctx, &azuread.LookupUserArgs{
UserPrincipalName: pulumi.StringRef("user@example.com"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;
return await Deployment.RunAsync(() =>
{
var example = AzureAD.GetUser.Invoke(new()
{
UserPrincipalName = "user@example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.AzureadFunctions;
import com.pulumi.azuread.inputs.GetUserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AzureadFunctions.getUser(GetUserArgs.builder()
.userPrincipalName("user@example.com")
.build());
}
}
variables:
example:
fn::invoke:
Function: azuread:getUser
Arguments:
userPrincipalName: user@example.com
Using getUser
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
def get_user(employee_id: Optional[str] = None,
mail: Optional[str] = None,
mail_nickname: Optional[str] = None,
object_id: Optional[str] = None,
user_principal_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(employee_id: Optional[pulumi.Input[str]] = None,
mail: Optional[pulumi.Input[str]] = None,
mail_nickname: Optional[pulumi.Input[str]] = None,
object_id: Optional[pulumi.Input[str]] = None,
user_principal_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput
> Note: This function is named LookupUser
in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azuread:index/getUser:getUser
arguments:
# arguments dictionary
The following arguments are supported:
- Employee
Id string - The employee identifier assigned to the user by the organisation.
- Mail string
- The SMTP address for the user.
- Mail
Nickname string - The email alias of the user.
- Object
Id string - The object ID of the user.
- User
Principal stringName The user principal name (UPN) of the user.
One of
user_principal_name
,object_id
,mail
,mail_nickname
oremployee_id
must be specified.
- Employee
Id string - The employee identifier assigned to the user by the organisation.
- Mail string
- The SMTP address for the user.
- Mail
Nickname string - The email alias of the user.
- Object
Id string - The object ID of the user.
- User
Principal stringName The user principal name (UPN) of the user.
One of
user_principal_name
,object_id
,mail
,mail_nickname
oremployee_id
must be specified.
- employee
Id String - The employee identifier assigned to the user by the organisation.
- mail String
- The SMTP address for the user.
- mail
Nickname String - The email alias of the user.
- object
Id String - The object ID of the user.
- user
Principal StringName The user principal name (UPN) of the user.
One of
user_principal_name
,object_id
,mail
,mail_nickname
oremployee_id
must be specified.
- employee
Id string - The employee identifier assigned to the user by the organisation.
- mail string
- The SMTP address for the user.
- mail
Nickname string - The email alias of the user.
- object
Id string - The object ID of the user.
- user
Principal stringName The user principal name (UPN) of the user.
One of
user_principal_name
,object_id
,mail
,mail_nickname
oremployee_id
must be specified.
- employee_
id str - The employee identifier assigned to the user by the organisation.
- mail str
- The SMTP address for the user.
- mail_
nickname str - The email alias of the user.
- object_
id str - The object ID of the user.
- user_
principal_ strname The user principal name (UPN) of the user.
One of
user_principal_name
,object_id
,mail
,mail_nickname
oremployee_id
must be specified.
- employee
Id String - The employee identifier assigned to the user by the organisation.
- mail String
- The SMTP address for the user.
- mail
Nickname String - The email alias of the user.
- object
Id String - The object ID of the user.
- user
Principal StringName The user principal name (UPN) of the user.
One of
user_principal_name
,object_id
,mail
,mail_nickname
oremployee_id
must be specified.
getUser Result
The following output properties are available:
- Account
Enabled bool - Whether or not the account is enabled.
- Age
Group string - The age group of the user. Supported values are
Adult
,NotAdult
andMinor
. - Business
Phones List<string> - A list of telephone numbers for the user.
- City string
- The city in which the user is located.
- Company
Name string - The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
- Consent
Provided stringFor Minor - Whether consent has been obtained for minors. Supported values are
Granted
,Denied
andNotRequired
. - Cost
Center string - The cost center associated with the user.
- Country string
- The country/region in which the user is located, e.g.
US
orUK
. - Creation
Type string - Indicates whether the user account was created as a regular school or work account (
null
), an external account (Invitation
), a local account for an Azure Active Directory B2C tenant (LocalAccount
) or self-service sign-up using email verification (EmailVerified
). - Department string
- The name for the department in which the user works.
- Display
Name string - The display name of the user.
- Division string
- The name of the division in which the user works.
- Employee
Id string - The employee identifier assigned to the user by the organisation.
- Employee
Type string - Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
- External
User stringState - For an external user invited to the tenant, this property represents the invited user's invitation status. Possible values are
PendingAcceptance
orAccepted
. - Fax
Number string - The fax number of the user.
- Given
Name string - The given name (first name) of the user.
- Id string
- The provider-assigned unique ID for this managed resource.
- Im
Addresses List<string> - A list of instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.
- Job
Title string - The user’s job title.
- Mail string
- The SMTP address for the user.
- Mail
Nickname string - The email alias of the user.
- Manager
Id string - The object ID of the user's manager.
- Mobile
Phone string - The primary cellular telephone number for the user.
- Object
Id string - The object ID of the user.
- Office
Location string - The office location in the user's place of business.
- Onpremises
Distinguished stringName - The on-premises distinguished name (DN) of the user, synchronised from the on-premises directory when Azure AD Connect is used.
- Onpremises
Domain stringName - The on-premises FQDN, also called dnsDomainName, synchronised from the on-premises directory when Azure AD Connect is used.
- Onpremises
Immutable stringId - The value used to associate an on-premise Active Directory user account with their Azure AD user object.
- Onpremises
Sam stringAccount Name - The on-premise SAM account name of the user.
- Onpremises
Security stringIdentifier - The on-premises security identifier (SID), synchronised from the on-premises directory when Azure AD Connect is used.
- Onpremises
Sync boolEnabled - Whether this user is synchronised from an on-premises directory (
true
), no longer synchronised (false
), or has never been synchronised (null
). - Onpremises
User stringPrincipal Name - The on-premise user principal name of the user.
- Other
Mails List<string> - A list of additional email addresses for the user.
- Postal
Code string - The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
- Preferred
Language string - The user's preferred language, in ISO 639-1 notation.
- Proxy
Addresses List<string> - List of email addresses for the user that direct to the same mailbox.
- Show
In boolAddress List - Whether or not the Outlook global address list should include this user.
- State string
- The state or province in the user's address.
- Street
Address string - The street address of the user's place of business.
- Surname string
- The user's surname (family name or last name).
- Usage
Location string - The usage location of the user.
- User
Principal stringName - The user principal name (UPN) of the user.
- User
Type string - The user type in the directory. Possible values are
Guest
orMember
.
- Account
Enabled bool - Whether or not the account is enabled.
- Age
Group string - The age group of the user. Supported values are
Adult
,NotAdult
andMinor
. - Business
Phones []string - A list of telephone numbers for the user.
- City string
- The city in which the user is located.
- Company
Name string - The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
- Consent
Provided stringFor Minor - Whether consent has been obtained for minors. Supported values are
Granted
,Denied
andNotRequired
. - Cost
Center string - The cost center associated with the user.
- Country string
- The country/region in which the user is located, e.g.
US
orUK
. - Creation
Type string - Indicates whether the user account was created as a regular school or work account (
null
), an external account (Invitation
), a local account for an Azure Active Directory B2C tenant (LocalAccount
) or self-service sign-up using email verification (EmailVerified
). - Department string
- The name for the department in which the user works.
- Display
Name string - The display name of the user.
- Division string
- The name of the division in which the user works.
- Employee
Id string - The employee identifier assigned to the user by the organisation.
- Employee
Type string - Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
- External
User stringState - For an external user invited to the tenant, this property represents the invited user's invitation status. Possible values are
PendingAcceptance
orAccepted
. - Fax
Number string - The fax number of the user.
- Given
Name string - The given name (first name) of the user.
- Id string
- The provider-assigned unique ID for this managed resource.
- Im
Addresses []string - A list of instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.
- Job
Title string - The user’s job title.
- Mail string
- The SMTP address for the user.
- Mail
Nickname string - The email alias of the user.
- Manager
Id string - The object ID of the user's manager.
- Mobile
Phone string - The primary cellular telephone number for the user.
- Object
Id string - The object ID of the user.
- Office
Location string - The office location in the user's place of business.
- Onpremises
Distinguished stringName - The on-premises distinguished name (DN) of the user, synchronised from the on-premises directory when Azure AD Connect is used.
- Onpremises
Domain stringName - The on-premises FQDN, also called dnsDomainName, synchronised from the on-premises directory when Azure AD Connect is used.
- Onpremises
Immutable stringId - The value used to associate an on-premise Active Directory user account with their Azure AD user object.
- Onpremises
Sam stringAccount Name - The on-premise SAM account name of the user.
- Onpremises
Security stringIdentifier - The on-premises security identifier (SID), synchronised from the on-premises directory when Azure AD Connect is used.
- Onpremises
Sync boolEnabled - Whether this user is synchronised from an on-premises directory (
true
), no longer synchronised (false
), or has never been synchronised (null
). - Onpremises
User stringPrincipal Name - The on-premise user principal name of the user.
- Other
Mails []string - A list of additional email addresses for the user.
- Postal
Code string - The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
- Preferred
Language string - The user's preferred language, in ISO 639-1 notation.
- Proxy
Addresses []string - List of email addresses for the user that direct to the same mailbox.
- Show
In boolAddress List - Whether or not the Outlook global address list should include this user.
- State string
- The state or province in the user's address.
- Street
Address string - The street address of the user's place of business.
- Surname string
- The user's surname (family name or last name).
- Usage
Location string - The usage location of the user.
- User
Principal stringName - The user principal name (UPN) of the user.
- User
Type string - The user type in the directory. Possible values are
Guest
orMember
.
- account
Enabled Boolean - Whether or not the account is enabled.
- age
Group String - The age group of the user. Supported values are
Adult
,NotAdult
andMinor
. - business
Phones List<String> - A list of telephone numbers for the user.
- city String
- The city in which the user is located.
- company
Name String - The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
- consent
Provided StringFor Minor - Whether consent has been obtained for minors. Supported values are
Granted
,Denied
andNotRequired
. - cost
Center String - The cost center associated with the user.
- country String
- The country/region in which the user is located, e.g.
US
orUK
. - creation
Type String - Indicates whether the user account was created as a regular school or work account (
null
), an external account (Invitation
), a local account for an Azure Active Directory B2C tenant (LocalAccount
) or self-service sign-up using email verification (EmailVerified
). - department String
- The name for the department in which the user works.
- display
Name String - The display name of the user.
- division String
- The name of the division in which the user works.
- employee
Id String - The employee identifier assigned to the user by the organisation.
- employee
Type String - Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
- external
User StringState - For an external user invited to the tenant, this property represents the invited user's invitation status. Possible values are
PendingAcceptance
orAccepted
. - fax
Number String - The fax number of the user.
- given
Name String - The given name (first name) of the user.
- id String
- The provider-assigned unique ID for this managed resource.
- im
Addresses List<String> - A list of instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.
- job
Title String - The user’s job title.
- mail String
- The SMTP address for the user.
- mail
Nickname String - The email alias of the user.
- manager
Id String - The object ID of the user's manager.
- mobile
Phone String - The primary cellular telephone number for the user.
- object
Id String - The object ID of the user.
- office
Location String - The office location in the user's place of business.
- onpremises
Distinguished StringName - The on-premises distinguished name (DN) of the user, synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Domain StringName - The on-premises FQDN, also called dnsDomainName, synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Immutable StringId - The value used to associate an on-premise Active Directory user account with their Azure AD user object.
- onpremises
Sam StringAccount Name - The on-premise SAM account name of the user.
- onpremises
Security StringIdentifier - The on-premises security identifier (SID), synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Sync BooleanEnabled - Whether this user is synchronised from an on-premises directory (
true
), no longer synchronised (false
), or has never been synchronised (null
). - onpremises
User StringPrincipal Name - The on-premise user principal name of the user.
- other
Mails List<String> - A list of additional email addresses for the user.
- postal
Code String - The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
- preferred
Language String - The user's preferred language, in ISO 639-1 notation.
- proxy
Addresses List<String> - List of email addresses for the user that direct to the same mailbox.
- show
In BooleanAddress List - Whether or not the Outlook global address list should include this user.
- state String
- The state or province in the user's address.
- street
Address String - The street address of the user's place of business.
- surname String
- The user's surname (family name or last name).
- usage
Location String - The usage location of the user.
- user
Principal StringName - The user principal name (UPN) of the user.
- user
Type String - The user type in the directory. Possible values are
Guest
orMember
.
- account
Enabled boolean - Whether or not the account is enabled.
- age
Group string - The age group of the user. Supported values are
Adult
,NotAdult
andMinor
. - business
Phones string[] - A list of telephone numbers for the user.
- city string
- The city in which the user is located.
- company
Name string - The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
- consent
Provided stringFor Minor - Whether consent has been obtained for minors. Supported values are
Granted
,Denied
andNotRequired
. - cost
Center string - The cost center associated with the user.
- country string
- The country/region in which the user is located, e.g.
US
orUK
. - creation
Type string - Indicates whether the user account was created as a regular school or work account (
null
), an external account (Invitation
), a local account for an Azure Active Directory B2C tenant (LocalAccount
) or self-service sign-up using email verification (EmailVerified
). - department string
- The name for the department in which the user works.
- display
Name string - The display name of the user.
- division string
- The name of the division in which the user works.
- employee
Id string - The employee identifier assigned to the user by the organisation.
- employee
Type string - Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
- external
User stringState - For an external user invited to the tenant, this property represents the invited user's invitation status. Possible values are
PendingAcceptance
orAccepted
. - fax
Number string - The fax number of the user.
- given
Name string - The given name (first name) of the user.
- id string
- The provider-assigned unique ID for this managed resource.
- im
Addresses string[] - A list of instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.
- job
Title string - The user’s job title.
- mail string
- The SMTP address for the user.
- mail
Nickname string - The email alias of the user.
- manager
Id string - The object ID of the user's manager.
- mobile
Phone string - The primary cellular telephone number for the user.
- object
Id string - The object ID of the user.
- office
Location string - The office location in the user's place of business.
- onpremises
Distinguished stringName - The on-premises distinguished name (DN) of the user, synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Domain stringName - The on-premises FQDN, also called dnsDomainName, synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Immutable stringId - The value used to associate an on-premise Active Directory user account with their Azure AD user object.
- onpremises
Sam stringAccount Name - The on-premise SAM account name of the user.
- onpremises
Security stringIdentifier - The on-premises security identifier (SID), synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Sync booleanEnabled - Whether this user is synchronised from an on-premises directory (
true
), no longer synchronised (false
), or has never been synchronised (null
). - onpremises
User stringPrincipal Name - The on-premise user principal name of the user.
- other
Mails string[] - A list of additional email addresses for the user.
- postal
Code string - The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
- preferred
Language string - The user's preferred language, in ISO 639-1 notation.
- proxy
Addresses string[] - List of email addresses for the user that direct to the same mailbox.
- show
In booleanAddress List - Whether or not the Outlook global address list should include this user.
- state string
- The state or province in the user's address.
- street
Address string - The street address of the user's place of business.
- surname string
- The user's surname (family name or last name).
- usage
Location string - The usage location of the user.
- user
Principal stringName - The user principal name (UPN) of the user.
- user
Type string - The user type in the directory. Possible values are
Guest
orMember
.
- account_
enabled bool - Whether or not the account is enabled.
- age_
group str - The age group of the user. Supported values are
Adult
,NotAdult
andMinor
. - business_
phones Sequence[str] - A list of telephone numbers for the user.
- city str
- The city in which the user is located.
- company_
name str - The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
- consent_
provided_ strfor_ minor - Whether consent has been obtained for minors. Supported values are
Granted
,Denied
andNotRequired
. - cost_
center str - The cost center associated with the user.
- country str
- The country/region in which the user is located, e.g.
US
orUK
. - creation_
type str - Indicates whether the user account was created as a regular school or work account (
null
), an external account (Invitation
), a local account for an Azure Active Directory B2C tenant (LocalAccount
) or self-service sign-up using email verification (EmailVerified
). - department str
- The name for the department in which the user works.
- display_
name str - The display name of the user.
- division str
- The name of the division in which the user works.
- employee_
id str - The employee identifier assigned to the user by the organisation.
- employee_
type str - Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
- external_
user_ strstate - For an external user invited to the tenant, this property represents the invited user's invitation status. Possible values are
PendingAcceptance
orAccepted
. - fax_
number str - The fax number of the user.
- given_
name str - The given name (first name) of the user.
- id str
- The provider-assigned unique ID for this managed resource.
- im_
addresses Sequence[str] - A list of instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.
- job_
title str - The user’s job title.
- mail str
- The SMTP address for the user.
- mail_
nickname str - The email alias of the user.
- manager_
id str - The object ID of the user's manager.
- mobile_
phone str - The primary cellular telephone number for the user.
- object_
id str - The object ID of the user.
- office_
location str - The office location in the user's place of business.
- onpremises_
distinguished_ strname - The on-premises distinguished name (DN) of the user, synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises_
domain_ strname - The on-premises FQDN, also called dnsDomainName, synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises_
immutable_ strid - The value used to associate an on-premise Active Directory user account with their Azure AD user object.
- onpremises_
sam_ straccount_ name - The on-premise SAM account name of the user.
- onpremises_
security_ stridentifier - The on-premises security identifier (SID), synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises_
sync_ boolenabled - Whether this user is synchronised from an on-premises directory (
true
), no longer synchronised (false
), or has never been synchronised (null
). - onpremises_
user_ strprincipal_ name - The on-premise user principal name of the user.
- other_
mails Sequence[str] - A list of additional email addresses for the user.
- postal_
code str - The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
- preferred_
language str - The user's preferred language, in ISO 639-1 notation.
- proxy_
addresses Sequence[str] - List of email addresses for the user that direct to the same mailbox.
- show_
in_ booladdress_ list - Whether or not the Outlook global address list should include this user.
- state str
- The state or province in the user's address.
- street_
address str - The street address of the user's place of business.
- surname str
- The user's surname (family name or last name).
- usage_
location str - The usage location of the user.
- user_
principal_ strname - The user principal name (UPN) of the user.
- user_
type str - The user type in the directory. Possible values are
Guest
orMember
.
- account
Enabled Boolean - Whether or not the account is enabled.
- age
Group String - The age group of the user. Supported values are
Adult
,NotAdult
andMinor
. - business
Phones List<String> - A list of telephone numbers for the user.
- city String
- The city in which the user is located.
- company
Name String - The company name which the user is associated. This property can be useful for describing the company that an external user comes from.
- consent
Provided StringFor Minor - Whether consent has been obtained for minors. Supported values are
Granted
,Denied
andNotRequired
. - cost
Center String - The cost center associated with the user.
- country String
- The country/region in which the user is located, e.g.
US
orUK
. - creation
Type String - Indicates whether the user account was created as a regular school or work account (
null
), an external account (Invitation
), a local account for an Azure Active Directory B2C tenant (LocalAccount
) or self-service sign-up using email verification (EmailVerified
). - department String
- The name for the department in which the user works.
- display
Name String - The display name of the user.
- division String
- The name of the division in which the user works.
- employee
Id String - The employee identifier assigned to the user by the organisation.
- employee
Type String - Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor.
- external
User StringState - For an external user invited to the tenant, this property represents the invited user's invitation status. Possible values are
PendingAcceptance
orAccepted
. - fax
Number String - The fax number of the user.
- given
Name String - The given name (first name) of the user.
- id String
- The provider-assigned unique ID for this managed resource.
- im
Addresses List<String> - A list of instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.
- job
Title String - The user’s job title.
- mail String
- The SMTP address for the user.
- mail
Nickname String - The email alias of the user.
- manager
Id String - The object ID of the user's manager.
- mobile
Phone String - The primary cellular telephone number for the user.
- object
Id String - The object ID of the user.
- office
Location String - The office location in the user's place of business.
- onpremises
Distinguished StringName - The on-premises distinguished name (DN) of the user, synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Domain StringName - The on-premises FQDN, also called dnsDomainName, synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Immutable StringId - The value used to associate an on-premise Active Directory user account with their Azure AD user object.
- onpremises
Sam StringAccount Name - The on-premise SAM account name of the user.
- onpremises
Security StringIdentifier - The on-premises security identifier (SID), synchronised from the on-premises directory when Azure AD Connect is used.
- onpremises
Sync BooleanEnabled - Whether this user is synchronised from an on-premises directory (
true
), no longer synchronised (false
), or has never been synchronised (null
). - onpremises
User StringPrincipal Name - The on-premise user principal name of the user.
- other
Mails List<String> - A list of additional email addresses for the user.
- postal
Code String - The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
- preferred
Language String - The user's preferred language, in ISO 639-1 notation.
- proxy
Addresses List<String> - List of email addresses for the user that direct to the same mailbox.
- show
In BooleanAddress List - Whether or not the Outlook global address list should include this user.
- state String
- The state or province in the user's address.
- street
Address String - The street address of the user's place of business.
- surname String
- The user's surname (family name or last name).
- usage
Location String - The usage location of the user.
- user
Principal StringName - The user principal name (UPN) of the user.
- user
Type String - The user type in the directory. Possible values are
Guest
orMember
.
Package Details
- Repository
- Azure Active Directory (Azure AD) pulumi/pulumi-azuread
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuread
Terraform Provider.