user resource type

Namespace: microsoft.graph

Represents an Azure AD user account. Inherits from directoryObject.

This resource supports:

Methods

Method Return Type Description
List users user collection Get a list of user objects.
Create user user Create a new user object.
Get user user Read properties and relationships of user object.
Update user user Update user object.
Delete user None Delete user object.
Get delta user collection Get incremental changes for users.
changePassword None Update your own password.
App role assignments
List appRoleAssignments appRoleAssignment collection Get the apps and app roles which this user has been assigned.
Add appRoleAssignment appRoleAssignment Assign an app role to this user.
Remove appRoleAssignment None Remove an app role assignment from this user.
Calendar
Create calendar Calendar Create a new Calendar by posting to the calendars collection.
Create calendarGroup CalendarGroup Create a new CalendarGroup by posting to the calendarGroups collection.
Create event event Create a new event by posting to the events collection.
findMeetingTimes meetingTimeSuggestionsResult Find time and locations to meet based on attendee availability, location, or time constraints.
getSchedule scheduleInformation Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period.
List calendars calendar collection Get a Calendar object collection.
List calendarGroups calendarGroup collection Get a CalendarGroup object collection.
List calendarView event collection Get a Event object collection.
List events event collection Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters.
reminderView Reminder collection Return a list of calendar reminders within the start and end times specified.
Contacts
Create contact contact Create a new Contact by posting to the contacts collection.
Create contactFolder contactFolder Create a new ContactFolder by posting to the contactFolders collection.
List contacts contact collection Get a contact collection from the default Contacts folder of the signed-in user.
List contactFolders contactFolder collection Get the contact folder collection in the default Contacts folder of the signed-in user.
Directory objects
assignLicense user Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription.
checkMemberGroups String collection Check for membership in a list of groups. The check is transitive.
checkMemberObjects String collection Check for membership in a list of group, directory role, or administrative unit objects. The function is transitive.
exportPersonalData None Submits a data policy operation request, made by a company administrator to export an organizational user's data.
getByIds String collection Returns the directory objects specified in a list of ids.
getMemberGroups String collection Return all the groups that the user is a member of. The check is transitive.
getMemberObjects String collection Return all of the groups and directory roles that the user is a member of. The check is transitive.
List createdObjects directoryObject collection Get the directory objects created by the user from the createdObjects navigation property.
List licenseDetails licenseDetails collection Get a licenseDetails object collection.
List ownedDevices directoryObject collection Get the devices that are owned by the user from the ownedDevices navigation property.
List ownedObjects directoryObject collection Get the directory objects that are owned by the user from the ownedObjects navigation property.
List registeredDevices directoryObject collection Get the devices that are retistered for the user from the registeredDevices navigation property.
reprocessLicense user Reprocess subscription assignments for the user.
revokeSignInSessions None Revokes all the user's refresh and session tokens issued to applications, by resetting the signInSessionsValidFromDateTime user property to the current date-time. This forces the user to sign in to those applications again.
Drive
Get drive drive Retrieve the properties and relationships of a Drive resource.
List children DriveItems Return a collection of DriveItems in the children relationship of a DriveItem.
Groups
List joinedTeams team collection Get the Microsoft Teams teams that the user is a direct member of from the joinedTeams navigation property.
List memberOf directoryObject collection Get the groups and directory roles that the user is a direct member of from the memberOf navigation property.
List transitive memberOf directoryObject collection List the groups and directory roles that the user is a member of. This operation is transitive and includes the groups that the user is a nested member of.
Mail
Create inferenceClassificationOverride Create a Focused Inbox override for a sender identified by an SMTP address.
Create mailFolder mailFolder Create a new MailFolder by posting to the mailFolders collection.
Create message message Create a new Message by posting to the messages collection.
Create messageRule messageRule Create a messageRule object by specifying a set of conditions and actions.
getMailTips mailTips collection Return the MailTips of one or more recipients as available to the signed-in user.
List mailFolders mailFolder collection Get the mail folder collection under the root folder of the signed-in user.
List messages message collection Get all the messages in the signed-in user's mailbox.
List overrides inferenceClassificationOverride collection Get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways.
List rules messageRule collection Get all the messageRule objects defined for the user's inbox.
Send mail None Send the message specified in the request body.
Notes
Create notebook notebook Create a new OneNote notebook.
List notebooks notebook collection Retrieve a list of notebook objects.
Open extensions
Create open extension openTypeExtension Create an open extension and add custom properties to a new or existing resource.
Get open extension openTypeExtension collection Get an open extension identified by the extension name.
Org hierarchy
Assign manager directoryObject Assign a user or an organizational contact as this user's manager.
Get manager directoryObject Get the user or organizational contact that is this user's manager from the manager navigation property.
List directReports directoryObject collection Get the users and contacts that report to the user from the directReports navigation property.
Outlook settings
Create Outlook category outlookCategory Create an outlookCategory object in the user's master list of categories.
Get supportedLanguages localeInfo collection Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server.
Get supportedTimeZones [timeZoneInformation](timezoneinformation.md collection) Get the list of time zones that are supported for the user, as configured on the user's mailbox server.
Get user mailbox settings mailboxSettings Get the user's mailboxSettings.
List Outlook categories outlookCategory collection Get all the categories that have been defined for the user.
Translate Exchange Ids convertIdResult collection Translate identifiers of Outlook-related resources between formats.
Update user mailbox settings mailboxSettings Enable, configure, or disable one or more user's mailboxSettings.
Photo
Get photo profilePhoto Get the specified profilePhoto or its metadata (profilePhoto properties).
Update profilephoto None Update the photo for any user in the tenant including the signed-in user, or the specified group or contact.
Planner
List tasks plannerTask collection Get plannerTasks assigned to the user.
Schema extensions
Add schema extension values None Create a schema extension definition and then use it to add custom typed data to a resource.
Teamwork
List apps installed for user userScopeTeamsAppInstallation collection Lists apps installed in the personal scope of a user.
Gets the installed app for user userScopeTeamsAppInstallation Lists the specified app installed in the personal scope of a user.
Add app for user None Adds (installs) an app in the personal scope of a user.
Remove app for user None Removes (uninstalls) an app in the personal scope of a user.
Upgrade app installed for user None Upgrades to the latest version of the app installed in the personal scope of a user.
Get chat between user and app Chat Lists one-on-one chat between the user and the app.
To-do tasks
Create task todoTask Create a todoTask in the specified task list.
Create task list todoTaskList Create a To Do task list in the user's mailbox.
List tasks todoTask collection Get all the todoTask resources in the specified list.
List task lists todoTaskList collection Get all the task lists in the user's mailbox.
User settings
Get settings userSettings Read the user and organization settings object.
Update settings userSettings Update the properties of the settings object.

Properties

Important

Specific usage of $filter and the $search query parameter is supported only when you use the ConsistencyLevel header set to eventual and $count. For more information, see Advanced query capabilities on Azure AD directory objects.

Property Type Description
aboutMe String A freeform text entry field for the user to describe themselves. Returned only on $select.
accountEnabled Boolean true if the account is enabled; otherwise, false. This property is required when a user is created.

Returned only on $select. Supports $filter (eq, ne, NOT, and in).
ageGroup ageGroup Sets the age group of the user. Allowed values: null, minor, notAdult and adult. Refer to the legal age group property definitions for further information.

Returned only on $select. Supports $filter (eq, ne, NOT, and in).
assignedLicenses assignedLicense collection The licenses that are assigned to the user, including inherited (group-based) licenses. Not nullable. Returned only on $select. Supports $filter (eq and NOT).
assignedPlans assignedPlan collection The plans that are assigned to the user. Read-only. Not nullable.

Returned only on $select. Supports $filter (eq and NOT).
birthday DateTimeOffset The birthday of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

Returned only on $select.
businessPhones String collection The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. Read-only for users synced from on-premises directory.

Returned by default. Supports $filter (eq and NOT).
city String The city in which the user is located. Maximum length is 128 characters.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
companyName String The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length of the company name is 64 characters.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
consentProvidedForMinor consentProvidedForMinor Sets whether consent has been obtained for minors. Allowed values: null, granted, denied and notRequired. Refer to the legal age group property definitions for further information.

Returned only on $select. Supports $filter (eq, ne, NOT, and in).
country String The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
createdDateTime DateTimeOffset The created date of the user object. Read-only.

Returned only on $select. Supports $filter (eq, ne, NOT , ge, le, and in operators).
creationType String Indicates whether the user account was created through one of the following methods:
  • As a regular school or work account (null).
  • As an external account (Invitation).
  • As a local account for an Azure Active Directory B2C tenant (LocalAccount).
  • Through self-service sign-up by an internal user using email verification (EmailVerified).
  • Through self-service sign-up by an external user signing up through a link that is part of a user flow (SelfServiceSignUp).

Read-only.
Returned only on $select. Supports $filter (eq, ne, NOT, and in).
deletedDateTime DateTimeOffset The date and time the user was deleted.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, and in).
department String The name for the department in which the user works. Maximum length is 64 characters.

Returned only on $select. Supports $filter (eq, ne, NOT , ge, le, and in operators).
displayName String The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters.

Returned by default. Supports $filter (eq, ne, NOT , ge, le, in, startsWith), $orderBy, and $search.
employeeHireDate DateTimeOffset The date and time when the user was hired or will start work in case of a future hire.

Returned only on $select. Supports $filter (eq, ne, NOT , ge, le, in).
employeeId String The employee identifier assigned to the user by the organization.

Returned only on $select. Supports $filter (eq, ne, NOT , ge, le, in, startsWith).
employeeOrgData employeeOrgData Represents organization data (e.g. division and costCenter) associated with a user.

Returned only on $select. Supports $filter (eq, ne, NOT , ge, le, in).
employeeType String Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Returned only on $select. Supports $filter (eq, ne, NOT , ge, le, in, startsWith).
externalUserState String For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users.

Returned only on $select. Supports $filter (eq, ne, NOT , in).
externalUserStateChangeDateTime DateTimeOffset Shows the timestamp for the latest change to the externalUserState property.

Returned only on $select. Supports $filter (eq, ne, NOT , in).
faxNumber String The fax number of the user.

Returned only on $select. Supports $filter (eq, ne, NOT , ge, le, in, startsWith).
givenName String The given name (first name) of the user. Maximum length is 64 characters.

Returned by default. Supports $filter (eq, ne, NOT , ge, le, in, startsWith).
hireDate DateTimeOffset The hire date of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

Returned only on $select.
Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs.
id String The unique identifier for the user. Should be treated as an opaque identifier. Inherited from directoryObject. Key. Not nullable. Read-only.

Returned by default. Supports $filter (eq, ne, NOT, in).
identities objectIdentity collection Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value.

Returned only on $select. Supports $filter (eq) only where the signInType is not userPrincipalName.
imAddresses String collection The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only.

Returned only on $select. Supports $filter (eq, NOT, ge, le, startsWith).
interests String collection A list for the user to describe their interests.

Returned only on $select.
isResourceAccount Boolean Do not use – reserved for future use.
jobTitle String The user's job title. Maximum length is 128 characters.

Returned by default. Supports $filter (eq, ne, NOT , ge, le, in, startsWith).
lastPasswordChangeDateTime DateTimeOffset The time when this Azure AD user last changed their password. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

Returned only on $select.
legalAgeGroupClassification legalAgeGroupClassification Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, minorWithOutParentalConsent, minorWithParentalConsent, minorNoParentalConsentRequired, notAdult and adult. Refer to the legal age group property definitions for further information.

Returned only on $select.
licenseAssignmentStates licenseAssignmentState collection State of license assignments for this user. Read-only.

Returned only on $select.
mail String The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com.
Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. For Azure AD B2C accounts, this property can be updated up to only ten times with unique SMTP addresses. This property cannot contain accent characters.

Returned by default. Supports $filter (eq, ne, NOT, ge, le, in, startsWith, endsWith).
mailboxSettings mailboxSettings Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone.

Returned only on $select.
mailNickname String The mail alias for the user. This property must be specified when a user is created. Maximum length is 64 characters.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
mobilePhone String The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Maximum length is 64 characters.

Returned by default. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
mySite String The URL for the user's personal site.

Returned only on $select.
officeLocation String The office location in the user's place of business.

Returned by default. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
onPremisesDistinguishedName String Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.

Returned only on $select.
onPremisesDomainName String Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.

Returned only on $select.
onPremisesExtensionAttributes onPremisesExtensionAttributes Contains extensionAttributes 1-15 for the user. Note that the individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update. These extension attributes are also known as Exchange custom attributes 1-15.

Returned only on $select. Supports $filter (eq, NOT, ge, le, in).
onPremisesImmutableId String This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters cannot be used when specifying this property.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in)..
onPremisesLastSyncDateTime DateTimeOffset Indicates the last time at which the object was synced with the on-premises directory; for example: 2013-02-16T03:04:54Z. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in).
onPremisesProvisioningErrors onPremisesProvisioningError collection Errors when using Microsoft synchronization product during provisioning.

Returned only on $select. Supports $filter (eq, NOT, ge, le).
onPremisesSamAccountName String Contains the on-premises samAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
onPremisesSecurityIdentifier String Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only.

Returned only on $select.
onPremisesSyncEnabled Boolean true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only.

Returned only on $select. Supports $filter (eq, ne, NOT, in).
onPremisesUserPrincipalName String Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
otherMails String collection A list of additional email addresses for the user; for example: ["bob@contoso.com", "Robert@fabrikam.com"].
NOTE: This property cannot contain accent characters.

Returned only on $select. Supports $filter (eq, NOT, ge, le, in, startsWith).
passwordPolicies String Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword.

Returned only on $select. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, NOT).
passwordProfile passwordProfile Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. NOTE: For Azure B2C tenants, the forceChangePasswordNextSignIn property should be set to false and instead use custom policies and user flows to force password reset at first logon. See Force password reset at first logon.

Returned only on $select. Supports $filter (eq, ne, NOT, in).
pastProjects String collection A list for the user to enumerate their past projects.

Returned only on $select.
postalCode 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. Maximum length is 40 characters.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
preferredLanguage String The preferred language for the user. Should follow ISO 639-1 Code; for example en-US.

Returned by default. Supports $filter (eq, ne, NOT, ge, le, in, startsWith)
preferredName String The preferred name for the user.

Returned only on $select.
provisionedPlans provisionedPlan collection The plans that are provisioned for the user. Read-only. Not nullable.

Returned only on $select. Supports $filter (eq, NOT, ge, le).
proxyAddresses String collection For example: ["SMTP: bob@contoso.com", "smtp: bob@sales.contoso.com"]. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only, Not nullable.

Returned only on $select. Supports $filter (eq, NOT, ge, le, startsWith).
refreshTokensValidFromDateTime DateTimeOffset Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint.

Returned only on $select. Read-only.
responsibilities String collection A list for the user to enumerate their responsibilities.

Returned only on $select.
schools String collection A list for the user to enumerate the schools they have attended.

Returned only on $select.
showInAddressList Boolean true if the Outlook global address list should contain this user, otherwise false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false.

Returned only on $select. Supports $filter (eq, ne, NOT, in).
skills String collection A list for the user to enumerate their skills.

Returned only on $select.
signInSessionsValidFromDateTime DateTimeOffset Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset.

Returned only on $select.
state String The state or province in the user's address. Maximum length is 128 characters.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
streetAddress String The street address of the user's place of business. Maximum length is 1024 characters.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
surname String The user's surname (family name or last name). Maximum length is 64 characters.

Returned by default. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
usageLocation String A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable.

Returned only on $select. Supports $filter (eq, ne, NOT, ge, le, in, startsWith).
userPrincipalName String The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.
NOTE: This property cannot contain accent characters.

Returned by default. Supports $filter (eq, ne, NOT, ge, le, in, startsWith, endsWith) and $orderBy.
userType String A string value that can be used to classify user types in your directory, such as Member and Guest.

Returned only on $select. Supports $filter (eq, ne, NOT, in).

This section explains how the three age group properties (legalAgeGroupClassification, ageGroup and consentProvidedForMinor) are used by Azure AD administrators and enterprise application developers to meet age-related regulations:

  • The legalAgeGroupClassification property is read-only. It is used by enterprise application developers to ensure the correct handling of a user based on their legal age group. It is calculated based on the user's ageGroup and consentProvidedForMinor properties.
  • ageGroup and consentProvidedForMinor are optional properties used by Azure AD administrators to help ensure the use of an account is handled correctly based on the age-related regulatory rules governing the user's country or region.

For example: Cameron is administrator of a directory for an elementary school in Holyport in the United Kingdom. At the beginning of the school year he uses the admissions paperwork to obtain consent from the minor's parents based on the age-related regulations of the United Kingdom. The consent obtained from the parent allows the minor's account to be used by Holyport school and Microsoft apps. Cameron then creates all the accounts and sets ageGroup to minor and consentProvidedForMinor to granted. Applications used by his students are then able to suppress features that are not suitable for minors.

legalAgeGroupClassification values

Member Description
null Default value, no ageGroup has been set for the user.
minorWithoutParentalConsent (Reserved for future use)
minorWithParentalConsent The user is considered a minor based on the age-related regulations of their country or region and the administrator of the account has obtained appropriate consent from a parent or guardian.
adult The user considered an adult based on the age-related regulations of their country or region.
notAdult The user is from a country or region that has additional age-related regulations (such as the United States, United Kingdom, European Union or South Korea), and the user's age is between a minor and an adult age (as stipulated based on country or region). Generally, this means that teenagers are considered as notAdult in regulated countries.
minorNoParentalConsentRequired The user is a minor but is from a country or region that has no age-related regulations.

ageGroup values

Member Description
null Default value, no ageGroup has been set for the user.
minor The user is considered a minor.
notAdult The user is from a country that has statutory regulations (such as the United States, United Kingdom, European Union or South Korea) and user's age is more than the upper limit of kid age (as per country) and less than lower limit of adult age (as stipulated based on country or region). So basically, teenagers are considered as notAdult in regulated countries.
adult The user should be a treated as an adult.

consentProvidedForMinor values

Member Description
null Default value, no consentProvidedForMinor has been set for the user.
granted Consent has been obtained for the user to have an account.
denied Consent has not been obtained for the user to have an account.
notRequired The user is from a location that does not require consent.

Relationships

Relationship Type Description
agreementAcceptances agreementAcceptance collection The user's terms of use acceptance statuses. Read-only. Nullable.
activities userActivity collection The user's activities across devices. Read-only. Nullable.
appRoleAssignments appRoleAssignment collection Represents the app roles a user has been granted for an application. Supports $expand.
calendar calendar The user's primary calendar. Read-only.
calendarGroups calendarGroup collection The user's calendar groups. Read-only. Nullable.
calendarView event collection The calendar view for the calendar. Read-only. Nullable.
calendars calendar collection The user's calendars. Read-only. Nullable.
contactFolders contactFolder collection The user's contacts folders. Read-only. Nullable.
contacts contact collection The user's contacts. Read-only. Nullable.
createdObjects directoryObject collection Directory objects that were created by the user. Read-only. Nullable.
directReports directoryObject collection The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand.
drive drive The user's OneDrive. Read-only.
drives drive collection A collection of drives available for this user. Read-only.
events event collection The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable.
extensions extension collection The collection of open extensions defined for the user. Read-only. Nullable.
inferenceClassification inferenceClassification Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance.
insights officeGraphInsights Read-only. Nullable.
licenseDetails licenseDetails collection A collection of this user's license details. Read-only.
mailFolders mailFolder collection The user's mail folders. Read-only. Nullable.
manager directoryObject The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.). Supports $expand.
memberOf directoryObject collection The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand.
messages message collection The messages in a mailbox or folder. Read-only. Nullable.
onenote onenote Read-only.
outlook outlookUser Read-only.
ownedDevices directoryObject collection Devices that are owned by the user. Read-only. Nullable. Supports $expand.
ownedObjects directoryObject collection Directory objects that are owned by the user. Read-only. Nullable. Supports $expand.
people person collection People that are relevant to the user. Read-only. Nullable.
photo profilePhoto The user's profile photo. Read-only.
planner plannerUser Entry-point to the Planner resource that might exist for a user. Read-only.
registeredDevices directoryObject collection Devices that are registered for the user. Read-only. Nullable. Supports $expand.
todo todo Represents the To Do services available to a user.

JSON representation

Here is a JSON representation of the resource

{
  "aboutMe": "string",
  "accountEnabled": true,
  "ageGroup": "string",
  "assignedLicenses": [{"@odata.type": "microsoft.graph.assignedLicense"}],
  "assignedPlans": [{"@odata.type": "microsoft.graph.assignedPlan"}],
  "birthday": "String (timestamp)",
  "businessPhones": ["string"],
  "city": "string",
  "companyName": "string",
  "consentProvidedForMinor": "string",
  "country": "string",
  "createdDateTime": "String (timestamp)",
  "creationType": "string",
  "department": "string",
  "displayName": "string",
  "employeeHireDate": "2020-01-01T00:00:00Z",
  "employeeId": "string",
  "employeeOrgData": {"@odata.type": "microsoft.graph.employeeOrgData"},
  "employeeType": "string",
  "faxNumber" : "string",
  "givenName": "string",
  "hireDate": "String (timestamp)",
  "id": "string (identifier)",
  "identities": [{"@odata.type": "microsoft.graph.objectIdentity"}],
  "imAddresses": ["string"],
  "interests": ["string"],
  "isResourceAccount": false,
  "jobTitle": "string",
  "legalAgeGroupClassification": "string",
  "licenseAssignmentStates": [{"@odata.type": "microsoft.graph.licenseAssignmentState"}],
  "lastPasswordChangeDateTime": "String (timestamp)",
  "mail": "string",
  "mailboxSettings": {"@odata.type": "microsoft.graph.mailboxSettings"},
  "mailNickname": "string",
  "mobilePhone": "string",
  "mySite": "string",
  "officeLocation": "string",
  "onPremisesDistinguishedName": "string",
  "onPremisesDomainName": "string",
  "onPremisesExtensionAttributes": {"@odata.type": "microsoft.graph.onPremisesExtensionAttributes"},
  "onPremisesImmutableId": "string",
  "onPremisesLastSyncDateTime": "String (timestamp)",
  "onPremisesProvisioningErrors": [{"@odata.type": "microsoft.graph.onPremisesProvisioningError"}],
  "onPremisesSamAccountName": "string",
  "onPremisesSecurityIdentifier": "string",
  "onPremisesSyncEnabled": true,
  "onPremisesUserPrincipalName": "string",
  "otherMails": ["string"],
  "passwordPolicies": "string",
  "passwordProfile": {"@odata.type": "microsoft.graph.passwordProfile"},
  "pastProjects": ["string"],
  "postalCode": "string",
  "preferredLanguage": "string",
  "preferredName": "string",
  "provisionedPlans": [{"@odata.type": "microsoft.graph.provisionedPlan"}],
  "proxyAddresses": ["string"],
  "responsibilities": ["string"],
  "schools": ["string"],
  "showInAddressList": true,
  "signInSessionsValidFromDateTime": "String (timestamp)",
  "skills": ["string"],
  "state": "string",
  "streetAddress": "string",
  "surname": "string",
  "usageLocation": "string",
  "userPrincipalName": "string",
  "userType": "string",

  "calendar": { "@odata.type": "microsoft.graph.calendar" },
  "calendarGroups": [{ "@odata.type": "microsoft.graph.calendarGroup" }],
  "calendarView": [{ "@odata.type": "microsoft.graph.event" }],
  "calendars": [ {"@odata.type": "microsoft.graph.calendar"} ],
  "contacts": [ { "@odata.type": "microsoft.graph.contact" } ],
  "contactFolders": [ { "@odata.type": "microsoft.graph.contactFolder" } ],
  "createdObjects": [ { "@odata.type": "microsoft.graph.directoryObject" } ],
  "directReports": [ { "@odata.type": "microsoft.graph.directoryObject" } ],
  "drive": { "@odata.type": "microsoft.graph.drive" },
  "drives": [ { "@odata.type": "microsoft.graph.drive" } ],
  "events": [ { "@odata.type": "microsoft.graph.event" } ],
  "inferenceClassification": { "@odata.type": "microsoft.graph.inferenceClassification" },
  "mailFolders": [ { "@odata.type": "microsoft.graph.mailFolder" } ],
  "manager": { "@odata.type": "microsoft.graph.directoryObject" },
  "memberOf": [ { "@odata.type": "microsoft.graph.directoryObject" } ],
  "messages": [ { "@odata.type": "microsoft.graph.message" } ],
  "outlook": { "@odata.type": "microsoft.graph.outlookUser" },
  "ownedDevices": [ { "@odata.type": "microsoft.graph.directoryObject" } ],
  "ownedObjects": [ { "@odata.type": "microsoft.graph.directoryObject" } ],
  "photo": { "@odata.type": "microsoft.graph.profilePhoto" },
  "registeredDevices": [ { "@odata.type": "microsoft.graph.directoryObject" } ]
}

See also