# Azure AD Setting

ขั้นตอนแรกไปที่ Third-party APIs จากนั้นกดที่ ตั้งค่า ในหัวข้อ Azure AD

<figure><img src="/files/hPzmVMynb9Td7JvL679Q" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/p3nM4jVSMazHkQmSZP4b" alt=""><figcaption></figcaption></figure>

จากนั้นเปิด Web Azure ขึ้นมาแล้วไปที่ menu Overview

<figure><img src="/files/3pf01SXUJQHDbk4ibY8d" alt=""><figcaption></figcaption></figure>

นำข้อมูลของ Azure ไปใส่ใน Seara ตามเส้นสีแดง

<figure><img src="/files/PyvAB8W15CSWg30VW3ZC" alt=""><figcaption></figcaption></figure>

หน้า Web Azure AD ไปที่เมนู Manage > Certificates & secrets

กด <mark style="color:blue;">Client secret  > New client secret</mark> &#x20;

หลังจากสร้าง Key เสร็จแล้วให้ copy ในส่วนของ Value ไปใส่ใน Seara ตามเส้นสีแดง

<figure><img src="/files/UK1vk7Jtp63Zo5lGpV7r" alt=""><figcaption></figcaption></figure>

ไปที่เมนู Manage > API permissions จากนั้นกด Add&#x20;

&#x20; ตั้งค่าตามภาพ     <mark style="color:blue;">Microsoft APIs > Microsoft Graph</mark>

<figure><img src="/files/uTvXn7N4pBSlyNpRfWh0" alt=""><figcaption></figcaption></figure>

ตั้งค่าตามภาพ   <mark style="color:blue;">Delegated permissions</mark>

<figure><img src="/files/qArmbdQuw7YKCleyIp72" alt=""><figcaption></figcaption></figure>

ตั้งค่าตามภาพ

<figure><img src="/files/y5yB3yAF3W8m37hXwtqJ" alt=""><figcaption></figcaption></figure>

ไปที่เมนู Manage > Authentication

กด <mark style="color:blue;">Add URI แล้ว Copy Link Callback URLจาก Seara มาใส่</mark>&#x20;

<figure><img src="/files/cDnhNf59DIMoOtzHwKEg" alt=""><figcaption></figcaption></figure>

&#x20;                   <mark style="color:green;">หลังจากนี้ให้ลอง Connect WiFi แล้ว Login โดยใช้ Account ของ Azure AD ได้เลยครับ</mark>


---

# Agent Instructions: 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:

```
GET https://manual.seara.biz/systems/third-party-apis/azure-ad-setting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
