# Blob Storage

## Requirements

In order to integrate Teleskope with Azure Blob Storage, you must make sure the following prerequisites are met:

* Within Azure: You must have created an Entra App as described previously
* Within Teleskope: A Teleskope admin account to complete the setup process.

## Integration

For each subscription:

{% stepper %}
{% step %}
**Grant the Teleskope app read access to Azure Blob Storage**

Grant the Teleskope app the following role:

* Storage Blob Data Reader

Create a custom role with the following permission:

* Microsoft.Storage/storageAccounts/read
* Microsoft.Storage/storageAccounts/\*/read
  {% endstep %}

{% step %}
**Grant the Teleskope app write access to Azure Blob Storage (optional)**

Grant the Teleskope app the following role:

* Storage Blob Data Contributor
  {% endstep %}
  {% endstepper %}

### Inventory Reports (optional)

Follow Azure's documentation to setup CSV inventory reports for your [containers](https://learn.microsoft.com/en-us/azure/storage/blobs/blob-inventory). This will allow us to crawl your containers with optimized speed, and minimize the cost incurred on the Azure side by limiting the amount of API calls we make.

If cost-appropriate, please toggle on **Enable access tracking** in the Blob inventory settings page. This allows you to view access history per-blob and use the field as a trigger in Policy Maker.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.teleskope.ai/connectors/azure/blob-storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
