SlideShare a Scribd company logo
1 of 8
Download to read offline
MICROSOFT LABS PAGE 1
MICROSOFT LABS JUNE 11, 2018
DYNAMICS 365 SELF HOSTING BOTS
A Bot for CRM org to know Lead, Opportunity and Case details
Contents
Overview............................................................................................................................................................................................1
CRM Chat Bot Configuration.....................................................................................................................................................2
Least Permissions required for users to access “Chat Bot” area in sitemap........................................................2
Deployment Scripts Setup .....................................................................................................................................................2
Microsoft Converged App Creation ...................................................................................................................................2
Bot Registration .........................................................................................................................................................................4
Bot Installation............................................................................................................................................................................4
LUIS subscription.......................................................................................................................................................................5
Functionality Verification.............................................................................................................................................................7
Overview
The Chat Bot solution can be used for any Dynamics 365 system and providing capability to filter and
view cases, opportunities or views available.
Chat Bot feature benefits:
- Case and its information (which includes All Cases, My Active Cases, Active Cases, Individual
Case).
- Opportunities associated for an account and products associated with opportunity.
- This section outlines the steps to be performed by a System Administrator to make Solution
available to the end users.
Note: Please visit our GitHub repository to get to know about our latest features of chatbot.
This solution, built on Dynamics 365, seamlessly works with Dynamics CRM 2016 and later.
MICROSOFT LABS PAGE 2
CRM Chat Bot Configuration
Pre-requisites:
1. Administrator/ User who’s configuring Chat Bot should be a valid Azure AD user
2. The user who is configuring the Chat Bot should have contributor license in Azure.
Least Permissions required for users to access “Chat Bot” area in sitemap
This section describes providing minimal security settings permissions required for users with
roles other than System Admin to Configure Chatbot.
Users should be having Read Permissions (Least Permissions) on Dynamic Bot Setup to access
configuration steps to set up Chat Bot. The steps to provide the minimal security settings
needed on the custom entities are:
1. Login to CRM and go to Settings |Security Roles | Select A Role
Go to “Custom Entities” tab, select Dynamic Bot Setup, and provide Read Permissions.
Deployment Scripts Setup
1. Download the latest Deployment Scripts by clicking here or cloning our Github Repository. If
you have downloaded the zip, extract it.
2. Go to LUIS and Login/Signup. You can login using any Live account
3. After login, click on Your name (top right corner) -> Settings
4. Copy the Authoring Key and keep it handy. We will needed in next step.
Microsoft Converged App Creation
This section provides information on creating Microsoft Converged App.
1. Go to Application Registration Portal and login with your live account.
2. Beside section "Converged Applications" click on Add an app.
MICROSOFT LABS PAGE 3
3. Give your application any name and click Create.
4. In next screen, copy Application Id and keep it handy. We required in the next step.
MICROSOFT LABS PAGE 4
5. Click on Generate New Password and copy the generated password. We will need it in next
step.
Note: The password will be displayed only once. Make sure you have noted it down somewhere.
6. Click on Ok to close the generated password window.
7. Click on Save button at bottom of the page.
Bot Registration
This section describes Bot registration, where you need to fill all the required fields available in the form.
Fill the form with relevant details. You will also need LUIS Authoring Key (from Step 1), Microsoft
Converged App ID and Password (from step 2)
Once filled, click on Save to generate a download link. Click on the generated link to download a
PowerShell file and save it in deploy folder where you extracted Deployment Script files (in Step 1).
Bot Installation
This section describes the Bot installation process.
1. Go to the extracted zip folder where you downloaded the PowerShell file from last step.
2. Right click on the downloaded PowerShell file (start.ps1) and click Run with PowerShell. If asked
to change policy or install packages type "Y" and press Enter.
MICROSOFT LABS PAGE 5
3. The script will automatically create azure resources, deploy the bot and train a LUIS app. You will
be prompted to login for total of 3 times.
4. For the first and second prompt, enter credentials of the user who has "Contributor" access in
your Azure Subscription. For the third prompt, enter credentials of a CRM Admin.
5. The following azure resources will be created. You can view this by going to Azure Portal
a. Azure Web App
b. Azure Bot Service
c. Azure Key Vault
d. Azure Cognitive Service Account (LUIS)
e. Application Insight
LUIS subscription
This section provides information on subscription of LUIS in Azure portal.
1. Go to Azure Portal Resource Groups in Azure portal and search for the Resource name which
was given in Bot Registration.
2. Open resource group and go to Bot Channels Registration.
3. Under Bot Management click on Channels and then click on Edit on Webchat channel.
4. Click on Show button under Secret Keys. The content of textbox will become visible.
MICROSOFT LABS PAGE 6
5. Copy the secret key. (Make sure you copy entire secret key.)
6. Go back to your resource group and select the Key Vault of the app.
7. Under Settings go to Secrets and click on Generate/Import.
8. Enter WebChatSecret in Name field and Secret that we copied before in Value field.
9. Click on Create.
10. Go to LUIS and open d365bot app.
11. Click on Publish button available in the menu and under section Resources and Keys click on
Add Key.
12. From the list select and click Add Key.
13. Click on Train button on top right.
14. Once training completes, click on Publish to production slot.
With this Chat Bot registration and installation completes. You can now visit your bot site and explore
the feature…
MICROSOFT LABS PAGE 7
Note:
1. Currently we see some issues with IE browser to support this Chatbot solution. We are working
on this and visit our GitHub repository for update.
2. Please reach out here to report for any issues related to the Chatbot.
Functionality Verification
Launch the BOT in Edge browser
Authenticate yourself with AAD using generated code
MICROSOFT LABS PAGE 8
User can get the date by giving sample commands like ‘get all active cases’
BOT will display the views from configured CRM org for the Case entity.

More Related Content

What's hot

Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
LiquidHub
 
What Apple's iOS 5 Means for Marketers
What Apple's iOS 5 Means for MarketersWhat Apple's iOS 5 Means for Marketers
What Apple's iOS 5 Means for Marketers
Ben Gaddis
 
Hilo javascript
Hilo javascriptHilo javascript
Hilo javascript
Steve Xu
 
Microsoft Azure,AWS Cloud services and it's use
Microsoft Azure,AWS Cloud services and it's useMicrosoft Azure,AWS Cloud services and it's use
Microsoft Azure,AWS Cloud services and it's use
Aslam Diwan
 
Hands-on workshop: experience the life of your Content Object aka the power o...
Hands-on workshop: experience the life of your Content Object aka the power o...Hands-on workshop: experience the life of your Content Object aka the power o...
Hands-on workshop: experience the life of your Content Object aka the power o...
Chamilo Association
 
Developing Dynamic PeopleSoft Field Security Applications:A PeopleSoft Develo...
Developing Dynamic PeopleSoft Field Security Applications:A PeopleSoft Develo...Developing Dynamic PeopleSoft Field Security Applications:A PeopleSoft Develo...
Developing Dynamic PeopleSoft Field Security Applications:A PeopleSoft Develo...
guest96f6c68d
 
Create your first application node.js and windows azure
Create your first application   node.js and windows azureCreate your first application   node.js and windows azure
Create your first application node.js and windows azure
Steve Xu
 

What's hot (13)

Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
 
Ewug 1902 what is new in modern management
Ewug 1902   what is new in modern managementEwug 1902   what is new in modern management
Ewug 1902 what is new in modern management
 
Foxit reader manual 60
Foxit reader  manual 60Foxit reader  manual 60
Foxit reader manual 60
 
Obiee 11g security creating users groups and catalog permissions
Obiee 11g security  creating users groups and catalog permissionsObiee 11g security  creating users groups and catalog permissions
Obiee 11g security creating users groups and catalog permissions
 
What Apple's iOS 5 Means for Marketers
What Apple's iOS 5 Means for MarketersWhat Apple's iOS 5 Means for Marketers
What Apple's iOS 5 Means for Marketers
 
mKubed quick start guide
mKubed quick start guidemKubed quick start guide
mKubed quick start guide
 
Beta testing guidelines for developer
Beta testing guidelines for developerBeta testing guidelines for developer
Beta testing guidelines for developer
 
Hilo javascript
Hilo javascriptHilo javascript
Hilo javascript
 
Microsoft Azure,AWS Cloud services and it's use
Microsoft Azure,AWS Cloud services and it's useMicrosoft Azure,AWS Cloud services and it's use
Microsoft Azure,AWS Cloud services and it's use
 
Hands-on workshop: experience the life of your Content Object aka the power o...
Hands-on workshop: experience the life of your Content Object aka the power o...Hands-on workshop: experience the life of your Content Object aka the power o...
Hands-on workshop: experience the life of your Content Object aka the power o...
 
Developing Dynamic PeopleSoft Field Security Applications:A PeopleSoft Develo...
Developing Dynamic PeopleSoft Field Security Applications:A PeopleSoft Develo...Developing Dynamic PeopleSoft Field Security Applications:A PeopleSoft Develo...
Developing Dynamic PeopleSoft Field Security Applications:A PeopleSoft Develo...
 
Create your first application node.js and windows azure
Create your first application   node.js and windows azureCreate your first application   node.js and windows azure
Create your first application node.js and windows azure
 
Creating Intelligent Chatbots
Creating Intelligent ChatbotsCreating Intelligent Chatbots
Creating Intelligent Chatbots
 

Similar to Dynamics 365 self hosting bots

Codemotion rome 2015 bluemix lab tutorial -- Codemotion Rome 2015
Codemotion rome 2015   bluemix lab tutorial -- Codemotion Rome 2015Codemotion rome 2015   bluemix lab tutorial -- Codemotion Rome 2015
Codemotion rome 2015 bluemix lab tutorial -- Codemotion Rome 2015
Codemotion
 
Microcat land rover
Microcat land roverMicrocat land rover
Microcat land rover
sersam
 
Implementing Your Full Stack App with MongoDB Stitch (Tutorial)
Implementing Your Full Stack App with MongoDB Stitch (Tutorial)Implementing Your Full Stack App with MongoDB Stitch (Tutorial)
Implementing Your Full Stack App with MongoDB Stitch (Tutorial)
MongoDB
 

Similar to Dynamics 365 self hosting bots (20)

ocodewire social_stream_magento_extension_demo
ocodewire social_stream_magento_extension_demo ocodewire social_stream_magento_extension_demo
ocodewire social_stream_magento_extension_demo
 
Salesforce.com Lightning
Salesforce.com LightningSalesforce.com Lightning
Salesforce.com Lightning
 
Integrating IBM Watson IoT Platform IBM Blockchain Lab
Integrating IBM Watson IoT Platform IBM Blockchain LabIntegrating IBM Watson IoT Platform IBM Blockchain Lab
Integrating IBM Watson IoT Platform IBM Blockchain Lab
 
Codemotion rome 2015 bluemix lab tutorial -- Codemotion Rome 2015
Codemotion rome 2015   bluemix lab tutorial -- Codemotion Rome 2015Codemotion rome 2015   bluemix lab tutorial -- Codemotion Rome 2015
Codemotion rome 2015 bluemix lab tutorial -- Codemotion Rome 2015
 
Codemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab TutorialCodemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab Tutorial
 
SysInfoTools MBOX Converter
SysInfoTools MBOX ConverterSysInfoTools MBOX Converter
SysInfoTools MBOX Converter
 
Mbox converter
Mbox converterMbox converter
Mbox converter
 
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentationAWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
 
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,..."Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
 
Microcat land rover
Microcat land roverMicrocat land rover
Microcat land rover
 
SugarMob Pro
SugarMob ProSugarMob Pro
SugarMob Pro
 
Language Translator Magento 2 Extension
Language Translator Magento 2 ExtensionLanguage Translator Magento 2 Extension
Language Translator Magento 2 Extension
 
SysInfoTools MBOX to NSF Converter
SysInfoTools MBOX to NSF ConverterSysInfoTools MBOX to NSF Converter
SysInfoTools MBOX to NSF Converter
 
Monitoring Windows Server Systems Demo Script
Monitoring Windows Server Systems Demo ScriptMonitoring Windows Server Systems Demo Script
Monitoring Windows Server Systems Demo Script
 
ImplementationGuide-220920-101456.pdf
ImplementationGuide-220920-101456.pdfImplementationGuide-220920-101456.pdf
ImplementationGuide-220920-101456.pdf
 
Build your first rpa bot using IBM RPA automation
Build your first rpa bot using IBM RPA automationBuild your first rpa bot using IBM RPA automation
Build your first rpa bot using IBM RPA automation
 
Magento 2 Quick View Extension by ITORIS INC.
Magento 2 Quick View Extension by ITORIS INC.Magento 2 Quick View Extension by ITORIS INC.
Magento 2 Quick View Extension by ITORIS INC.
 
Implementing Your Full Stack App with MongoDB Stitch (Tutorial)
Implementing Your Full Stack App with MongoDB Stitch (Tutorial)Implementing Your Full Stack App with MongoDB Stitch (Tutorial)
Implementing Your Full Stack App with MongoDB Stitch (Tutorial)
 
Buzzient oracle crmod_integration
Buzzient oracle crmod_integrationBuzzient oracle crmod_integration
Buzzient oracle crmod_integration
 
Visual Studio and Xamarin: The future of app development
Visual Studio and Xamarin: The future of app developmentVisual Studio and Xamarin: The future of app development
Visual Studio and Xamarin: The future of app development
 

Recently uploaded

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Recently uploaded (20)

WSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - Kanchana
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2Con2024 - Low-Code Integration Tooling
WSO2Con2024 - Low-Code Integration ToolingWSO2Con2024 - Low-Code Integration Tooling
WSO2Con2024 - Low-Code Integration Tooling
 
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 

Dynamics 365 self hosting bots

  • 1. MICROSOFT LABS PAGE 1 MICROSOFT LABS JUNE 11, 2018 DYNAMICS 365 SELF HOSTING BOTS A Bot for CRM org to know Lead, Opportunity and Case details Contents Overview............................................................................................................................................................................................1 CRM Chat Bot Configuration.....................................................................................................................................................2 Least Permissions required for users to access “Chat Bot” area in sitemap........................................................2 Deployment Scripts Setup .....................................................................................................................................................2 Microsoft Converged App Creation ...................................................................................................................................2 Bot Registration .........................................................................................................................................................................4 Bot Installation............................................................................................................................................................................4 LUIS subscription.......................................................................................................................................................................5 Functionality Verification.............................................................................................................................................................7 Overview The Chat Bot solution can be used for any Dynamics 365 system and providing capability to filter and view cases, opportunities or views available. Chat Bot feature benefits: - Case and its information (which includes All Cases, My Active Cases, Active Cases, Individual Case). - Opportunities associated for an account and products associated with opportunity. - This section outlines the steps to be performed by a System Administrator to make Solution available to the end users. Note: Please visit our GitHub repository to get to know about our latest features of chatbot. This solution, built on Dynamics 365, seamlessly works with Dynamics CRM 2016 and later.
  • 2. MICROSOFT LABS PAGE 2 CRM Chat Bot Configuration Pre-requisites: 1. Administrator/ User who’s configuring Chat Bot should be a valid Azure AD user 2. The user who is configuring the Chat Bot should have contributor license in Azure. Least Permissions required for users to access “Chat Bot” area in sitemap This section describes providing minimal security settings permissions required for users with roles other than System Admin to Configure Chatbot. Users should be having Read Permissions (Least Permissions) on Dynamic Bot Setup to access configuration steps to set up Chat Bot. The steps to provide the minimal security settings needed on the custom entities are: 1. Login to CRM and go to Settings |Security Roles | Select A Role Go to “Custom Entities” tab, select Dynamic Bot Setup, and provide Read Permissions. Deployment Scripts Setup 1. Download the latest Deployment Scripts by clicking here or cloning our Github Repository. If you have downloaded the zip, extract it. 2. Go to LUIS and Login/Signup. You can login using any Live account 3. After login, click on Your name (top right corner) -> Settings 4. Copy the Authoring Key and keep it handy. We will needed in next step. Microsoft Converged App Creation This section provides information on creating Microsoft Converged App. 1. Go to Application Registration Portal and login with your live account. 2. Beside section "Converged Applications" click on Add an app.
  • 3. MICROSOFT LABS PAGE 3 3. Give your application any name and click Create. 4. In next screen, copy Application Id and keep it handy. We required in the next step.
  • 4. MICROSOFT LABS PAGE 4 5. Click on Generate New Password and copy the generated password. We will need it in next step. Note: The password will be displayed only once. Make sure you have noted it down somewhere. 6. Click on Ok to close the generated password window. 7. Click on Save button at bottom of the page. Bot Registration This section describes Bot registration, where you need to fill all the required fields available in the form. Fill the form with relevant details. You will also need LUIS Authoring Key (from Step 1), Microsoft Converged App ID and Password (from step 2) Once filled, click on Save to generate a download link. Click on the generated link to download a PowerShell file and save it in deploy folder where you extracted Deployment Script files (in Step 1). Bot Installation This section describes the Bot installation process. 1. Go to the extracted zip folder where you downloaded the PowerShell file from last step. 2. Right click on the downloaded PowerShell file (start.ps1) and click Run with PowerShell. If asked to change policy or install packages type "Y" and press Enter.
  • 5. MICROSOFT LABS PAGE 5 3. The script will automatically create azure resources, deploy the bot and train a LUIS app. You will be prompted to login for total of 3 times. 4. For the first and second prompt, enter credentials of the user who has "Contributor" access in your Azure Subscription. For the third prompt, enter credentials of a CRM Admin. 5. The following azure resources will be created. You can view this by going to Azure Portal a. Azure Web App b. Azure Bot Service c. Azure Key Vault d. Azure Cognitive Service Account (LUIS) e. Application Insight LUIS subscription This section provides information on subscription of LUIS in Azure portal. 1. Go to Azure Portal Resource Groups in Azure portal and search for the Resource name which was given in Bot Registration. 2. Open resource group and go to Bot Channels Registration. 3. Under Bot Management click on Channels and then click on Edit on Webchat channel. 4. Click on Show button under Secret Keys. The content of textbox will become visible.
  • 6. MICROSOFT LABS PAGE 6 5. Copy the secret key. (Make sure you copy entire secret key.) 6. Go back to your resource group and select the Key Vault of the app. 7. Under Settings go to Secrets and click on Generate/Import. 8. Enter WebChatSecret in Name field and Secret that we copied before in Value field. 9. Click on Create. 10. Go to LUIS and open d365bot app. 11. Click on Publish button available in the menu and under section Resources and Keys click on Add Key. 12. From the list select and click Add Key. 13. Click on Train button on top right. 14. Once training completes, click on Publish to production slot. With this Chat Bot registration and installation completes. You can now visit your bot site and explore the feature…
  • 7. MICROSOFT LABS PAGE 7 Note: 1. Currently we see some issues with IE browser to support this Chatbot solution. We are working on this and visit our GitHub repository for update. 2. Please reach out here to report for any issues related to the Chatbot. Functionality Verification Launch the BOT in Edge browser Authenticate yourself with AAD using generated code
  • 8. MICROSOFT LABS PAGE 8 User can get the date by giving sample commands like ‘get all active cases’ BOT will display the views from configured CRM org for the Case entity.