Service Principal for the Azure Communication Service Resource is not configured.

Chaturvedi, Rupal 5 Reputation points
2024-10-11T07:29:26.7666667+00:00

I have already set up a azure commincation service resource and set up a valid connection string, still I'm getting this error. What could be the configuration error?

azure.core.exceptions.HttpResponseError: (8567) Service Principal for the Azure Communication Service Resource is not configured.

Code: 8567

Message: Service Principal for the Azure Communication Service Resource is not configured.

[2024-10-11 07:27:08 +0000] [8080] [INFO] 127.0.0.1:58064 POST /api/incomingCall 1.1 500

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
925 questions
{count} vote

1 answer

Sort by: Most helpful
  1. ajkuma 27,181 Reputation points Microsoft Employee
    2024-10-11T11:52:09.7166667+00:00

    Chaturvedi, Rupal, Based on my understanding of the scenario/issue, are you storing the service principle information in Environment variables or in the code? Use Azure Active Directory in Communication Services - An Azure Communication Services quickstart | Microsoft Learn

    The Azure Identity SDK reads values from three environment variables at runtime to authenticate the application.

    1. Does it work locally?
    2. Are you referring to any specific Azure doc for ACS configuration?
    3. Could you please let us know more details about your setup?
      Service Principal for a development environment, see Authorize access with service principal
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.