Skip to content

IntuneEnhancedInventory 1.2

Latest
Compare
Choose a tag to compare
@JankeSkanke JankeSkanke released this 14 Oct 13:18
· 27 commits to main since this release

IMPORTANT!
Version 1.2 requires use of version 3.5.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
This version will return a new payload back to the PR script that dynamically handles the status per log-type ingested

Full changelog can be found here: Changelog

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
}