Qvm-prefs from domU

Hello,

i am trying to use the admin API to manage some qubes from a domU.

my /etc/qubes/policy.d/30-user.policy is

admin.vm.property.Get * admin-test dom0 allow
admin.vm.List * admin-test dom0 allow

from admin-test

qvm-prefs test-qube

results in:

no such domain: 'test-qube'

I see in the logs, that all related qrexec calls are allowed

I tinkered a lot with the rules and was at some time able to get the klass property of the qube, but not the vcpus (property does not exits)

Does anybody know what i am doing wrong?

I was missing the stuff explained here.