EN
Español
English
Português
    Category

    Relate additional states and fields to Intune CI properties

    The relationship of the states between the platforms and the additional fields is represented by the following JSON:

    {
     "category": [
        {
            "id": 0,
            "reference": "",
            "keys": [""],
            "projectId": 0,
            "additionalFields": [
                {
                    "id": 0,
                    "key": "",
                    "mapping": [
                        {
                            "id": 0,
                            "value": ""
                        }
                    ]
                },
                {
                    "id": 0,
                    "key": "",
                    "value": [""]
                },
                {
                    "id": 0,
                    "key": ""
                }
            ],
            "state": [
                {
                    "id": 0,
                    "reason": 0,
                    "value": ""
                }
            ]
        }
      ]
    }
    

    Where:

    Properties

    Properties Description  
    Id Category identifier in CMDB  
    Reference Unique identifier to create a relationship between category and ci concepts see
    Keys List of Categories to migrate to the Aranda CMDB by category  
    projectId Identifier of the project to be related to the CI’s  
    additionalFields Relationship of additional fields between CMDB and Intune fields See
    state Relationship of CMDB status values and Intune deviceRegistrationStates See


    Relación entre los campos adicionales y los campos de las clases de Intune

    The relationship between the additional fields and the equivalent fields in Intune is done using the following JSON structure:


    additionalFields internal properties

    {
      "id": 0,
      "key": "",
      "value": [""],
      "mapping": [
        {
          "id": 0,
          "value": ""
        }
      ]
    }
    

    Where:

    Properties Description
    Id Identifier of the additional field in CMD
    Key Field ID in Intune
    value Allows you to add values to additional fields as constant values
    mapping Value relationship for CMDB and Intune fields, where “id” is the identifier in CMDB and “value” is the identifier in Intune


    List of additional supported field types


    Currently, there is no type listing for fields in Intune; therefore, they are all considered string-type. These can be mapped to short text, long text, date, and list fields in the CMDB.


    List of states

    To relate the states, the integration provides the following json schema:

    {
      "value": "",
      "id": 0,
      "reason": 0
    }
    

    Where:

    Property Description
    value Status name in Intune Intune states
    Id Status ID in CMDB
    reason Status Change Reason Identifier in CMDB


    EXAMPLE: CMDB/Intune State Relationship

    To create the list of states, follow the instructions below:

    1. Get the IDs of the CMDB states.
    2. Get the names of the Intune states.
    3. Assign the following status equivalence:
    Id status in CMDB Status in CMDB Value state Intune
    1 NEW registered
    13 CLOSED revoked
    • Type the Id status in CMDB On Property “id” and the Value state Intune of its equivalent taken from Intune On Property value:
    [
      {
          "id": 1,
          "value": "registered"
      },
      {
          "id": 13,
          "value": "revoked"
      }
    ]
    


    ↩ Back to Settings