ระหว่างลอง Lab ของ SC-200 Security incident management in Microsoft Sentinel > Exercise setup ตรง Exercises มี ARM Template ให้ทดสอบ แต่เมื่อลอง Deploy ไป Error Bad Request ซะงั้น

พอลองเข้าไปดู Detail มี Error
"Pricing tier doesn't match the subscription's billing model. Read http://aka.ms/PricingTierWarning for more details."
หลังจากส่อง Resource ที่ Error ต่อไปต้องไปดูใน ARM Template ว่าตัวไหนมีปัญหา อย่างของผมจะเป็นตัว "Microsoft.OperationalInsights/workspaces"
สิ่งที่ต้องทำ
- เข้าไปตรวจสอบ Reference Doc ของ Microsoft.OperationalInsights/workspaces - Bicep & ARM template reference
- จากนั้นดูค่า Property ที่มีปัญหาของผมเป็นค่า Free อยู่ แต่แอบแปลกใน apiVersion ดูเก่าเหมือนกันนะใน MS Learn
- ลองแก้ดู อย่างผมลองจากแก้ค่าจาก free มาเป็น PerGB2018
ข้อควรระวัง ค่าใช้จ่ายครับ อย่างของผม เข้าใจว่า ถ้าเป็นแบบ pay-as-you-go น่าจะต้องใช้แบบ PerGB นะ (ปล. Account ผมตอนแรกสมัครแบบ free credit ไม่ได้ด้วย สิทธิที่ฟรี 1 ปี น่าจะไม่มีไปด้วย


- ลอง Deploy อีกรอบ สำเร็จครับ ที่เหลือลองลุยกันต่อครับ

Discover more from naiwaen@DebuggingSoft
Subscribe to get the latest posts sent to your email.