# Schema Attributes

The application schema is used to configure the objects returned from a connector.

> [!NOTE]
>
> - The **Account Schema** tab is used to define the attributes for each object type in the application being configured. The schema attributes can be defined as **Entitlement** or **Multi-Valued**. Refer to [Managing Source Account Schemas](<https://documentation.sailpoint.com/saas/help/accounts/schema.html>) for more information.
> - The schema attributes that are not present by [default](<#default-account-schema>) must be defined as strings if not specified.

The Microsoft Dynamics 365 Business Central Online connector uses the following default correlation and object configurations.

## Default Account Schema

Each source supports a variety of details, or attributes, about each user who has an account, such as their name, email address, manager name, and location.

The set of account attributes each source stores and how they're organized is known as the account's *schema*. To best represent your data, you can configure sources to use an account schema matching the one you use in the external connector. Refer to [Managing Source Account Schemas](<https://documentation.sailpoint.com/saas/help/accounts/schema.html>) for more information.

### Default Account ID

SailPoint requires that certain attributes remain in your configuration. These attributes are referred to as *account IDs*.

> [!CAUTION]
>
> Changing the attribute marked as the account ID after aggregating accounts can result in duplicate accounts being created. To avoid this, either reset the accounts on this source before editing the account ID attribute or edit the account ID attribute before aggregating accounts.
>
> To resolve issues caused by changing account IDs, reconfigure them to their default values.

The following table lists the default account IDs for this connector:

| Account ID | Schema Object Type |
| --- | --- |
| userSecurityId | Account |
| objectId | userGroup |
| objectId | permissionSet |
| id | securityGroup |

### Default Account Attributes

The following lists the account attributes:

| Attribute Name | Description |
| --- | --- |
| displayName | Entra ID account's first name and last name. |
| userName | The Business Central user name. |
| state | The login state of the user. For example, Enabled or Disabled. |
| userGroups | User group memberships of the user. |
| userPermissions | Permission sets that are assigned to the user. |
| userSecurityId | The unique identifier for the user. This is an Account ID which must not be changed. |

## Group Attributes

This section describes the group attributes for the following Native Object types:

- userGroup
- permissionSet
- securityGroup

### Native Object Type = userGroup

| Attribute Name | Description |
| --- | --- |
| objectId | Customized unique identifier for the group. This is an Account ID which must not be changed. |
| code | Unique identifier for the group. |
| assignToAllNewUsers | A flag to indicate assignment of all new users to the user group. |
| defaultProfileID | Default Profile ID. |
| displayName | The display name for the group. |

### Native Object Type = permissionSet

| Attribute Name | Description |
| --- | --- |
| objectId | Customized unique identifier for the permissionSet. This is an Account ID which must not be changed. |
| appId | ID of the associated extension application. |
| displayName | The display name for the permissionSet. |
| extensionName | The Extension name of the permissionSet. |
| permissionId | The Unique identifier for the permissionSet. |
| scope | The scope of the permissionSet Object. |

### Native Object Type = securityGroup

| Attribute Name | Description |
| --- | --- |
| id | The unique ID of the security group. |
| code | The code of the security group. |
| groupName | The group name of the security group. |
