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:

  1. AnalyticsAppEmbedded
  2. AnalyticsAdminPerms

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.



1 Answer 1


David Reed answered this question well here.

Finding the correct Features & Settings can be confusing because of how many times this product has been re-named (CRM Analytics <-- Tableau CRM <-- Einstein Analytics <-- Wave ...)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .