## Entra Schema ### EntraTenant Representation of an Entra (formerly Azure AD) Tenant. |Field | Description| |-------|-------------| |id | Entra Tenant ID (GUID)| |created_date_time | Date and time when the tenant was created| |default_usage_location | Default location for usage reporting| |deleted_date_time | Date and time when the tenant was deleted (if applicable)| |display_name | Display name of the tenant| |marketing_notification_emails | List of email addresses for marketing notifications| |mobile_device_management_authority | Mobile device management authority for the tenant| |on_premises_last_sync_date_time | Last time the tenant was synced with on-premises directory| |on_premises_sync_enabled | Whether on-premises directory sync is enabled| |partner_tenant_type | Type of partner tenant| |postal_code | Postal code of the tenant's address| |preferred_language | Preferred language for the tenant| |state | State/province of the tenant's address| |street | Street address of the tenant| |tenant_type | Type of tenant (e.g., 'AAD')| ### EntraUser Representation of an Entra [User](https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0&tabs=http). |Field | Description| |-------|-------------| |id | Entra User ID (GUID)| |user_principal_name | User Principal Name (UPN) of the user| |display_name | Display name of the user| |given_name | Given (first) name of the user| |surname | Surname (last name) of the user| |email | Primary email address of the user| |other_mails | Additional email addresses of the user| |preferred_language | Preferred language of the user| |preferred_name | Preferred name of the user| |state | State/province of the user's address| |usage_location | Location for usage reporting| |user_type | Type of user| |show_in_address_list | Whether the user appears in address lists| |sign_in_sessions_valid_from_date_time | Date and time from which sign-in sessions are valid| |security_identifier | Security identifier of the user| |account_enabled | Whether the user account is enabled| |city | City of the user's address| |company_name | Company name of the user| |consent_provided_for_minor | Whether consent was provided for a minor| |country | Country of the user's address| |created_date_time | Date and time when the user was created| |creation_type | Type of user creation| |deleted_date_time | Date and time when the user was deleted (if applicable)| |department | Department of the user| |employee_id | Employee ID of the user| |employee_type | Type of employee| |external_user_state | State of external user| |external_user_state_change_date_time | Date and time when external user state changed| |hire_date | Hire date of the user| |is_management_restricted | Whether management is restricted| |is_resource_account | Whether this is a resource account| |job_title | Job title of the user| |last_password_change_date_time | Date and time of last password change| |mail_nickname | Mail nickname of the user| |office_location | Office location of the user| |on_premises_distinguished_name | Distinguished name in on-premises directory| |on_premises_domain_name | Domain name in on-premises directory| |on_premises_immutable_id | Immutable ID in on-premises directory| |on_premises_last_sync_date_time | Last time the user was synced with on-premises directory| |on_premises_sam_account_name | SAM account name in on-premises directory| |on_premises_security_identifier | Security identifier in on-premises directory| |on_premises_sync_enabled | Whether on-premises directory sync is enabled| |on_premises_user_principal_name | User Principal Name in on-premises directory| #### Relationships - All Entra users are linked to an Entra Tenant ```cypher (:EntraUser)-[:RESOURCE]->(:EntraTenant) ```