I am using lightIngest to ingest data from my blob in Azure to Azure Data Explorer. I am having the Storage Blob Data Reader role assignment under my Azure Data Explorer Cluster. I am able to read and list the files, however I couldn’t download the blob to ingest it into Azure Data Explorer Database.
This is the error message: Failure details: Failed to download blob: Access to persistent storage path
My question is:
- How do lightingest actually ingesting the data? I couldnt find it from the documentation
- What roles do I need to overcome the above error? Do I need the Storage Blob Data Contributor role or there is something wrong on my command
Side note: I have database admin permisson on the database in azure data explorer
My command:
LightIngest "https://{XXX}.kusto.windows.net;Fed=True" -database:XXX -table:XXX -source:"https://{storage account}.blob.core.windows.net/{container}/{blob path}/{blob path}/{blob path}/{blob path};managed_identity=system" -pattern:"*.parquet" -format:"parquet" -ingestWithManagedIdentity:"system" -connectToStorageWithUserAuth:"PROMPT"
2
Answers
I found an answer to this. Apparently you will need an private managed end point, instead of a managed end point
Answering your questions
Storage Blob Data Reader
Storage Blob Data Contributor
Database Admin Permission
Try this code I have modified it a bit
If you still face the error I recommend going through the Microsoft doc, ill give u the link
https://learn.microsoft.com/en-us/search/?terms=LightIngest
https://learn.microsoft.com/en-us/search/?terms=Data%20Explorer%20Storage%20Blob%20Data%20Ingestion