Coder Social home page Coder Social logo

dynamic365bot's People

Contributors

ankitbko avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dynamic365bot's Issues

"Sorry, my bot code is having an issue" after authentication process

I have problems to establish the connection between BOT CHAT and D365. I can easily create the bot
(following the tutorial on the page Dynamics 365 https://appsource.microsoft.com/en-us/product/dynamics-365/microsoft_labs.dynamics365selfhostingbots?tab=Overview ) but when I do the communication test it only allows me to do the authentication step after any error message.
I can't modify the code from azure's page or download it. I can't find any solution anywhere

I have created the bot again more times but the problem is not fixed and during the creation from the powershell no error appears

KeyVaultErrorException: Operation returned an invalid status code 'NotFound'

Hello,

I installed and tried to configure chat bot. The bot site name was mentioned as Frissontek and the configuration completed (with powershell errors) as mentioned below

Setting Luis AppId, AD App ClientId and Secret in Key Vault
Get-AzureADUser : Error occurred while executing GetUser
Code: Request_ResourceNotFound
Message: Resource '[email protected]' does not exist or one of its queried reference-property objects are not
present.
HttpStatusCode: NotFound
HttpStatusDescription: Not Found
HttpResponseStatus: Completed
At C:\Sejal\Frissontek\dynamic365bot-master\dynamic365bot-master\deploy\deploy.ps1:144 char:18

  • $userObjectId = (Get-AzureADUser -ObjectId $userId).ObjectId
  •              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Get-AzureADUser], ApiException
    • FullyQualifiedErrorId : Microsoft.Open.AzureAD16.Client.ApiException,Microsoft.Open.AzureAD16.PowerShell.GetUser

Set-AzureRmKeyVaultAccessPolicy : Cannot validate argument on parameter 'ObjectId'. The argument is null or empty.
Provide an argument that is not null or empty, and then try the command again.
At C:\xxxxx\XXX\dynamic365bot-master\dynamic365bot-master\deploy\deploy.ps1:145 char:121

  • ... mentResult.Outputs.keyVaultName.Value -ObjectId $userObjectId -Permis ...
  •                                                 ~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Set-AzureRmKeyVaultAccessPolicy], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Azure.Commands.KeyVault.SetAzureKeyVaultAcces
      sPolicy

Set-AzureKeyVaultSecret : Operation returned an invalid status code 'Forbidden'
At C:\xxx\xxxx\dynamic365bot-master\dynamic365bot-master\deploy\deploy.ps1:148 char:1

  • Set-AzureKeyVaultSecret -VaultName $deploymentResult.Outputs.keyVault ...
  •   + CategoryInfo          : CloseError: (:) [Set-AzureKeyVaultSecret], KeyVaultErrorException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.KeyVault.SetAzureKeyVaultSecret
    
    

Set-AzureKeyVaultSecret : Operation returned an invalid status code 'Forbidden'
At C:\xxxx\xxxxxx\dynamic365bot-master\dynamic365bot-master\deploy\deploy.ps1:151 char:1

  • Set-AzureKeyVaultSecret -VaultName $deploymentResult.Outputs.keyVault ...
  •   + CategoryInfo          : CloseError: (:) [Set-AzureKeyVaultSecret], KeyVaultErrorException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.KeyVault.SetAzureKeyVaultSecret
    
    

Set-AzureKeyVaultSecret : Operation returned an invalid status code 'Forbidden'
At C:\xxxx\xxxxx\dynamic365bot-master\dynamic365bot-master\deploy\deploy.ps1:154 char:1

  • Set-AzureKeyVaultSecret -VaultName $deploymentResult.Outputs.keyVault ...
  •   + CategoryInfo          : CloseError: (:) [Set-AzureKeyVaultSecret], KeyVaultErrorException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.KeyVault.SetAzureKeyVaultSecret
    
    

on setup completion when I brwowsed https://frissontek.azurewebsites.net
I get following error

KeyVaultErrorException: Operation returned an invalid status code 'NotFound'
how to fix it?
Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.