Showing posts from February, 2019

Step by step Configuration of Azure Bot for QnA maker

Prerequisite of following imstruction is
QnA Maker : Build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content.
Azure Bot Service : Build, connect, deploy, and manage intelligent bots to interact naturally with the other parties .

1.1Azure Bot for QnA·Sign In to Azure portal ( ·Select “All Resources” from the left section then click “Add” button from the top menu in the fly-out panel ·Search for Web App Bot ·Select Web App Bot from the result ·Click “Create” from bottom of the newly open section ·Type Bot name, select Subscription, Resource Group, Pricing Tier then ·Click “Bot Template”, select “SDK v3” from SDK Version respectively after that select Question and Answer C# finally click select button bottom of the panel. ·leave rest default ·Click Create to complete Web App Bot. It may take some time to finaliz…

Step by step instruction of QnA Maker configuration then Train it based on Dynamics CRM Sample Data Knowlegedbased artciles

1QnA Maker Build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content.
In my try, I used Sample Data of Dynamics CRM online  for Knowledged bases. You can skip it and copy-paste any text or KBs. 1.1Configuration· sign in to the service. ·Create a QnA Maker Service by clicking “Create a knowledge base” menu item. ·A from will display then click “Create a QnA service” button under “Step 1“

·A Windows is pop up. the Microsoft Azure main page is loaded with the current account (If you have login problem, you should contact Microsoft Support to review Microsoft Azure subscription)
·Fill the fields and click create.
·QnA Maker Creation may take some time. You can follow the progress from the menu.

·Once Deployment finalizes, Click Resource Group from the menu in the left.

·QnAMaker screen will open


Make your Chatbot ready (Microsoft Bot Framework).to work with LUIS

Prerequisities :

LUIS Service : Project creation : and Configuration of Microsoft Bot Framework Emulator : LUIS service for bot :

1.1Connecting to the services from your bot if you go over prerequisities, you will have a visual studio project so in order to connect to the LUIS service, your bot should be configured properly through the .bot file.

In Startup.cs,ConfigureServicesread connection string or other necessary information from .bot to  integrate with external servicesandInitBotServicesuses that information to initialize the services accordingly.

sample of  ".bot " file:

  "name": "CRMBot",
  "services": [

Step by Step installation and configuration guide of Microsoft Bot Framework Emulator

The Bot Framework Emulator is a desktop application that allows bot developers to test and debug bots built using the BotBuilder SDK.

Note :
Bot Builder SDK (optional) can be downloaded from :

if it does not work, you can download it from my local copy : .It was 2019, January build. ***********

follow below steps in order to install emulator: Download Emulator :
if it does not work , you can download of my local copy (2019, February, 22) BotFramework-Emulator-4.2.1-windows-setup.exe  Wait until wizard finalizes installationEmulator will be opened automatically
Go to to make emulator ready for external communications (…

Workaround of Record creation problem in Dynamics CRM 365 Online from ".NET Core 2.1"

If you want to make any calls from .NET Core 2.1 app to Dynamics CRM 365 online, you will face the following error: HideCopy Code System.TypeLoadException : 'Could not load type 'System.ServiceModel.Description.MetadataConversionError' from assembly 'System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'

It is incompatibility of metadata serialization.
Please have a look at my article from
good luck.