> For the complete documentation index, see [llms.txt](https://docs.jobdone.cc/user_guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jobdone.cc/user_guide/company_level/microsoft-entra-id.md).

# Microsoft Entra ID

### 1. 一般營造廠會買 Microsoft 嗎？

答案是：小包商不會，但「中大型營造廠、建商或工程顧問公司」一定會買。

他們買的不是單純的 Word 或 Excel，而是「Microsoft 365 企業版」。這包含了他們公司專屬網域的 Email（例如 `name@xxx-construction.com.tw`）、公司內部的 Teams 通訊軟體，以及雲端硬碟。

Jobdone 開發這個功能，就是為了去接洽這些有規模、有自己 IT 部門的企業客戶。

### 2. 這個「功能」到底在幹嘛？

這個功能的業界術語叫做 SSO（單一登入）。 對那些買了微軟企業版的大公司來說，他們最討厭讓員工在各種不同的軟體（ERP、人資系統、Jobdone）註冊一堆不同的帳號密碼。

這個功能的作用是：

* 員工端： 員工不需要在 Jobdone 設密碼。他只要點擊「用 Microsoft 登入」，系統會去驗證他那組 `name@xxx-construction.com.tw` 的信箱。
* 管理端（最重要）： 只要員工離職，公司的 IT 人員只要把他的微軟信箱停用，這個員工就會瞬間同時無法登入 Jobdone。不用去各個系統一個個砍帳號，這對大公司來說是買單的關鍵。

### 1. 解決帳號混亂（單一登入 SSO）

* 客戶需求： 讓同仁不需另外再記系統帳號。
* 對應 Jobdone 價值： 現場工程師和內業人員每天要用的軟體（異質系統）很多。跟 AAD 綁定後，只要登入公司的微軟帳號，就能直接進入 Jobdone，不需要多記一組專屬密碼，大幅降低忘記密碼造成的登入障礙。

### 2. 自動同步組織架構，利於電子簽核

* 客戶需求： 透過 AAD 同步取到人員主管資訊，以利簽核。
* 對應 Jobdone 價值： 這對系統內的「驗收單」、「釋疑單」或「會議紀錄」等模組非常有利。大公司的 AAD 內部已經建置好完整的「組織樹狀圖」（誰是誰的直屬主管）。Jobdone 透過 AAD 同步資料後，表單送出時就能自動帶入正確的簽核主管，系統管理員完全不需要在 Jobdone 裡面再手動建立一次繁瑣的簽核層級。

### 3. 集中控管離職與報到（資安防護）

* 客戶需求： 組織人員異動頻繁，通過 AAD 的停用可確認人員帳號的有效性。
* 對應 Jobdone 價值： 營造業人員流動率高，若員工離職，管理員只要在微軟 AAD 端一鍵停用該員工的帳號，該員就會瞬間失去 Jobdone 的登入權限。這樣可以確保專案進度、工地照片與機密資料不會被離職員工存取，管理上最為直接有效。

這段需求的核心邏輯，就是客戶希望把微軟 AAD 當作所有系統的「總大門」與「人事資料庫」，而 Jobdone 只要做好對接即可。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.jobdone.cc/user_guide/company_level/microsoft-entra-id.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
