How to exclude Virtual Machine from Intune integration?

AnciaM
Tera Guru

I am looking for a way to exclude any virtual machine from the Intune integration.Is there a way to achieve in ETL Transform Map.

18 REPLIES 18

As per your earlier comment, it was changed to beta/deviceManagement/managedDevices?$filter=model ne 'Virtual Machine'

@AnciaM Have you checked the step logs ?

 

AnciaM_0-1761140056044.png

This is the error it is throwing in the flow designer executions 

 

 

@AnciaM Clear the api version value. It should be either beta or V1.0.
I'm assuming that you are using both.
V1.0 in the api_version and beta in the nextLink URI

JSiva_0-1761208100327.png

 

Kieran Anson
Kilo Patron

Hi,

Rather than customising the OOTB data resource, the clients azure administrator can create a role definition that provides only the necessary access. The ServiceNow documentation states to provide the 'reader' role which is a built-in role in Azure. 

 

The azure administrator can specify a new role definition and add the following restriction, which would limit access to compute resources

"NotActions": [
    "Microsoft.Compute/*"
  ]