2017-08-03 187 views
0

我一段時間以來一直在使用REST使用azure的表存儲。上次我實現它很容易。我只是用azures工具生成的SAS URI,但現在當我做同樣的事情,我得到這個錯誤Azure表存儲SAS REST

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> 
<code>AuthenticationFailed</code> 
<message xml:lang="en-US"> 
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:7792095b-0002-0084-1f67-0c06e6000000 Time:2017-08-03T14:47:23.3575632Z 
</message> 
</error> 

有什麼變化,我怎麼能再次存取權限我的表?

+0

您是否爲SAS提供了StartTime?這可能是由於您可能生成SAS的客戶端計算機與身份驗證服務器之間的時鐘漂移所致。 查看此博客以瞭解可能的解決方案 - https://blogs.msdn.microsoft.com/kwill/2013/08/27/http-403-server-failed-to-authenticate-the-request-when-using-shared - 訪問,簽名/ – alwayslearning

回答

0

我找到了答案。只需使用Azure存儲資源管理器生成SAS