Expand Minimize

SPF019805: Ensure that the solution id is valid

The package-solution.json file doesn't specify a properly formatted Solution Id (Guid).

CheckId SPF019805
TypeName SpecifyValidSolutionId
Severity CriticalError
Type PackageSolutionConfig

A package-solution file needs to specify an id, which is a valid Guid.

package-solution.json example

{
    "solution": {
        "name": "your-solution-name",
        "id": "476630d8-3c4a-40ec-8bbd-06e66c745a43",
        "version": "1.0.0.0"
    
    },
    "paths": {
        "zippedPackage": "solution/your-package-name.sppkg"
    }
}

Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.