We have developed CRM Analytics components in a developer org on which SF Support enabled CRM Analytics licenses for us. The long term goal is to package these components and the first step is to be able to automate the deploy of these components to scratch orgs. We want to automate the setup of scratch orgs both for development and for our CI processes. When we deploy with the sf cli, we get this error on every component: "Not available for deploy for this organization".
I guessed some feature(s) need to be enabled, I experimented with adding these features to the project-scratch-def.json file:
I still get the same error. Is there anyone out here who has used scratch orgs for developing packages with CRM analytics who can share how to automate the setup of scratch orgs with analytics components deployed.