Step 1: Create a Text Analytics Resource From the Azure Portal, create a resource “Text Analytics” Once created, you should be able to get the Endpoint URL and Key from the “Keys and Endpoint” section Step 2: Create a .NET Console application in Visual Studio Get the Azure.AI.TextAnalytics nuget package for your solution Here you go your sample code Below is the output expected: