Share via

Unable to Highlight Text for Labeling in Azure Foundry Data Training

thanh.tran quoc 0 Reputation points
2026-03-31T03:34:54.43+00:00

I am experiencing a problem in Azure Foundry when adding data for training using the built-in data labeling function. Specifically, I am unable to click and drag to select a word or phrase in the text for labeling... The interface does not allow me to highlight text spans, which prevents me from assigning labels to specific phrases.

2026-03-31_10-33-55

Azure Language in Foundry Tools
Azure Language in Foundry Tools

An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.


1 answer

Sort by: Most helpful
  1. Jerald Felix 11,540 Reputation points Volunteer Moderator
    2026-04-12T14:40:41.83+00:00

    Hello thanh.tran quoc,

    Greetings!

    Thanks for raising this question in Q&A forum.

    This is a known usability issue that a few users have run into. The most common reasons why text highlighting doesn't work in the Azure Foundry data labeling interface are: no entity type is selected before trying to highlight, a browser compatibility issue, a CORS misconfiguration on the storage account, or missing storage permissions. Let me walk you through the steps to fix this.

    Step 1: Make sure you select an entity type first

    This is the most commonly missed step. In the right side pane, you must first add an entity type to your project before you can start labeling your data. You cannot highlight text until at least one entity type is added and selected. So go to the right-hand pane, add your entity (e.g., "ProductName", "Date", etc.), click on it to select it, and then try to click and drag to highlight text.

    Step 2: Switch to single document view

    Change to a single document view from the left side in the top menu, or select a specific document to start labeling. Text selection only works when you are viewing one document at a time, not in the document list view.

    Step 3: Use Microsoft Edge browser

    The labeling interface works best on Microsoft Edge. If you are using another browser like Chrome or Firefox, please switch to Edge and try again, as some drag-select interactions can behave unexpectedly on other browsers.

    Step 4: Check CORS settings on your storage account

    A misconfigured storage account can cause the labeling UI to not respond properly. Make sure to allow GET, PUT, and DELETE methods when enabling Cross-Origin Resource Sharing (CORS). Set allowed origins to https://language.cognitive.azure.com, allow all headers by adding * to the allowed header values, and set the maximum age to 500.

    Step 5: Verify your storage role permissions

    Make sure that the user making changes has the Storage Blob Data Contributor role assigned to them. Without this role, the labeling interface may load but not function correctly. You can set this from the Azure portal under your Storage Account > Access Control (IAM).

    Step 6: Try the autolabeling feature as an alternative

    If manual highlighting still doesn't work, you can use the autolabeling feature to ensure complete labeling as a temporary workaround while the issue is investigated.

    Step 7: Report it if the issue persists

    If none of the above steps resolve it, this may be a portal bug. Please raise a support ticket from the Azure portal so the engineering team can look into it directly.

    If this answer helps you kindly accept the answer which will help others who have similar questions.

    Best Regards,

    Jerald Felix.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.