cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
xmihux
Frequent Visitor

Microsoft Translator - unable to create a connection with Subscription Key

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. 

1 ACCEPTED SOLUTION

Accepted Solutions
xmihux
Frequent Visitor

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.

View solution in original post

2 REPLIES 2
xmihux
Frequent Visitor

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.

alrez
Community Support
Community Support

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.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (3,336)