Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Configuration Example - Microsoft Intune

The following is an example of the SourceConfig, AssetTypes and data mapping configuration that could be used to import computer-type assets from Intune.

Important

The configuration example is provided as-is, and may not be suitable to import your organization’s Intune asset data. We highly recommend that an Intune administrator review the filter, expand column query and mappings against your Intune tenant before using this in a production environment.

{
  "KeysafeKeyID": 0,
  "LogSizeBytes": 1000000,
  "HornbillUserIDColumn": "h_user_id",
  "SourceConfig": {
    "Source": "intune",
    "Intune": {
      "Fields": [
        "id",
        "userId",
        "deviceName",
        "managedDeviceOwnerType",
        "enrolledDateTime",
        "lastSyncDateTime",
        "operatingSystem",
        "osVersion",
        "emailAddress",
        "azureADDeviceId",
        "userPrincipalName",
        "model",
        "manufacturer",
        "serialNumber",
        "userDisplayName",
        "totalStorageSpaceInBytes",
        "managedDeviceName",
        "physicalMemoryInBytes"
      ],
      "ImportDetectedApps": true
    }
  },
  "AssetTypes": [
    {
      "AssetType": "Virtual Machine",
      "OperationType": "Both",
      "Query": "operatingSystem eq 'Windows' and model eq 'Virtual Machine'",
      "AssetIdentifier": {
        "SourceColumn": "serialNumber",
        "Entity": "AssetsComputer",
        "EntityColumn": "h_serial_number"
      }
    }
  ],
  "AssetGenericFieldMapping": {
    "h_name": "{{.deviceName}}",
    "h_asset_tag": "{{.deviceName}}",
    "h_description": "From Intune: {{.deviceName}} ({{.model}})",
    "h_used_by": "{{ .userPrincipalName }}"
  },
  "AssetTypeFieldMapping": {
    "h_name": "{{.deviceName}}",
    "h_net_computer_name": "{{.deviceName}}",
    "h_model": "{{.model}}",
    "h_manufacturer": "{{.manufacturer}}",
    "h_description": "From Intune: {{.deviceName}} ({{.model}})",
    "h_memory_info": "{{.physicalMemoryInBytes}}",
    "h_os_description": "{{.operatingSystem}}",
    "h_os_version": "{{.osVersion}}",
    "h_serial_number": "{{.serialNumber}}"
  }
}
In This Document