Azure ADB2C上载到blob存储错误

时间:2017-09-18 03:11:13

标签: c# azure xamarin.forms azure-storage azure-active-directory

我尝试将我的html页面上传到Azure b2c的Azure blob存储,但每当我尝试上传文件时,我都会收到此错误:

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  
  

向Azure Blob存储发出请求时出错:

     

远程服务器返回错误:(400)错误请求   按Enter关闭...

我在这里犯了错误吗?或者存储助手工具中是否有错误?我已经按照这里的教程https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-ui-customization-helper-tool

进行了操作

1 个答案:

答案 0 :(得分:1)

  

输入您的Azure Blob存储容器名称:

您应输入您的容器名称而非URL。

请将https://sample.blob.core.windows/sample替换为sample