---
schema_version: "1"
id: b8cf16fe798c60575ed27252fd87890b055479e1b9c98d0bb4bd7f4a0a5d204d
title: HTTP 401 – 未授權
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server/trusted_auth_trouble_401.md
canonical_url: https://help.tableau.com/current/server/zh-tw/trusted_auth_trouble_401.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 14bca17c73db6243de46b6e2abb2b70c24cc569b4b8176eacce699978f0dd03a
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/current/server/zh-tw/cli_authentication_tsm.htm#TSMSspi)。
    
    **附註：**只能在 Windows 版 Tableau Server 上設定 SSPI。
- 或在部署 Tableau Server 後收到 **302 - 重新導向錯誤**，則您編寫用以建構用戶端 URL 的受信任票證程式碼可能未針對兩部分票證 URL 格式的帳戶進行更新。有關詳細資訊，請參閱[從 Tableau Server 獲取票證](https://help.tableau.com/current/server/zh-tw/trusted_auth_webrequ.htm)。