Hi, I have created a Translator (Cognitive Services) resource in my Azure subscription.
After that, I tried to create a connection in Power Automate, using the Subscription Key from my resource, but no matter which connector I try (V1 or V2) I can never establish the connection. Also, I tried both from the Connections menu in Power Automate and directly in the Flow creator. Has anyone had a similar issue and solved it?
It works fine without providing the subscription key, but I'd like to use my own resource.
The error I get is: "Something went wrong. Please try again later".
From the developer tools in my browser I can extract more details:
{"error":{"code":"401","message": "Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}
The subscription key is copied from 'Keys and Endpoint' menu in my Azure resource and it's for sure correct. Tried both keys and even regenerating them. As for the regional API endpoint - this is not something I can even choose when creating the connection in Power Automate.
My power platform environment Region is Europe.
My Translator service location in Azure is West Europe.
Hi,
Thanks for the quick follow up and the details on how you were able to fix this. I just wanted to add a bit of information here for future reference if you would like to learn more. Feel free to take a look.
https://docs.microsoft.com/en-us/azure/cognitive-services/translator/
Regards,
Alex
-------
Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Just solved it, so let me answer myself 😉
Azure Cognitive Services had to be recreated in 'Global' region. In West or North Europe connection didn't work - not sure about others.