Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
- browser version
- SPFx version
- Node.js version
- etc
Describe the bug / error
While setting up the SharePoint development environment, we installed the SharePoint Yeoman generator using the following command:
npm install -g @microsoft/generator-sharepoint
However, after installing this version, the "Copilot Component" option was not available when generating a SharePoint project using:
Screenshot
The "Copilot Component" option is missing from the project template selection.

Resolution / Workaround
The issue was resolved by installing the beta (@next) version of the SharePoint generator.
Step 1: Uninstall the existing version (optional but recommended)
npm uninstall -g @microsoft/generator-sharepoint
Step 2: Install the beta version
npm install -g @microsoft/generator-sharepoint@next
Step 3: Verify the installed version
npm ls -g --depth=0 @microsoft/generator-sharepoint
Expected output:
@microsoft/generator-sharepoint@1.24.0-beta.2
Note: Any version 1.24.0-beta.2 or later should include support for the Copilot Component template.
Steps to reproduce
Steps to Reproduce
-
Install the SharePoint Yeoman generator using the following command:
npm install -g @microsoft/generator-sharepoint
-
Generate a new SharePoint project by running:
-
Proceed through the project creation wizard.
-
Observe the available project templates.
Actual Result
The "Copilot Component" option is not available in the list of project templates.
Expected behavior
Expected Behavior
The "Copilot Component" option should be available in the SharePoint project template selection when running the following command:
This option should be displayed during the project generation wizard, allowing developers to create a Copilot Component project.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
While setting up the SharePoint development environment, we installed the SharePoint Yeoman generator using the following command:
However, after installing this version, the "Copilot Component" option was not available when generating a SharePoint project using:
Screenshot
Resolution / Workaround
The issue was resolved by installing the beta (
@next) version of the SharePoint generator.Step 1: Uninstall the existing version (optional but recommended)
Step 2: Install the beta version
Step 3: Verify the installed version
Expected output:
Steps to reproduce
Steps to Reproduce
Install the SharePoint Yeoman generator using the following command:
Generate a new SharePoint project by running:
Proceed through the project creation wizard.
Observe the available project templates.
Actual Result
The "Copilot Component" option is not available in the list of project templates.
Expected behavior
Expected Behavior
The "Copilot Component" option should be available in the SharePoint project template selection when running the following command:
This option should be displayed during the project generation wizard, allowing developers to create a Copilot Component project.