To activate the ShortPoint SPFx license on a new site collection, you need to open the Licensing page from the ShortPoint Dashboard and click Activate button:
After clicking Activate button for a new Modern site collection you might get an error message saying License activation failed:
Reason
This issue can happen if you have tried to install ShortPoint for both classic and modern pages, but got the error message because the scripting capabilities were not enabled:
In such case, ShortPoint will still be installed, but just for modern pages:
If you leave the Installation page, and go to the Licensing to activate your license, it will fail because of that error.
Solution
To solve this issue, you need to reinstall ShortPoint for modern pages only, and then activate the license.
Open the Reinstallation page from the ShortPoint Dashboard:
Disable the Install for classic pages option, and click Reinstall:
Note: If you have a SharePoint 2019 environment and would like to use ShortPoint on classic pages too, enable scripting capabilities on your site first. Please follow the detailed steps here: Enable Scripting Capabilities with PowerShell (SharePoint 2019). Then, reinstall ShortPoint for both modern and classic pages. If you have SharePoint Microsoft 365, ShortPoint will not run for classic pages after November 2024. We recommend that you take advantage of building Modern pages with ShortPoint. For more information, read our article on ShortPoint Microsoft 365 Classic Pages Deprecation: Transforming Classic Pages to Modern Pages.
You should see that the reinstallation is completed successfully:
Then, if you go back to the Licensing page, you will see that the license was activated:
Related articles: