The Azure Blob Storage is configured is only used with the “Scan Page With Camera” and “Scan Page With Upload” feature on Quality Inspection Test documents, and the “Detect fields from a picture” when using an existing scan or picture of a Quality Inspection Document to configure fields. It is used specifically to:
- Either take a picture with your camera, or upload an existing image of the document to azure blob storage
- Use Azure Document Intelligence (Form Recognizer) to read and parse the Quality Inspection Document
- Then the image of the inspection document will be removed
- The parsed values will then be applied to either the Quality Inspection Test document (if using “Scan Page With Upload”, or “Scan Page With Camera”), or to add proposed fields (if using the “Detect fields from a picture” feature).
- The blob is not retained.
- The picture of the scanned inspection document that you took is likewise also not retained in either Azure Blob Storage, nor attached documents, nor record links.
You can scan pictures with the “Take Picture”, or upload pictures directly to a Quality Inspection Test, and they will be retained in the Document Attachments. “Take Picture” will not use Azure Blob Storage described on this page to store the miscellaneous pictures. When using add-ons such as DocXtender however those pictures can be stored on SharePoint.
“Take Picture” will take a picture, and attach the picture to the Quality Inspection Test document, it does not use Azure Blob Storage.
“Scan Page With Camera” and “Scan Page With Upload” will take a picture of a document, temporarily use Azure Blob Storage, analyze the blob with Azure Document Intelligence, delete the Azure Blob, and then fill in the values on the Quality Inspection Test Document, but it will not add the picture to the attachments, and the azure blob that was created temporarily will be deleted.
If you are just taking pictures and attaching them to Quality Inspection Test then you do not need to configure Azure Blob Storage.
If you want to take a picture of a printed inspection document to fill in values using Azure Document Intelligence, with that image not being retained, then you do need to configure Azure Blob Storage, and that blob will only be used temporarily until Azure Document Intelligence is done analyzing the picture of the document.
Use this guide to perform the necessary configuration to allow scanning a picture of paper documents or scanning documents into quality inspection documents in Business Central. This article is the setup and configuration guide related to the user guide: https://kb.dmsiworks.com/knowledge-base/how-to-scan-paper-quality-inspection-forms-into-quality-inspector/
Set Up and Configure Azure Blob Storage and Azure Document Intelligence with Quality Inspector shows you how to configure and deploy an Azure BLOB Storage account, an Azure BLOB Storage container, generate an SAS token and deploy an Azure Document Intelligence instance, and then connect those values in Quality Inspector.
Complete the following sections in order:
- Create Azure storage account, enable anonymous Blob access, and create container
- Create SAS token
- Create Azure Document Intelligence (Azure Form Recognizer)
- Test the configuration in Quality Inspector
Create Azure storage account, enable anonymous Blob access, and create container
- Navigate to Microsoft’s Azure Portal in a web browser.
- Select Storage accounts and select +Create (or Create storage account if needed).
- Modify the following fields:
- Subscription
- Resource Group
- Storage account name
- Region
- Performance
- Redundancy
- Select Review and ensure the information is correct.
- Select Create (deploys the account).
- Select Go to resource.
- Select Configuration in the left pane.
- Enable Allow Blob anonymous access, select Save (may take a minute to take effect), and select Refresh.
- Select Container in the left pane.
- Select +Container and modify the following fields:
- Name
- Anonymous access level: Container (anonymous read access for containers and blobs)
- Select Create (redirects to list of containers).
Create SAS token
- Select Shared access tokens.
- Select Permissions dropdown and enable:
- Read
- Add
- Create
- Write
- Delete
- List
- Select Start date and time, and select Expiry date and time.
- Select Generate SAS tokens and URL.
- Copy and paste the following information from Azure to the corresponding fields in Quality Inspector:
- Storage account name (on the storage account page)
- Storage container name (on the container page)
- SAS Token (on the Shared access tokens / Overview page)
Create Azure Document Intelligence (Azure Form Recognizer)
- Navigate to Document Intelligences in Azure.
- Select +Create and modify the following fields:
- Subscription
- Resource group
- Name
- Pricing tier
- Select Review + create and ensure the information is correct.
- Select Create (deploys).
- Select Go to resource / Keys and Endpoint.
- Copy and paste the following fields from Azure to the corresponding fields in Quality Inspector:
- Endpoint
- Key 1 (Key 1 or Key 2 to the Key field in Quality Inspector)
Test the configuration in Quality Inspector
- Navigate to Business Central and select Quality Inspector / Templates and Rules / Test Templates.
- Select +New and modify the following fields:
- Code
- Description
- Select Test Generation Rules, select the Table field, and select an object.
- Select OK.
- Repeat the previous 2 steps as necessary until you have all your required test rules.
- Select the back arrow and select Add Field(s) To This Template.
- Enable Detect fields from a picture and select Next.
- Select click here to browse (or use the drag and drop feature), locate the required image (image files and PDFs are accepted), and select Open.
- Select the required fields and select Finish.
- Select Create Test, select the required Source, and select OK.
- Select the required Choose Record and select OK.
- Select OK.
- Select Actions / Analyze Scanned Form and reupload the same image used previously.
- Select OK / Yes.
Easy Setup Guide: Azure Blob Storage & Document Intelligence for Quality Inspector
Still need help?
Ask other Business Central users in the Insight Works community, or send the details to the support team. Include the steps you took and any error message you saw.