@rr-4098, Thanks for posting in Q&A.
From your description, I know you want to create a custom compliance policy to detect whether the Crowdstrike is installed but got some error.
To solve this issue, here are some steps you can refer to.
1.The device must be Windows 10/11 (excluding Windows 10/11 Home)
2.The user has been assigned Intune license.
3.Check if there exist other compliance policies assign to the device, unassign them and change the custom compliance policy assignment to user group.
Also, I find sometimes it need to restart to make it work, you can try and see if the result will be different. Here is a link with more details:
https://call4cloud.nl/2021/11/the-last-days-of-custom-compliance/
Note: Non-Microsoft link, just for the reference.
Hope above information can help you.
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.