Edit

Update installedPackage

Namespace: microsoft.graph.security.contentManagement

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Install a catalog contentPackage into the calling tenant or update an existing installedPackage to a target version.

This operation uses caller-keyed upsert semantics: if the package identified by {packageId} isn't yet installed in the tenant, the service creates the installation and returns 200 OK; if the package is already installed, the service updates it and returns 200 OK. Conditional write headers (ETag and If-Match) aren't supported.

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) ContentHub-Installed.ReadWrite.All Not available.
Delegated (personal Microsoft account) Not supported. Not supported.
Application ContentHub-Installed.ReadWrite.All Not available.

HTTP request

PATCH /security/contentManagement/installedPackages/{packageId}

Path parameters

Parameter Type Description
packageId String The stable identifier (id) of the installedPackage to install or update, matching the catalog contentPackage id.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of the installedPackage object. An empty JSON object ({}) is valid and installs or updates the package to the latest available catalog version. All other properties on installedPackage are read-only and must not be supplied.

Property Type Description
version String The catalog version of the package to install or update to. When omitted, the service selects the latest available catalog version.

Response

If successful, this method returns a 200 OK response code and an microsoft.graph.security.contentManagement.installedPackage object in the response body whether the installation was created or updated.

Examples

Request

The following example shows a request to install or update a package to version 3.1.0.

PATCH https://graph.microsoft.com/beta/security/contentManagement/installedPackages/azuresentinel.azure-sentinel-solution-entraid
Content-Type: application/json

{
  "version": "3.1.0"
}

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#security/contentManagement/installedPackages/$entity",
  "@odata.type": "#microsoft.graph.security.contentManagement.installedPackage",
  "id": "azuresentinel.azure-sentinel-solution-entraid",
  "contentProductId": "azuresentinel.azure-sentinel-solution-entraid-sl",
  "version": "3.1.0",
  "displayName": "Microsoft Entra ID",
  "description": "Detects suspicious sign-in and consent activity.",
  "descriptionHtml": "<p>Detects suspicious sign-in and consent activity.</p>",
  "icon": "https://store-images.s-microsoft.com/image/package.png",
  "publisherDisplayName": "Microsoft",
  "source": {
    "@odata.type": "#microsoft.graph.security.contentManagement.contentPackageSource",
    "kind": "marketplace",
    "displayName": "Microsoft Sentinel content hub",
    "sourceId": "azuresentinel.azure-sentinel-solution-entraid-sl"
  },
  "author": {
    "@odata.type": "#microsoft.graph.security.contentManagement.contentAuthor",
    "displayName": "Microsoft",
    "email": null,
    "link": "https://www.microsoft.com"
  },
  "support": {
    "@odata.type": "#microsoft.graph.security.contentManagement.contentSupport",
    "displayName": "Microsoft Corporation",
    "email": "support@microsoft.com",
    "tier": "microsoft",
    "link": "https://support.microsoft.com"
  },
  "dependencies": {
    "@odata.type": "#microsoft.graph.Json",
    "operator": "and",
    "criteria": [
      {
        "contentId": "EntraIDWorkbook",
        "version": "1.4.0"
      }
    ]
  },
  "providers": [
    "Microsoft Entra ID"
  ],
  "categories": {
    "@odata.type": "#microsoft.graph.security.contentManagement.contentCategories",
    "domains": [
      "Identity"
    ],
    "verticals": []
  },
  "installedDateTime": "2026-08-25T09:14:02Z",
  "lastModifiedDateTime": "2026-08-25T09:14:02Z"
}