# Schema Reference

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 SaaS connector uses the following default correlation and object configurations.

## Default Correlation Configuration

Prior to aggregation, you can map account attributes with their corresponding identity attribute in accordance with your requirements.

By default, the following correlation configuration is present in your source:

Before you aggregate accounts from this source, you can map account attributes with their corresponding identity attributes based on your requirements.

You can customize the correlation configuration. Refer to [Assigning Source Accounts to Identities](<https://documentation.sailpoint.com/saas/help/accounts/correlation.html>) for more information.

When you first create the Microsoft Dynamics 365 Business Central Online SaaS source, the default correlation mapping is:

| Identity Attribute | Operation | Account Attribute |
| --- | --- | --- |
| Display Name | Equals | displayName |

## 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 (deprecated for v25 and above) |
| objectId | permissionSet |
| objectId | securityGroup |

### Default Account Attributes

The following lists the account attributes:

| Attribute Name | Description |
| --- | --- |
| securityGroups | securityGroup membership of the user. |
| 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 (deprecated for v25 and above) | 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 (deprecated for v25 and above)
- 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. |
