SPO-ASSIST

How to Find a SharePoint Online Content Type ID

Content type IDs show up constantly in provisioning scripts, PnP templates, and Power Automate flows — but SharePoint's UI shows you the content type name, not its ID, unless you go looking for it.

Method 1: Site content types page

  1. Go to Site settings > Site content types (you may need to add /_layouts/15/mngctype.aspx to the site URL directly, since it's hidden from the modern UI).
  2. Click the content type.
  3. The ID appears in the URL as a long hex string, or on the content type's own settings page depending on tenant configuration.

Reliable, but this page is buried and not linked from the modern site settings panel at all.

Method 2: REST API

https://yourtenant.sharepoint.com/sites/yoursite/_api/web/contenttypes?$select=Name,Id

Returns every content type on the site with its ID in one call — good for scripting, less convenient for a quick one-off lookup mid-task.

Method 3: PnP PowerShell

Get-PnPContentType | Select Name, Id

Fast if you're already connected, but again a context switch out of the browser.

Method 4: One click on the page

SPO-Assist surfaces content type names and IDs directly from the page you're already on, so you don't need to dig through mngctype.aspx or open a script just to copy one ID.

Why content type IDs matter

Content type IDs are hierarchical — a child content type's ID starts with its parent's ID as a prefix. This is useful for provisioning: if you're building a PnP template or writing a script that needs to target content types reliably across environments, using the ID (not the display name) avoids breakage if someone renames a content type later.