Make sure that you have met all of the prerequisites:
- Azure Defender must be enabled.
- You must be signed in with an account that has reader access to the policy compliance data (Security Reader is insufficient). The role of Global reader for the subscription will work. At a minimum, you'll need to have Resource Policy Contributor and Security Admin roles assigned.