This project is read-only.


Opportunity scoring solution for Sales Force is template designed to predict the likelihood of a win for each sales Opportunity in Sales Force.

  1. Solution is built using Microsoft Advanced Analytics solution - Cortana Intelligence Suite.
  2. It connect to Sales Force instance. To integrate with SalesForce,installer upload a package in SalesForce AppExchange

The machine learning model model is built using  Azure Machine Learning. Machine Learning model built on historical Opportunity data and account related data available in CRM out-of-box entities and fields.

Retraining and Scoring web jobs are built using Azure Web jobs and Azure Scheduler.

In, after installation, you will be able to see not only a opportunity win score, but also an explanation of the key attributes that contributed to the Opportunity score.  This is useful to identify potential steps that could improve the Opportunity win score.

 You can download similar solution for Dynamics CRM at -



Architecture Components 

  • 3 Machine Learning models - "Opportunity score" built using Cortana Intelligence Suite
  • Machine Learning model/techniques to provide insight of feature contribution and recommendation
  • Retraining pipeline to automatically train model on a recurring basis on new data
  • Scoring Pipeline to score new opportunities
  • Azure Web jobs for automated and you can choose the schedule to run
  • plugin/solution to show opportunity score fields in Sales Force
  • Installer for setting up opportunity scoring for Sales Force
  • Azure Key Vault for storing all confidential information entered by the user. Only the user has access to the Key Vault (Microsoft does not have access to the Key Vault or data stored within the Key Vault) created by her/him in her/his Subscription.


  1. Download zip file. Extract zip file from
  2. Inside the folder look for "CRMInstaller.exe". Double click on CRMInstaller.exe .
  3. Follow the wizard.  Accept the Licensing agreement
  4.  User (using Installer) would need to enter valid credentials for existing instance with administration rights & an Azure subscription.
  5. Select the Azure Subscription and Region where you want to install model and provision Azure resources.
  6. You can (optionally) enter an email address and mail server to receive alerts from the retraining and scoring system.
  7. The installer then creates the following required resources, in the selected subscription, for setting up the Opportunity Scoring model
  8. i. Creates an Azure Storage account to be used by the model to store configuration files, logs for the        model run and the monitoring files.
    ii. Provisions and creates an Azure Machine Learning Work space in the selected region which will contain the copy of the Opportunity scoring models to be used for scoring the opportunities.
    iii. Copies the Opportunity Scoring Model experiments to the created Azure ML work space
    iv. Creates Azure web jobs which facilitate the automated run of the Opportunity model, facilitating the  data ingestion from SalesForce, scoring the opportunities and writing back the scores to SalesForce instance. The web jobs  are scheduled to run on a daily basis.
    v. Provisions Azure Key Vault for safe keeping of sensitive data like SalesForce password, Azure Storage Key  etc. This approach keeps the passwords protected from use by unauthorized use by any other  application or user.
    vi. Creates and uploads a configuration file to the Azure Storage account. The configuration file contains  data required by the Opportunity Model run, such as CRM account URL, list of entities and attributes of  CRM to be used, mail server information etc.
  9. At the end of the successful installation you will get a path of a Text File for reference (with details of all the resources created and associated with the application for CRM Tenant). You can verify and see details of the all the resources created for the CRM Tenant. Log of Installation process to visualize the activities by stages is also generated and path provided in the Text file.



Install Opportunity scoring for Sales Force
 How to use Opportunity scoring in Sales Force
Machine Learning models - Prediction, Retaining, Insight
Installer Features

Benefits of opportunity scoring

Models to predict health of Sales Pipeline

Useful links

Sales Force trial          :

Azure Trial                    :

Cortana Intelligence suite:




Last edited Oct 25, 2016 at 5:01 AM by prashdesh, version 11