Microsoft only allows Business Premium and Enterprise 365 licenses on shared instances like Azure Virtual Desktop machines.
In shared environments, you can use only Microsoft Business Premium and Enterprise-level subscriptions to Microsoft 365.
To check your version, see How can I tell what version of Microsoft 365 I’m using? and upgrade if needed.