@MD,Thanks for posting in Q&A.
From your description, I know that you have created a custom compliance policy, the device was being reported as non-compliant, and you want to see the custom compliance policy details in Intune.
Based on my researching, I found that the Information will be display in device status in the Company Portal when a device is noncompliant to a setting. You can check it in Company portal.
If it is not visible, you can go to settings and click sync it.
https://learn.microsoft.com/en-us/mem/intune/protect/compliance-custom-json
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.