@Tadeu Trajano,Thanks for posting in Q&A. From your description, I know that you want to determine device compliance based on whether specific application is installed.
Based on my research, you can configure Custom Compliance policy to achieve it. Let's take Microsoft Edge as example, here are some steps you can refer.
1.Create a discovery script and upload it to Intune.
#Look for Microsoft Edge $InstalledSoftware = Get-ChildItem "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall" if ($InstalledSoftware -like "Microsoft Edge") { $edge = "Detected" } else { $edge = "Not Detected" }
$hash = @{ Microsoft Edge = $edge } return $hash | ConvertTo-Json -Compress
2.Create a Json file and upload it to Intune. { "Rules":[ { "SettingName":"Microsoft Edge", "Operator":"IsEquals", "DataType":"String", "Operand":"Detected", "MoreInfoUrl":https://andrewstaylor.com, "RemediationStrings":[ { "Language": "en_US", "Title": " Application Detected", "Description": "Edge has been detected on your device." } ] } ] }
3.Assign to user Group and check it after a few minutes.
You can replace Microsoft Edge to the apps you want.
Hope this can be helpful.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.