VMs list which are not used or logged in by users in past 90 days.

Need help to fetch a list of OpenNebula VMs which are not used or logged in by users in past 90 days.

That is something you’ll have to check with the OS inside the VM itself. OpenNebula simply prepares the VM to be used. The user does not necessarily need to interact with OpenNebula to use the VM.