An Azure service that integrates speech processing into apps and services.
First provision a unified Azure AI services multi-service resource in the Azure Portal, which bundles Language, Translator, and Speech into a single instance. Next, in the Azure AI Foundry Portal, use the Operate management dashboard to add a connection to your multi-service resource, and explicitly select Microsoft Entra ID or Managed Identity as your authentication type to bond these tools to your project workspace.
Because API keys are disabled on your resource, your application needs to rely on token-based authentication via the Azure.Identity SDK. To authorize these data-plane actions, modify RBAC settings of your Azure AI Services resource by assigning the Cognitive Services User role to your application's identity. This should ensure that your identity has the permissions needed to handle websocket streaming and authorization tokens for Speech-to-Text and Speech Translation operations.
In your application code, you can use the New Azure AI Foundry Project SDK alongside your token credentials to access these services . By initializing the AIProjectClient with a DefaultAzureCredential and your project's unique connection string, you can dynamically reference your connected services. For Language Detection and Text Translation, you pass the token credential directly into their respective client builders along with your custom endpoint URL. For the Azure Speech SDK, you will use your identity credential to fetch an OAuth 2.0 access token scoped to the cognitive services environment, then pass that string into your speech configuration using the authorization token setter method.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin