Skip to content

Azure Blob Storage

BInbox reads delimited text files (.csv, .tsv and .txt) and Excel workbooks (.xlsx) from one container and one folder in it. BInbox signs in with a Microsoft Entra token. It takes no account keys and no shared access signatures, because a key opens the whole account to writes, while Entra lets you grant read on one container. If a file is replaced while BInbox reads it, BInbox refuses the file rather than mix the old and new contents.

BInbox lists the files directly in the folder whose names end in .csv, .tsv, .txt or .xlsx, in any case. Other files and the folder’s own folders’ files are not offered. Each file is a table.

  • A delimited text file (.csv, .tsv, .txt) is read the same way as a file you upload, including the header step.
  • An Excel workbook (.xlsx) is read by its sheets, as an uploaded workbook is. You choose the sheets in the setup’s sheet step, and the chosen sheets are put one under another as a single table. With no sheet step, BInbox reads the sheets it suggests. In the schema browser, a workbook’s columns are the header of the suggested sheets. BInbox reads only the parts of the workbook it needs, so its pictures and the sheets you did not choose are not downloaded.
  • A file over the connection’s byte limit is refused before BInbox reads any of it.

A dataset made from a file can keep a copy of the file on an extract schedule, as a warehouse’s table does. Each run copies the whole file within the connection’s limits and keeps the copy sealed with the dataset. When a copy holds a later complete month or day than the copy before it, that counts as new data, and a report scheduled on new data is queued. When a file no longer parses, or a workbook no longer has a chosen sheet, the copy fails with a message that says why, and nothing is kept. Setting up a dataset from one of these files is not built in the app yet.

On New connection, choose Azure Blob Storage.

Field What to enter
Storage account The account’s name, which is 3 to 24 lowercase letters and digits.
Container The container’s name.
Folder Optional. The path in the container the files are in, such as exports/sales. Leave it empty for the container’s top.
How BInbox signs in A service account’s user name and password or key file (the app registration’s client secret) or BInbox’s own identity, trusted by the warehouse (no secret kept).
Directory (tenant) id From the app registration.
Application (client) id From the app registration.
Client secret From the app registration. Service account only.

Follow Set up a Microsoft Entra app registration and keep its three values.

Step 2: give the app read on the container

Section titled “Step 2: give the app read on the container”
Terminal window
az role assignment create --assignee <application id> --role "Storage Blob Data Reader" \
--scope /subscriptions/<subscription>/resourceGroups/<group>/providers/Microsoft.Storage/storageAccounts/<account>/blobServices/default/containers/<container>
  1. Open the storage account, Containers, then the container.
  2. Choose Access control (IAM), Add, Add role assignment.
  3. Choose the role Storage Blob Data Reader, then Next. Choose User, group, or service principal, Select members, search for the app registration’s name, and choose Review + assign.

A role assignment can take a few minutes to take effect.

Open the storage account, Networking, and check that public network access is on for selected networks or all networks, and that the firewall admits the connection. BInbox does not connect from a fixed address yet, so a firewall that admits only listed addresses blocks it.

Role On Why BInbox needs it
Storage Blob Data Reader The one container To list the blobs and read them.

Do not give Storage Blob Data Contributor or Owner, or a role on the whole account.

Choose Test connection in BInbox. All three permissions must be Granted:

Permission Granted when
Sign in Entra gives a token for storage and Azure accepts it.
List the files in the folder The app may list the folder.
Read a file BInbox reads the first byte of the first non-empty CSV, TSV, text or Excel file in the folder.

If Read a file says the folder holds no CSV, TSV, text or Excel file to try, the folder is empty or the Folder path is wrong. The folder name is case-sensitive.

An owner or admin opens the Data tab at app.binbox.ai, chooses Connect, then New connection, fills in the fields above, and chooses Test and save. Connections describes the screen.

Setting up a dataset from one of the connection’s files is not built in the app yet. Pick a table covers tables and views.