cipp_get_secure_score
Read a tenant's Microsoft Secure Score live: latest points, percentage of the maximum, comparison with all tenants (basis AllTenants) and similarly sized tenants (basis TotalSeats), the control-by-control achievement on that latest reading…
Instructions
Read a tenant's Microsoft Secure Score live: latest points, percentage of the maximum, comparison with all tenants (basis AllTenants) and similarly sized tenants (basis TotalSeats), the control-by-control achievement on that latest reading (lowest completion first), and the recent daily history newest-first. There is no dedicated CIPP list endpoint — this calls ListGraphRequest with Endpoint security/secureScores. top defaults to 7 and caps at 90; it is sent with NoPagination so it limits the series instead of only setting Graph's page size. allTenants is rejected (CIPP's estate view is the nightly cache, not this call). An empty collection is reported as no reading, never as a score of zero. Changing a control's state is not this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many of the most recent daily readings to return (default 7, the window CIPP's Secure Score page charts; maximum 90). Sent as Graph $top together with NoPagination. A result that fills the limit carries a warning that older readings may exist. | |
| tenantFilter | Yes | Tenant domain name or ID. 'allTenants' is not supported — Secure Score is read live for one tenant. The estate view is CIPP's nightly cache. |