Automated Device Association
Automatically link Intune devices associated with reporters to incidents and service requests.
Create an ‘Assets Objects’ type Custom Field
Edit the Custom Field
‘Edit Assets object/s field configuration’
Store Multiple Objects
Select the toggle and then ‘Save’
Associate the new field to desired request types/screens
Create a new project automation
Trigger the automation upon creation of the issue
Optional - Add a comment to log the automation on the issue
Add lookup objects
Select the appropriate Assets schema containing your Intune devices
Query by the reporter Display Name or Email Address (email recommended)
"User Display Name" LIKE "{{issue.reporter.displayName}}"
"Email Address" LIKE "{{issue.reporter.emailAddress}}"
If devices are found, update your new ‘Assets Objects’ field, if not you may want to comment/log to the issue
If devices are found
Key IN ({{lookupObjects}})
Publish your new Automation
Test & Validate