Missing feature Opportunity Teams
Detection
Examples
Error Admin In field: field - no CustomObject named OpportunityTeamMember found
Resolution
Opportunity Teams must be activated in the target org.
- Turn it on from git: commit force-app/main/default/settings/Opportunity.settings-meta.xml with <enableOpportunityTeam>true</enableOpportunityTeam> (retrieve it with the Metadata Retriever of VS Code), and deploy it in a Pull Request merged before this one
- Or in Setup -> Opportunity Team Settings -> Enable Team Selling
- Scratch org setting:
"opportunitySettings": {
"enableOpportunityTeam": true
}