Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

Sentiment Detection, Text Analytics - Flow, Access denied due to invalid subscription key.

When adding a Connection to Text Analytics for Sentiment Detection, there is a prompt for "Account Key" and nothing more. No help, no further information, no way to validate the key, not a hint as to what the key looks like.


What is this key and where do I go to get one? I have an Office365 account and msdn professional subscription.


Community Support Team
Community Support Team

Re: Sentiment Detection, Text Analytics - Flow, Access denied due to invalid subscription key.

Hi @kensinger,


To use Text Analytics, we need first to sign up for the Cognitive Services Text Analytics API. Which would require an Microsoft Account, and you will receive a unique pair of keys for each API requested after sign-up. Both keys generated would work here.

For how to use the Cognitive Services, please check:

What is Cognitive Services?

For example, once sign-up for 30 days' free trial, it will generate the following:


Here we use the Key1 or Key2 string to create the connection under Microsoft Flow.



Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,992)