Cannot Install SPFx Solution or Activate Custom Feature using a Site Design
It is not possible to install an SPFx solution or activate the custom feature that contains the Application Customizers custom actions. Instead, the OOB features are able to be activated. Is there a way at least to access to more traceable information than "Action failed"?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: b9f52c85-8e87-991f-5002-149f011fe8d0
- Version Independent ID: 352955bd-4e1a-126a-a026-440d2b62de38
- Content: SharePoint site design and site script overview
- Content Source: docs/declarative-customization/site-design-overview.md
- Product: sharepoint
- GitHub Login: @spdevdocs
- Microsoft Alias: spdevdocs
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Can you provide your Site Script to review? Deploying an Application Customizer is possible with Site Scripts.
{ "$schema": "schema.json", "actions": [ { "verb": "installSolution", "id": "de5b5cce-0a0c-40b2-820c-1569ba81e9d0", "name": "MY_SOLUTION" }, { "verb": "activateSPFeature", "featureId": "15a572c6-e545-4d32-897a-bab6f5846e18" }, { "verb": "activateSPFeature", "featureId": "4cd826ba-70fd-4e81-9149-d6edc243e4b0" }, { "verb": "applyTheme", "themeName": "MY_THEME" } ], "bindata": { }, "version": 1 }
Our solution contains both webparts and extensions, that is why we use the installSolution action, that already includes both (so no need to do the associateExtension action). We tried with and without the name in the installSolution, since it has been included in the latest schema: https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json
And in our package-solution we have the feature for the application customizer that has the custom actions:
"features": [ { "title": "Application Extension - Deployment of custom action.", "description": "Deploys a custom action with ClientSideComponentId association", "id": "4cd826ba-70fd-4e81-9149-d6edc243e4be", "version": "1.0.0.0", "assets": { "elementManifests": [ "elements.xml" ] } } ]
@qazqwertish if you're still experiencing this issue, please raise a support ticket so we can look into this issue. Improving error reporting is in our backlog.
I confirm that we experience the same same issue:
Site Design JSON:
{
"$schema": "schema.json",
"actions": [
{
"verb": "installSolution",
"id": "{AppPackageId:ContosoCentral}"
}
],
"version": 1
}

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues