Is there any restriction to PermissionSetGroups in Unlocked Packages?
saulo_XXXXX@SAULOS-MBP commerciallending % sfdx force:package:version:create \
--package "XXXXXXXX" \
--path force-app \
--installationkey "XXXXXXXXXXXXXX" \
--wait 10 \
--targetdevhubusername XXXXXXXX-devhub
Result:
ERROR running force:package:version:create: These entities are not supported: [PermissionSetGroup]
The project has only two changes: A Permission set called "Account_Create"; A Permission set group called "CL_Admin"
Here it is the source code of the project: https://github.com/sauloefo/NsOrg1