Hi @Veer
This error indicates a problem with the detection rule configuration. Here is a link to a similar issue that another user experienced. - https://techcommunity.microsoft.com/discussions/microsoft-intune/the-application-was-not-detected-after-installation-completed-successfully-0x87d/3729424
If you need further assistance or have any other questions, feel free to ask!
If you find the answer above helpful, please Accept the answer to help anyone in the community who might have a similar question to quickly find the solution.