I was having "Workload ID maui is not recognized" issue on Windows. The issue is fixed by re-initiating the installation of .NET SDK and selecting Repair option. After the repair is complete I able to install maui workload.
Repair