Questions tagged [azure-storage]

1

votes
1

answer
531

Views

Azure File Storage: Error 400 (Condition headers are not supported.)

I'm not sure what is going wrong here. I am trying to display an image that is currently stored on Azure File Storage. If I go to the link directly in my browser then it seems to download just fine. But when I put the url in an img src then I am getting this error in the console. Here is how I am cu...
Quiver
1

votes
1

answer
140

Views

Use Azure Function Binding to return list of Blobs in a Container

Perhaps I'm misunderstanding the purpose of Azure Function Input Bindings. But I want to be able to return the list of blobs in a container on a HttpTrigger using a blob input binding. Is this possible or do I need to access the Blob Storage API directly from the Function?
BenBtg
1

votes
1

answer
311

Views

How do I authenticate a user against an Azure storage blob in python?

I'm looking for a way to authenticate a user against an Azure blob container. The sample code (yep, newbie alert) works just fine, using an access key for the storage account, but that feels uncomfortably like giving away full control of the entire storage account to anyone who steals the credential...
zaump
0

votes
1

answer
80

Views

Azure function visibilityTimeout

When i read the documentation about visibilityTimeout: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue#host-json it says 'The time interval between retries when processing of a message fails.'. How I understands this is that if the timeout is set to 30 seconds...
mslot
1

votes
1

answer
140

Views

How to get image dimensions when is stored in azure blob storage?

I have image in blob and I want to read image dimensions (width and height) This is my function to read from blob: private static CloudBlockBlob ReadBlockBlob(string input, IConfigurationRoot config) { CloudStorageAccount storageAccount = new CloudStorageAccount( new Microsoft.WindowsAzure.Storage.A...
Raskolnikov
1

votes
1

answer
69

Views

Azure Blob Storage Pre-Signed Url Features

As my experiences, AWS S3 has a feature called pre-signed. Which allows me to issue a url with specific expiry time to access. I cannot find any details about that on Azure official website. So, does anyone know if Azure Blob Storage can support pre-signed url features?
Code Man
0

votes
0

answer
20

Views

Fastest way to read Azure blob files in parallel

I'm trying to download the blob files from Azure using the below code Download Method : private static async Task GetPriceString(int seriesId) { var maxRetries = 15; var storage = CloudStorageAccount.Parse('Storage Account Connection String'); var blob = storage.CreateCloudBlobClient().GetContainerR...
Pரதீப்
1

votes
1

answer
231

Views

Referencing .NET 4.7.1 library using Azure Storage from ASP.NET Core 2 MVC App

In my solution I have an ASP.NET Core 2 MVC app using Razor pages, a Web API 2 app and a .NET 4.7.1 class library containing services and their definitions that use Azure Table Storage from the Azure Storage NuGet (v8.7.0). I'm using autofac for dependency injection. I have hooked up both my web app...
James Mundy
1

votes
2

answer
453

Views

Import excel from Azure blob using R

I have the basic setup done following the link below: http://htmlpreview.github.io/?https://github.com/Microsoft/AzureSMR/blob/master/inst/doc/tutorial.html There is a method 'azureGetBlob' which allows you to retrieve objects from the containers. however, it seems to only allow 'raw' and 'text' fo...
Sunny
1

votes
1

answer
491

Views

Kafka Connect HDFS Sink with Azure Blob Storage

I want to connect to Azure Blob Storage with Kafka HDFS Sink Connector. So far I have done: Set kafka-connect properties: hdfs.url=wasbs:// hadoop.conf.dir={hadoop_3_home}/etc/hadoop/ hadoop.home={hadoop_3_home} And in core-site.xml added support for wasbs: fs.wasbs.impl org.apache.hadoop.fs.azure.N...
zhandosso
1

votes
1

answer
177

Views

How to check if a container exists, and if not then create one

I am trying to design an Azure logic app that will connect to my FTP server and upload my files to a blob (or container, not really sure how the hierarchy works) whenever a file is added to my server. I have folders in my server by date (01-22-2018) etc. and I would like to bring this structure over...
andrewbuikema
1

votes
0

answer
61

Views

Azure Storage Webhook being triggered by historical events

I have an Azure Function which uses the webhook bindings to be triggered by each upload or modification of a blob in an Azure Storage container. This seems to work fine on an empty test container, i.e. when uploading the first blob or modifying one of two or three blobs in the test container. Howeve...
awj
1

votes
1

answer
145

Views

Azure storage is corrupting files after upload?

I'm trying to upload images to azure storage like so: var xhr = new XMLHttpRequest(); xhr.open('GET', blobUrl); xhr.responseType = 'text';//force the HTTP response, response-type header to be blob xhr.onload = function () { blobService.createBlockBlobFromText('taskcontainer', 'myblob', xhr.responseT...
tweetypi
1

votes
1

answer
399

Views

cannot convert to microsoft.azure.cosmosDB.table.itableentity

I'm trying to insert some test values into an Azure table using storage connection string. When I tried to perform insert operation it showing error as cannot convert TableStorage.RunnerInputs to Microsoft.azure.cosmosDB.table.itableentity. I'm working on this with the reference to https://docs.micr...
sai kumar
1

votes
1

answer
292

Views

Azure SQL blob storage select

I am attempting to create a temp table to store the values of an xlsx file on my azure blob storage, I have followed numerous Microsoft articles now and I am under the impression that I should be using SELECT * FROM OPENROWSET(), this seems to be working or at least selecting something. Here is my c...
Mike
1

votes
1

answer
40

Views

Change default DNS in azure storage java jar

I have added the azure-storage-6.1.0.jar as external libraries in my java project. In the azure storage jar, there is a class file called CloudStorageAccount.class which contains static field. private static final String DEFAULT_DNS = 'core.windows.net'; And it always maps this to the URL to form...
Sridhar V
1

votes
1

answer
213

Views

Getting error in azure notebooks while deploying : ImportError: No module named azure.storage.blob

We are usign azure ml stodio workspace and trying to deploy model using azure notebooks present in ml studio. Imported azure-storage using below code. !pip install azure-storage==0.36.0 Its working when i run locally but when its deployed to ML studio workspace, its giving us this error: {u'error':...
Adarsha
1

votes
2

answer
1.1k

Views

Downloading file from url and saving to blob

I have an azure function that downloads a file to a temporary file path and then saves the temp file to a blob. I have two questions: 1) Is there a way to manage the temporary files created by the function Path.GetTempFileName(). i.e after the scope of the function delete the temp filename? 2) Is th...
Darth Veder
1

votes
1

answer
69

Views

How to create an Azure AppendBlob from node.js

I have installed the npm azure-storage package. On Azure I have created a Storage Account and a container. I then try to create an Append Blob: const azure = require('azure-storage'); const service = azure.createBlobService('[ACCOUNT]', '[KEY]'); service.createAppendBlobFromText('[CONTAINER]', 'some...
lwallent
1

votes
0

answer
62

Views

AzureResourceManager template hook Azure Function to Storage Event

I've got an AzureResourceManager template that's creating both a StorageAccount, as well as AzureFunctions. I want to add a JSON node to subscribe the functions to the Blob storage events. This URL explains how: https://docs.microsoft.com/en-us/azure/event-grid/event-subscription-template But I'm...
Marty
1

votes
1

answer
197

Views

DownloadRangeToByteArrayAsync in .NET Core 2.0 Multithreading/Async Issues

I'm encountering an issue with the DownloadRangeToByteArrayAsync Method in the Microsoft.AzureStorage 9.1 Nuget package on .NET Core 2.0. Whenever I perform DownloadRangeToByteArrayAsync either in Parallel or with async, it causes performance issues with any subsequent time-consuming operation. This...
Throwaway11111
1

votes
1

answer
309

Views

Azure CDN - Rewriting Url for Angular Application with Verizon in combination with Identity Server 4

Context I am trying to setup my Angular project using Azure CDN in combination with Verizon to do the actual URL rewritting. The storage account has been set up with a dedicated blob container. and the CDN-Profile has been configured to make use of it. What I would like to do is to redirect all inco...
1

votes
1

answer
128

Views

Delete data in external and partitioned table in hive

I'm trying to delete data from external and partitioned table in hive. I can delete partitions with: ALTER TABLE myTable DROP PARTITION(field > 'xxxx') or TRUNCATE TABLE myTable PARTITION(field) But related files in Blob storage are not deleted. How do I delete those files? In other hand, I'd like t...
solalla
1

votes
1

answer
205

Views

Create PDF from existing pdf with azure storage

I made a bot application with the Microsoft Botbuilder. Now I want to create a pdf-file from the user input. The file should be stored in my azure storage. I have a 'pdf-template' which should be copied and modified (this file is in the azure storage already). It has some textboxes which should be f...
Detlef D Soost
1

votes
1

answer
162

Views

Javascript - Generate thumbnail from video url where store in Microsoft Azure Blob

I use Microsoft Azure Blob Storage to stored my video. How do I generate the thumbnail from the video's url that I get from backend using ajax. axios.post('my-api') .then(function(response) { var videoUrl = response.data.url; // How to generate thumbnail here })
Gary
1

votes
1

answer
39

Views

Unable to notify second device when receive image from blob

I am working a chat application and when when I upload a image with button click then image doesn't received to another device only sender device showing it. MyButton click code: public async void Image_Clicked(object sender, EventArgs e) { try { file = await CrossMedia.Current.PickPhotoAsync(new Pl...
Parmendra
1

votes
1

answer
65

Views

Tools for Editing Azure Storage not working for Azure Stack

I try to copy data from the public cloud to my Azure Stack Storage using the tools proposed in the documentation. Unfortunately, several of them are not working. I managed to find a way using AzCopy. Unfortunately there is no such currently working alternative for deleting data. Therefore there is n...
BaluJr.
1

votes
0

answer
462

Views

Angular, Azure.CreateBlobService not reading Environmental variables or values passed in?

I'm using this function from the Azure Blob Service library: https://azure.github.io/azure-storage-node/global.html#createBlobService But its not allowing me to, When specifying the environmental variables in environment.ts it throws up this error: ERROR Error: Credentials must be provided when cre...
Rob
1

votes
0

answer
113

Views

export audit log from azure ad b2c

I am trying to export Azure Active Directory Audit Logs from B2C Tenant (let's call it Tenant 2) to Azure Storage Account in Tenant 1 (main). I want to collect any information about users changing passwords, users being created in AD B2C, etc. So far, I've tryed to set the export profile for Activit...
Stan B
1

votes
0

answer
184

Views

Using NodeJS, How to upload a file into azure container / directory (such as: test-container/folder-test)

I am able to upload file to azure on specific container but I am not able to find any directory reference from azure documentation for Nodejs. While using c# and Java we are able to upload on specific directory of container (sub directories) Nodejs: var BlobService = azure.createBlobService(storage...
Sk Sunny
1

votes
1

answer
492

Views

How to get “Network In” and “Network Out” from Azure metrics?

I have a Virtual machine in Azure VM and I want to get Network-In/Network-Out metrics. From Azure portal, I set Diagnostics settings and metrics are storing into the selected storage table. but there is some different between stored metrics and what I can see in Azure portal. In Azure portal I can s...
Reza Amya
1

votes
1

answer
290

Views

Cant upload file ~200mb to azure blob storage by asp.net core server side

I have server part on Asp.net core which receives a file in Content-Type: multipart/form-data format header and send it to azure blob storage in a stream. But when I'm sending file about 200 MB and more I have an error “The request body is too large and exceeds the maximum permissible limit” as...
Artem Danchenko
1

votes
0

answer
270

Views

Convert excel subsheet into individual CSV in Azure storage cloud using Powershell

I am writing a powershell script which should do following things: Take Excel file from Azure blob storage folder 'A' as input Extract subsheets from Excel and converts into the individual CSV Transfer those CSV to same blob storage in folder 'B' I am able to do 1 and 2nd step but in 2nd step I am g...
Mukesh Sakre
1

votes
0

answer
174

Views

Excel VBA - ADO Connection to Azure Data Lake Store Issue

I am having some issues trying to run a very simple VBA script in Excel VBA using ADO to connect to an Access database file (.accdb) located on my company's Azure Data Lake Store (ADLS) site. We are using Excel 2016 and Access 2016. I have no problem pulling the data into Excel from this Access dat...
Justin CR
1

votes
0

answer
178

Views

Export from Azure Storage Queue to a CSV file

What is the easiest way to export data from Azure Queue to a CSV file without writing codes?
Amir Chatrbahr
1

votes
1

answer
67

Views

Azure storage export job fails with error code ResourceNotFound

I'm trying to export all blobs in a storage account to a set of hard disks, by creating an Import/Export job. I created an export job, shipped four hard disks, and eventually - after several days - the job failed on the last disk. The 'verbose' error log doesn't tell me very much: ResourceNotFound...
user3486482
1

votes
1

answer
48

Views

Does AspnetCore 2.0 uses TLS 2.0 when we upload file to Azure file storage using Microsoft Stoage (CloudStorageAccount)

I am using Aspnetcore 2.0 MVC with entityframework. I am uploading file to Azure file storage service suing Microsoft Azure storage service. Thanks to earlier post in this blog. Want to know whether this uses TLS 2.0 to upload files to Azure, if yes , then how can i identify ?
Lalit Singh
1

votes
1

answer
218

Views

Azure storage sync mechanisms

I have a problem that I have been wracking my brain about and figured I would need some perspective and insight from people who are a lot more knowledgeable about this. What I have currently: Web based application hosted in azure uses azure blob store to store files that are generated as part of dat...
Gjohn
1

votes
2

answer
622

Views

ListBlobsSegmentedAsync doesn't return all blob directories

I have a hierarchy-structured blob container with around 12k blobs. --level1 --level21 --level211 --level212 --level22 so currently I have two issues I can not see ListBlobs, even though it occurs in a lot of articles.I know it is weird. but the compiler doesn't pass. https://i.stack.imgur.com/bVnrC...
Luke
1

votes
1

answer
51

Views

Giving public permission to azure container

I am using rest API to create a container in Azure storage. I want to give public permission or container permission to it to upload blob into the container dynamically.I am wriing 'x-ms-blob-public-access:container' in header but when I am including below error coming Error Result HTTP/1.1 403 Serv...
Taniya Dey

View additional questions