Finally, Get-MgBetaSecurityIdentitySensor -All didn't provide what is
needed, requiring a little creativity to get what is
needed.[System.Collections.ArrayList]$MDIHosts = (Get-ADForest).Domains
| ForEach-Object -parallel { get-mgbetaSecurityIdentitySensor -Filter
"DomainName eq '$_'" get-mgbetaSecu...
When I use the command Get-MgBetaSecurityIdentitySensorCount then I see
the expected amount of sensors. But when using
Get-MgBetaSecurityIdentitySensor -All then I count 100 sensors less...
Making it difficult to create a simple inventory list of the sensors.PS
C:\temp> (Get-MgBetaSecurityIdentitySe...
Indeed works great for SecurityIdentitiesHealth.Read.All when using
Graph through PowerShell command Get-MgBetaSecurityIdentityHealthIssue,
the health issues are returned nicely...But I'm getting a similar error
when trying to access the sensor list using permission
SecurityIdentitiesSensors.Read.Al...
Latest Comments