OCR-Form-Tools icon indicating copy to clipboard operation
OCR-Form-Tools copied to clipboard

VNET Injected storage account with FR managed identity - Auto label not working

Open ruoccofabrizio opened this issue 4 years ago • 3 comments

Describe the bug Using a VNET injected storage account and a Form Recognizer with enabled managed identity, the "Auto label" feature does not work as SAS token from file URL is not stripped at analyze time.

To Reproduce Steps to reproduce the behavior: Train a model using forms in a storage account with network restriction and FR MI enabled ("Storage Blob Data Reader") Within the labeling panel, use the "Auto label" feature for a new document

Expected behavior Get the document auto label working

Screenshots image

Desktop (please complete the following information): Not OS / Browser specific

Additional context Add any other context about the problem here. e.g, your Azure Resource region

ruoccofabrizio avatar Oct 11 '21 10:10 ruoccofabrizio

You can try my fork markbaas/OCR-Form-Tools. I made a dirty fix for this. Perhaps I will make a clean fix, but that requires more thinking.

markbaas avatar Nov 12 '21 11:11 markbaas

You can try my fork markbaas/OCR-Form-Tools. I made a dirty fix for this. Perhaps I will make a clean fix, but that requires more thinking.

thanks Mark, I pushed a fix for this in a PR here last month: https://github.com/microsoft/OCR-Form-Tools/pull/1003/files

ruoccofabrizio avatar Nov 12 '21 14:11 ruoccofabrizio

sweet thanks!

markbaas avatar Nov 23 '21 09:11 markbaas