---
schema_version: "1"
id: b1822ffb5f22fb67b226f3f8dc8080966be5a3baed77831cc0231b6382a6faf9
title: HTTP 401 – 未授權
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/server/trusted_auth_trouble_401.md
canonical_url: https://help.tableau.com/v0.0/server/zh-tw/trusted_auth_trouble_401.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 32c29f6e4988e64aa8839f7650ffdc7af198defe30b6067500b32ccf1b96a92f
description: Understand the HTTP 401 Not Authorized error in trusted authentication.
---
[跳至主要內容](#main-content)

# HTTP 401 – 未授權

若收到 **401- 未授權錯誤**，可能是由於以下原因之一： 

- 可能已將 Tableau Server 設定為將 Active Directory 用於 SSPI。如果您的 Web 伺服器使用 SSPI，則無需設定受信任身體驗證。您可以嵌入檢視，這樣，只要您的使用者是 Tableau. Server 授權使用者並且是您的 Active Directory 的成員，他們就可以存取這些檢視。有關詳細資訊，請參閱 [tsm authentication sspi <commands>](https://help.tableau.com/v0.0/server/zh-tw/cli_authentication_tsm.htm#TSMSspi)。
    
    **附註：**只能在 Windows 版 Tableau Server 上設定 SSPI。
- 或在部署 Tableau Server 後收到 **302 - 重新導向錯誤**，則您編寫用以建構用戶端 URL 的受信任票證程式碼可能未針對兩部分票證 URL 格式的帳戶進行更新。有關詳細資訊，請參閱[從 Tableau Server 獲取票證](https://help.tableau.com/v0.0/server/zh-tw/trusted_auth_webrequ.htm)。