hoatranlab.io.vnZalo: 09175168780917516878EmailLinkedIn
MD-102 + MS-102Giai đoạn 3 — OS Deployment & Cloud DesktopM25
M25

Windows 365 & Azure Virtual Desktop

Cloud PC, AVD host pool và FSLogix profile management

MD-102 ~1.5 giờ Cơ bản Giai đoạn 3/7
01

Lý thuyết: Windows 365 & Azure Virtual Desktop

Cloud PC, session-based VDI và FSLogix profile management

Windows 365 Cloud PC là gì?

Windows 365 là dịch vụ Cloud PC — mỗi user được cấp một Windows VM riêng biệt, truy cập qua trình duyệt hoặc Windows App. Không cần quản lý hạ tầng — Microsoft lo toàn bộ.

So sánh Windows 365 vs Azure Virtual Desktop

Tính năngWindows 365Azure Virtual Desktop (AVD)
Mô hìnhCloud PC — 1:1 (1 VM/1 user)Session-based — nhiều user/1 VM
Quản lý hạ tầngMicrosoft quản lý toàn bộAdmin quản lý host pool + VMs
Giá cảFixed per user/monthPay-as-you-go (compute + storage)
Điều khiện mạngGiới hạn — Microsoft Network hoặc Azure vNetTùy biến đầy đủ qua Azure vNet
Intune/Entra joinEntra join tự độngEntra join hoặc HAADJ
Dự phòng (failover)Không — Microsoft SLA 99.9%Có — Availability Zones
Phù hợpSMB, công ty không có Azure infraLớn, nhiều concurrent user, tùy chỉnh cao
FSLogixTích hợp sẵnBắt buộc cấu hình thủ công

Windows 365 Business vs Enterprise

Tiêu chíBusinessEnterprise
Giới hạnTối đa 300 userKhông giới hạn
MạngMicrosoft-hosted networkAzure vNet (tùy chỉnh)
IntuneYêu cầu Intune license riêngBao gồm trong plan
Entra IDChỉ Entra joinEntra join + HAADJ
Gallery imageWindows 11 mặc địnhCustom image + Azure gallery
Conditional AccessHạn chếHỗ trợ đầy đủ
Frontline WorkerKhôngWindows 365 Frontline (shared)

FSLogix Profile Container

FSLogix giải quyết vấn đề roaming profile trong môi trường non-persistent VDI. Profile được lưu trong VHD(X) trên file share (SMB) — gắn vào máy ảo khi user đăng nhập.

Thành phầnMô tả
VHD(X) containerFile chứa toàn bộ profile user (AppData, Documents, NTUSER.DAT)
Azure Files / SMB shareNơi lưu VHD — cần quyền Storage File Data SMB Share Contributor
FSLogix App Rule EditorLọc ứng dụng hiển thị theo user/group (App Masking)
Cloud CacheReplicate VHD sang nhiều location — HA cho Disaster Recovery
ODFC ContainerOutlook cache tách riêng khỏi Profile Container
FSLogix được bao gồm trong Microsoft 365 E3/E5, Windows E3/E5 và RDS SAL — không cần mua thêm license.
02

Lab thực hành: Windows 365 & AVD Deployment

Provision Cloud PC, triển khai AVD host pool và cấu hình FSLogix

Lab A — Provision Windows 365 Cloud PC

Thực hành tại: Microsoft Intune Admin Center → Devices → Windows 365
  1. Mở Microsoft Intune Admin Center (intune.microsoft.com) → DevicesWindows 365Provisioning policies.
  2. Chọn + Create policy. Đặt tên: W365-Policy-VN.
  3. Join type: chọn Entra ID Join. Network: chọn Microsoft hosted network và region Southeast Asia.
  4. Image: chọn Windows 11 Enterprise + Microsoft 365 Apps. Click Next.
  5. Assignments: add group CloudPC-Users. Click Create.
  6. Đợi 15–25 phút — Cloud PC xuất hiện trong All Cloud PCs với status Provisioned.
  7. User nhận email và truy cập qua windows365.microsoft.com hoặc Windows App.
Kết quả đầu ra mọng đợi

Đăng nhập portal — thấy tile "Your Cloud PC" với máy ảo Windows 11 được cấp.

Lab B — Tạo AVD Host Pool trên Azure Portal

Thực hành tại: Azure Portal → Azure Virtual Desktop → Host pools
  1. Vào Azure Portal → tìm Azure Virtual DesktopHost pools+ Create.
  2. Basics: tên hp-prod-sea, Region Southeast Asia, Host pool type: Pooled, Load balancing: Breadth-first. Max sessions: 5.
  3. Virtual Machines tab: chọn Add VMs. Image: Windows 11 multi-session + M365 Apps. Size: Standard_D2s_v3. Count: 2.
  4. Networking: chọn vNet đã có hoặc tạo mới. Đảm bảo subnet không trùng ngưỡng địa chỉ.
  5. Domain join: chọn Entra ID. Tick Enroll VM with Intune.
  6. Workspace tab: tạo workspace mới ws-prod-sea. Click Review + createCreate.
  7. Sau khi deploy: vào host pool → Application groupsDefault DesktopAssignments → add group AVD-Users.
Kết quả đầu ra mọng đợi

Session host xuất hiện trong Host pools với status Available. User truy cập qua client.wvd.microsoft.com.

Lab C — Cấu hình FSLogix trên Session Host

Thực hành tại: Session Host VM → PowerShell (Admin)
# Trên mỗi session host VM — chạy PowerShell với quyền Admin
# 1. Tạo registry keys FSLogix
New-Item "HKLM:\SOFTWARE\FSLogix\Profiles" -Force
Set-ItemProperty "HKLM:\SOFTWARE\FSLogix\Profiles" -Name "Enabled" -Value 1
Set-ItemProperty "HKLM:\SOFTWARE\FSLogix\Profiles" -Name "VHDLocations" -Value "\\\\storageacct.file.core.windows.net\\profiles"
Set-ItemProperty "HKLM:\SOFTWARE\FSLogix\Profiles" -Name "SizeInMBs" -Value 30000
Set-ItemProperty "HKLM:\SOFTWARE\FSLogix\Profiles" -Name "IsDynamic" -Value 1

# 2. Gán quyền lưu trữ trên Azure Files (Azure Portal)
# Storage Account > IAM > + Add role assignment
# Role: Storage File Data SMB Share Contributor
# Assign to: AVD-Users (Entra group)
Kết quả đầu ra mọng đợi
Đăng nhập session, kiểm tra:
C:\Users\ -> chỉ có symlinks (profile thực trên VHD)
\\storageacct...\profiles\_S-1-5-21-xxx.VHDX -> tồn tại và đang mount
03

Tình huống thực tế: Vietnam Airlines và Frontline Crew

Windows 365 Frontline cho tiếp viên không trung tại sân bay

Vietnam Airlines — 1,200 tiếp viên cabin

Vietnam Airlines có 1,200 tiếp viên không trung làm việc theo ca, không có máy tính cố định. Họ cần truy cập hệ thống lịch bay, chính sách và trao đổi qua Microsoft Teams bằng tablet hoặc kiosk tại sân bay. IT team đã triển khai Windows 365 Frontline — 1 license phục vụ 3 user (theo ca), giảm chi phí 67% so với Cloud PC 1:1. Mỗi tiếp viên đăng nhập qua Entra ID — FSLogix đảm bảo profile cá nhân (Teams, Outlook cache) tải về ngay lập tức, sau ca lưu lại.

Giải pháp chi tiết

Yếu tốChi tiết
License modelWindows 365 Frontline — 3 concurrent sessions / 1 license
ProvisioningIntune Provisioning Policy → Entra group (Vietnam-Frontline)
ProfileFSLogix trên Azure Files Premium (SMB) — đảm bảo <5s login time
App MaskingFSLogix App Rule → hiển Crew App, Teams, Outlook — ẩn IT tools
SecurityConditional Access: require compliant device + MFA
MonitoringIntune → Devices → All Cloud PCs → filter Frontline
Windows 365 Frontline yêu cầu Windows 365 Enterprise plan. License được tính dựa trên số user đăng ký, không phải số VM đang chạy.