DRiley Posted March 16 Share Posted March 16 Hi All, I'm curious to know if anyone has had any experience filtering InTune devices using the "startsWith" operator in their InTune asset import runbook script? I'm referencing the Microsoft documentation (here: Supported filter device properties and operators in Microsoft Intune | Microsoft Learn )but not having much success. I appreciate this document is referencing the rule syntax editor in the InTune so I adjusted slightly to go in the script. Unfortunately the result is a "Bad Syntax" response from InTune. Here's the resource I'm using in my script: "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices?`$filter=(operatingSystem eq 'iOS') and (model startsWith 'iPhone')" Any pointers would be appreciated. Thanks, Dan Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now