Gpo not appliet gpo list window erorr

I’ve 5.0 ucs server with this error:

samba-tool gpo list windows ----->
ERROR: Failed to find account windows
  File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 514, in run
    user_dn = msg[0].dn

How can i fix it?
Thank you

samba-tool gpo list <username|machinename>

samba-tool gpo list <username|machinename> ----> no errors
but on RSAT:

What does “no errors” mean?

Are GPOs being output?

The output should look something like this.

root@ucs-xxxx:~# samba-tool gpo list ucs-xxxx
GPOs for user ucs-xxxx
Default Domain Controllers Policy {6AC1786C-016F-11D2-945F-00C04FB984F9}
Default Domain Policy {31B2F340-016D-11D2-945F-00C04FB984F9}
IPv6 deaktivieren {7B689CDB-5816-4DC8-8D8B-CAB49D5112A1}

This is the output:

GPOs for user ve-99-vm01
    GlpiAgent10 {429A6DDC-885C-4E27-9334-7315BF4788EE}
    FixPrinting {FDE62DC7-33A1-4B6F-8B75-98FA847119D5}
    WorkStationWSUSolicy {53BE1010-F343-4C47-8D06-098973D1EC17}
    TS_PowerOPT {8D060512-3DA2-421F-A3C2-B94986E14941}
    AnsibleManagment {DBDDE8B8-5F2F-44C9-AEA8-10F7786C66EE}
    NO-Cortana {1AC64B3E-F31D-465C-8BAB-4498A895FA0B}
    Default Domain Policy {31B2F340-016D-11D2-945F-00C04FB984F9}

ve-99-vm01 is the Windows Machine wich use RSAT with screenshot errors

ls /var/lib/samba/sysvol/yourdomain/Policies/
Look after winlogon.admx. The GPO is faulty.
Delete or move winlogon.admx and see if the error is still displayed in RSAT.

There are many mistakes like this. Then I think it’s caused by sysvol sync problem