Relationship between CMDB and Intune
To perform the integration, you need to relate the Aranda CMDB device fields to the device fields in Intune using the “ci” section of the configuration file.
JSON Structure
{
"ci": [
{
"reference": "",
"definition": {
"name": {
"type": "",
"key": ""
},
"brand": {
"type": "",
"key": ""
},
"model": {
"type": "",
"key": ""
},
"assetTag": {
"type": "",
"key": ""
},
"serial": {
"type": "",
"key": ""
},
"responsible": {
"SearchBy": [
"Email"
],
"type": "",
"key": "",
"DefaultValue": {
"id": 0
}
}
}
}
]
}
Properties :
| Properties | Description |
|---|---|
| Reference | Unique identifier to create a relationship between the concepts name, brand, model, assetTag, serial, responsible see |
| Definition | Allows you to relate CI fields in the CMDB to CI fields in Intune |
Definition
To perform the integration, relate the CI fields in Aranda CMDB to the Intune CI using the “definition” section of the configuration file. These properties in CMDB can be associated with fields in Intune.
Properties:
| Properties | Description | |
|---|---|---|
| Name | Represents the field Name of the CI in Aranda and allows you to relate this field to an equivalent field of the CI in Intune. | |
| brand | Represents the field brand of the CI in Aranda and allows you to relate this field to an equivalent field of the CI in Intune. | Internal properties |
| model | Represents the field model of the CI in Aranda and allows you to relate this field to an equivalent field of the CI in Intune. | Internal properties |
| assetTag | Represents the field assetTag of the CI in Aranda and allows you to relate this field to an equivalent field of the CI in Intune. | Internal properties |
| serial | Represents the field serial of the CI in Aranda and allows you to relate this field to an equivalent field of the CI in Intune. | Internal properties |
| responsible | Represents the field responsible of the CI in Aranda and allows you to relate this field to an equivalent field of the CI in Intune. | Internal properties |
Ci in CMDB: Reference illustration, IC information in the CMDB

Ci en Intune: Ilustración de referencia, información básica del ci en la plataforma Intune

Propiedades internas
{
"key": "",
"type": "",
"searchBy": [ "Email" ],
"defaultValue": {
"id": 0,
"value": ""
}
}
Where:
| Properties | Description | |
|---|---|---|
| type | Association type, the supported types are Value, Mapper, FieldValue. | FieldValue, Value, Mapper. |
| Key | Name of the field/property in Intune where the information will be searched. | Intune properties |
| searchBy | Field search property, only applies to the responsible field | see |
| defaultValue | Allows you to add a default value. | see |
Types of relationship or association of fields
The following types of association determine how the values of the properties of the ci will be obtained.
| Name | Description | Example |
|---|---|---|
| Value | Allows you to assign a value to the selected field through the configuration file. The value is required to be within the value ratio properties | See example |
| Mapper | Seeks to associate and/or relate the values of the CMDB IC with the values of the Intune CI in the indicated field, the value ratio is made 1 to 1, the assignment is not allowed to repeat | See example |
| FieldValue | Property values are sent directly between platforms without any association/relationship | See example |
Example type Value
- Set the value “computer” to the Reference.
- In the definition of the Ci Take the property Applicant (model) and assign the association type as Value.
{
"ci": [
{
"reference": "computer",
"definition": {
"model": {
"type": "Value"
}
}
}
]
}
- The relationship implies that a value must be assigned in a common way for all the Ci, this is accomplished by using the “model” property, as shown below:
{
"ci": [
{
"reference": "computer",
"definition": {
"model": {
"type": "Value"
}
}
}
],
"model": [
{
"reference": "",
"id": 10
}
]
}
- Assign a value to the property “model.reference”:
{
"case": [
{
"reference": "computer",
"definition": {
"applicant": {
"type": "Value"
}
}
}
],
"applicant": [
{
"reference": "computer",
"id": 10
}
]
}
⚐ Note: The Ci associated with the “reference” “computer”, in CMDB they will be assigned the applicant with ID 10.
Mapper type example
- Set the value “computer” to the Reference.
- In the definition of the Ci Take the property Applicant (model).
- “type”: Assign the association type as Mapper.
- “key”: Name the property in Intune as modelIntune (Intune properties).
{
"ci": [
{
"reference": "computer",
"definition": {
"model": {
"type": "Mapper",
"key": "modelIntune"
}
}
}
]
}
5. The relationship implies that you need to associate your CMDB models with your Intune models, we recommend that you write the Id of the model to be related, as shown below:
{
"case": [
{
"reference": "computer",
"definition": {
"model": {
"type": "Mapper"
}
}
}
],
"model": [
{
"reference": "computer",
"mapping": [
{
"id": 5,
"value": "hp probook"
}
]
}
]
}
⚐ Note: Relates model with CMDB ID “5” to model “hp probook” in Intune
Search Property
The searchBy property is for the responsible field.
This tag allows you to define the property by which the user search will be performed on the CMDB and Intune platforms; the supported property is “Email”.
Use Case
For proper use of the “Email” search property, users of the two platforms must have the same email per user. The following is an example of the responsible property with the “Email” search option.
{
"responsible": {
"type": "FieldValue",
"key": "user",
"searchBy": [ "Email" ]
}
}
defaultValue property
- The property defaultValue allows you to add default values, if you add this property with the value of defaultValue.id for the CI in Aranda.
- You can only add a default value if the mapping type is “Mapper” or “FieldValue”.
Example:
- Set the value “computer” to the Reference.
- In the definition of the Ci Take Responsible Property (responsible).
- “type”: Assign the association type as FieldValue.
- “key”: Name the property in Intune as userPrincipalName (Intune properties).
- “defaultValue”: Assign the defaultValue.
{
"ci": [
{
"reference": "computer",
"definition": {
"responsible": {
"key": "userPrincipalName",
"type": "FieldValue",
"defaultValue": {
"id": 222
}
}
}
}
]
}
FieldValue Example
- Set the value “computer” to the Reference.
- In the definition of the Ci Take the property model (model).
- “type”: Assign the association type as FieldValue.
- “key”: Name the property in Intune as model (Intune properties).
{
"ci": [
{
"reference": "computer",
"definition": {
"model": {
"type": "FieldValue",
"key": "model"
}
}
}
]
}