Entra ID → FreshService · Automated daily sync via func-fresh-asset-sync
These fields are synced on every run. Read-only — contact IT to modify.
| Entra ID Field | FreshService Asset Field | Notes |
|---|---|---|
| displayName | name | Asset display name |
| deviceId | asset_tag / serial_number | Match key for create/update |
| operatingSystem | type_fields.os | |
| operatingSystemVersion | type_fields.os_version | |
| manufacturer | type_fields.manufacturer | |
| model | type_fields.model | |
| isCompliant | type_fields.is_compliant | Boolean |
| managementType | type_fields.management_type | |
| approximateLastSignInDateTime | type_fields.last_seen | |
| registeredOwners[0].mail | user_id (requester) | Looked up by email in FreshService |
Fetches the first 20 devices from Entra via Microsoft Graph using the App Service Managed Identity. Shows what will be synced and how users will map to FreshService requesters.
The sync runs via func-fresh-asset-sync — an Azure Function App in rg_it_apps. Follow these steps to deploy it.
In Azure Cloud Shell:
Note: Create a Storage Account first if you don't have one: az storage account create --name valcourtfnstorage --resource-group rg_it_apps --location centralus --sku Standard_LRS
Copy the principalId from the output — needed for Step 3.
Run in Cloud Shell, replacing PRINCIPAL_ID with the value from Step 2:
The Function code is in the func-fresh-asset-sync/ folder in your zip. Deploy via VS Code Azure Functions extension or CLI: