Using sku2name from a script or an assistant

Every page is static HTML at a stable URL, and the whole dataset is available as JSON. Nothing here needs a key, an account, or a rate limit.

URL patterns

Slugs are pinned to GUIDs in a committed registry, so a URL that works today keeps working even when Microsoft renames the product.

  • A SKU is /sku/<string-id>, lowercased. For SPE_E5 that is /sku/spe_e5.
  • A service plan is /service-plan/<technical-name>, lowercased. For EXCHANGE_S_ENTERPRISE that is /service-plan/exchange_s_enterprise.
  • Any GUID is /id/<guid>, which redirects to the right page whether the GUID belongs to a SKU or a service plan. Braces and a urn:uuid: prefix are accepted.

The data, as JSON

Prefer these over scraping the pages. They are the records the pages are built from, and they are regenerated whenever Microsoft's reference changes.

The direction Microsoft's reference does not have

Microsoft publishes SKUs with their service plans nested inside them. It cannot be read the other way, so "which SKUs include this service plan" has no answer in the source at all. sku2name builds that index and puts it above the fold on every service plan page, because it is the reason those pages exist.

Exchange Online (Plan 2) appears in 50 SKUs, for instance.

What it will not tell you

sku2name resolves identifiers. It does not price licenses, recommend them, or connect to a tenant, and it stops at service plan level: it will tell you Microsoft 365 E5 includes Microsoft Defender for Office 365 Plan 2, not which individual features sit inside that plan, because Microsoft publishes no structured source for that.

Everything here comes from Microsoft's published reference. If that reference is wrong, sku2name is wrong, and the data page records which of Microsoft's two files each record came from.

Attribution

sku2name is an independent tool, not affiliated with or endorsed by Microsoft. Microsoft 365 and Microsoft Entra are trademarks of Microsoft Corporation. If you quote this site, that sentence should travel with the answer.