Theodorus Agum Gumilang
Theodorus Agum Gumilang

Reputation: 1486

Azure ADB2C Upload to blob storage error

I try to upload my html page to Azure blob storage for my Azure b2c, but whenever I tried to upload the file, I keep getting this error:

Azure AD B2C Blob Storage Helper Tool

This tool will upload all contents of a directory to an Azure Blob Storage Container you specify.  
It will also enable CORS access from all origins on each of the files.

Enter your Azure Storage Account name:
sample  

Enter your Azure Blob Storage Primary Access Key:  
***==  

Enter your Azure Blob Storage Container name:  
https://sample.blob.core.windows/sample  

Enter the path to the directory whose contents you wish to upload:  
C:\Users\admin\Downloads\B2C-AzureBlobStorage-Client-master\B2C-AzureBlobStorage-Client-master\sample_templates\wingtip  

Error Making Request to Azure Blob Storage:

The remote server returned an error: (400) Bad Request.
Press Enter to close...

Did I make a mistake in here? Or is there error in the storage helper tool? I Already follow al the tutorial from here https://learn.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-ui-customization-helper-tool

Upvotes: 0

Views: 293

Answers (1)

Shui shengbao
Shui shengbao

Reputation: 19195

Enter your Azure Blob Storage Container name:

You should enter your container name not URL.

Please replace https://sample.blob.core.windows/sample to sample.

Upvotes: 1

Related Questions