Repository navigation
IntuneEnhancedInventory 1.1
IMPORTANT!
Version 1.1 requires use of version 3.0.0 of the Invoke-CustomInventoryAzureFunction.ps1 to be used in Proactive Remediations
This version of the Azure Function will work for any custom log you want to send securely to Log Analytics
Example code for adding a custom log
$LogPayLoad = New-Object -TypeName PSObject
$LogPayLoad | Add-Member -NotePropertyMembers @{$LogName1 = $Logdata1}
$LogPayLoad | Add-Member -NotePropertyMembers @{$LogName2 = $Logdata2}
# Construct main payload to send to LogCollectorAPI
$MainPayLoad = [PSCustomObject]@{
AzureADTenantID = $AzureADTenantID
AzureADDeviceID = $AzureADDeviceID
LogPayloads = $LogPayLoad
}
**Full Changelog**: https://github.com/MSEndpointMgr/IntuneEnhancedInventory/compare/v1.0...v1.1