Managing applications through Configuration Manager in Intune
Select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId inner join SMS_FullCollectionMembership FCM on FCM.ResourceID = SMS_R_System.ResourceId where FCM.CollectionID = 'Visio 2019 Installed' and SMS_G_System_SoftwareFile.FileName like "Visio.exe"
This is what I end up using. I ran the query and nothing came up at all.