Login to App Store in VM not possible

I'm running a macOS 15.2 guest on a macOS 15.1.1 host with UTM. I'm trying to install Xcode from within the App Store but cannot login to the App Store. When I enter credentials and click 'Sign In' I get the Error 'An unknown error occurred'.

Would be useful if this worked. Without the xcode stuff the VM would be useless for me.

Login to App Store in VM not possible
 
 
Q