microsoft / botframework-solutions

Welcome to the Bot Framework Solutions repository which is the home for a set of templates and solutions to help build advanced conversational experiences using Azure Bot Service and Bot Framework. Microsoft Bot Framework is a comprehensive framework for building enterprise-grade conversational AI experiences.
https://aka.ms/bfsolutionsdocs
MIT License
1.05k stars 529 forks source link

Az Bot authsetting creates AADv2 connection but does not populated the fields #233

Closed cbtham closed 5 years ago

cbtham commented 6 years ago

Project Virtual Assistant

Description Using the az bot command to create authsettings, the fields are not populated correctly. No errors, creation went through. The documentation that I used is https://github.com/Microsoft/AI/blob/master/solutions/Virtual-Assistant/docs/virtualassistant-createvirtualassistant.md on skills authentication

To Reproduce

  1. Key in this command:- az bot authsetting create --resource-group YOUR_BOT_NAME --name YOUR_BOT_NAME --setting-name "YOUR_AUTH_CONNECTION_NAME" --client-id "YOUR_APPLICATION_ID" --client-secret "YOUR_APPLICATION_PASSWORD" --provider-scope-string "Calendars.ReadWrite Mail.Read Mail.Send Notes.ReadWrite People.Read User.Read" --service Aadv2
  2. Oauth created with correct name, but client ID, client secret and tenant ID is not created properly(blanked)

Expected behavior The created oauth settings supposed to have the fields populated.

Screenshots https://user-images.githubusercontent.com/5702935/47987297-81f11c00-e122-11e8-9dba-592d7bac55f8.png