Expand Minimize

SPF019804: Define a valid id for your solution

The package-solution.json file doesn't contain the Solution Id property.

CheckId SPF019804
TypeName DefineSolutionId
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.