Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with running the quickstart demo #120

Open
thinkcodellc opened this issue Jul 14, 2023 · 0 comments
Open

Issues with running the quickstart demo #120

thinkcodellc opened this issue Jul 14, 2023 · 0 comments

Comments

@thinkcodellc
Copy link

thinkcodellc commented Jul 14, 2023

This is the acs-ca-demo linked at https://techcommunity.microsoft.com/t5/azure-communication-services/build-2023-transforming-customer-experiences-with-automated-ai/ba-p/3827857

Branch -callautomation-openai-sample-csharp

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
  1. DevTunnels has an issue registering for event grid. Tried with ngrok and it seems to register.
  2. Unable to get answer from Azure Cognitive Services for
 var options = new AnswerCallOptions(incomingCallContext, callbackUri)
       {
           AzureCognitiveServicesEndpointUrl = new Uri(cognitiveServicesEndpoint)
       };

       AnswerCallResult answerCallResult = await client.AnswerCallAsync(options);
       Console.WriteLine($"Answer call result: {answerCallResult.CallConnection.CallConnectionId}");

with error message

fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
      Azure.RequestFailedException: Service Principal for the Azure Communication Service Resource is not configured.
      Status: 400 (Bad Request)
      ErrorCode: 8567

      Content:
      {"error":{"code":"8567","message":"Service Principal for the Azure Communication Service Resource is not configured."}}

Where do we add the Cognitive services multi-service account key for this access from the code?

Minimal steps to reproduce

Follow the readme guide

Any log messages given by the failure

fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
Azure.RequestFailedException: Service Principal for the Azure Communication Service Resource is not configured.
Status: 400 (Bad Request)
ErrorCode: 8567

  Content:
  {"error":{"code":"8567","message":"Service Principal for the Azure Communication Service Resource is not configured."}}

### Expected/desired behavior
> No trouble connecting devtunnels
and ability for cog svs to respond back for the incoming call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant