GNU/Linux Ubuntu 23.04 Installing TP-Link TL-WN823N Wifi/Bluetooth Driver Guide
Hi! The linked Tutorial shows you Step-by-Step How to Install TP-Link TL-WN823N N300 Dongle Wireless Driver for Ubuntu 23.04 Lunar GNU/Linux.
And the Ubuntu Lunar TP-Link TL-WN823N V2 Setup is based on the Realtek rtl8192EU Chipset Driver Installation.
Especially relevant, in case to check your Adapter Chipset see: How to Check Wireless Device ID on GNU/Linux.
GNU/Linux Ubuntu 23.04 TP-Link TL-WN823N Driver Setup Guide
For V2 see: Realtek rtl8192EU Linux Driver Installation
Instead for the Legacy V1: It should work Out-of-Box with the bundled rtl8xxxu Module.