---
# System prepended metadata

title: 01 - Azure Resource 建立教學

---

---
title: 01 - AI Agent Workshop - Azure Resource 建立教學

---

# AI Agent Workshop - Azure Resource 建立教學
 
---
參考資料: 
+ [Create a project for Azure AI Foundry](https://learn.microsoft.com/en-us/azure/ai-foundry/how-to/create-projects?tabs=ai-foundry&pivots=hub-project)

---
 
## 一、前置需求
 
### Required Permission for Subscription (擇一即可):
+ Resource Group Owner: 擁有管理指定資源群組的完整權限。
+ Contributor: 可在訂閱或資源群組中建立及管理所有類型的 Azure 資源，但無法授權其他使用者。

### Require Access for Deep Research Model:
+ 一個Subscription Id 對應一個申請單 [Request Form](https://aka.ms/oai/cuaaccess)
+ 申請確認
![image](https://hackmd.io/_uploads/ryF5PPAqgl.png)
+ 申請核準
![image](https://hackmd.io/_uploads/S1kODPR5xx.png)


---

## 二、Azure AI Foundry Project 建立

### 1.	在Azure Portal 輸入 Azure AI Foundry
![image](https://hackmd.io/_uploads/B1laTQeXeg.png)

### 2.	選擇 **AI Foundry**
+ 點選 Create
![image](https://hackmd.io/_uploads/BJPYaRuBll.png)

### 3.	Create **AI Foundry**
+ Resource group: 新建立或既有Resource Group
+ Region: 建議選擇 **West US** 區域，該區同時支援 MCP 及 Deep Research Tool
+ name: 輸入AI foundry name
+ default project name: 輸入任一名稱
+ Next
![image](https://hackmd.io/_uploads/SkNKLi-Yeg.png)

+ Next
![image](https://hackmd.io/_uploads/HyDpRAurxe.png)
+ Next
![image](https://hackmd.io/_uploads/SkwkJkYHeg.png)
+ Next
![image](https://hackmd.io/_uploads/r1hlkJKrxx.png)
+ Next
![image](https://hackmd.io/_uploads/SJHfkkYSeg.png)
+ Create
![image](https://hackmd.io/_uploads/rJzuDsZYel.png)

+ Go to resource
![image](https://hackmd.io/_uploads/BkdWuiZKeg.png)

### 4.	Assign User Pemission
如權限授予失敗請15分鐘後再測試
+ Access Control (IAM)
![image](https://hackmd.io/_uploads/ryVUojbFex.png)
+ `+ Add` --> Add role assignment
![image](https://hackmd.io/_uploads/SyS9ii-txl.png)
+ `Azure AI Account Owner` --> Next
![image](https://hackmd.io/_uploads/H19RsiWKgl.png)
+ `User, group, or services principal ` --> `+ select members` --> 輸入你的名字 --> Select
![image](https://hackmd.io/_uploads/rya7hj-Kxl.png)
+ Review + Assign
![image](https://hackmd.io/_uploads/Hyrh3jZtxx.png)
+ 重覆上述之動作，分別完成建立`Azure AI User` 及 `Azure AI Project Manager`
---
## 三、Bing Resources 建立
### 1.	建立 Grounding with Bing Search
+ 在Azure Portal search `Bing Resources`
![image](https://hackmd.io/_uploads/B1P482Ztlx.png)
+ `+Add` --> `Grounding with Bing Search`
![image](https://hackmd.io/_uploads/S17hUhZKgx.png)
+ 指定 Resource Group --> 輸入任一Bing Search Name -->選擇 Price tier --> confirm --> Review + Create
![image](https://hackmd.io/_uploads/rkM6DnZYeg.png)
+ Create
![image](https://hackmd.io/_uploads/HkvM_hWFee.png)

### 2.	建立 Grounding with Bing Custom Search
+ 在Azure Portal search `Bing Resources`
![image](https://hackmd.io/_uploads/B1P482Ztlx.png)
+ `+Add` --> `Grounding with Bing Custom Search`
![image](https://hackmd.io/_uploads/S17hUhZKgx.png)
+ 指定 Resource Group --> 輸入任一Bing Custom Search Name -->選擇 Price tier --> confirm --> Review + Create
![image](https://hackmd.io/_uploads/rke2O3bKxx.png)
+ Create
![image](https://hackmd.io/_uploads/S1TJF2-Fxe.png)

---



