SharePoint / SharePoint/sp-dev-docs

Extension information not added to Tenant wide extensions

Open
#10,214 3 comments 0 reactions 1 assignee View on GitHub

@Amey-MSFT is already working on this.

Since Apr 30, 2025.

area:spfx area:spfx-extensions sharepoint-developer-support
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details

SPFx version: v1.18

Issue description

I have a solution containing 2 webparts and an extension. For some reason the extension isn't deployed tenant wide, the entry doesn't get added to the tenant wide extensions list (/sites/AppCatalog/Lists/TenantWideExtensions).

I don't see anything wrong with my configuration.

/sharepoint/assets/ClientSideInstance.xml:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ClientSideComponentInstance
      Title="Productname"
      Location="ClientSideExtension.ListViewCommandSet"
      ComponentId="GUID from extension's manifest"
      Properties=""
      ListTemplateId="101">
  </ClientSideComponentInstance>
</Elements>

config/package-solution.json:

{
  "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
  "solution": {
    "name": "productname",
    "id": "GUID",
    "version": "3.1.3.0",
    "includeClientSideAssets": true,
    "skipFeatureDeployment": true,
    "isDomainIsolated": false,
    "features": [
      {
        "title": "Productname",
        "description": "Productname",
        "id": "GUID",
        "version": "3.0.0.0",
        "assets": {
          "elementManifests": [
            "ClientSideInstance.xml"
          ]
        }
      }
    ]
  },
  "paths": {
    "zippedPackage": "solution/productname.sppkg"
  }
}

I do see the ClientSideInstance.xml included in the resulting sppkg.
I do have to "deploy to all sites" option checked when updating the extension.

But why doesn't it get applied? Am I missing something?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.