Teamviewer unattended access requires interaction on remote Windows/Centos machine

I have been using Teamviewer for years for unattended access to remote machines.

I have recently upgraded to Version 15 running from a Windows 10 machine to Windows 10 and Centos 7.9 remote machines, all running latest versions.

Every time I connect to a remote machine, I have to click to allow screen sharing and remote control.

I have tried assigning the remote machines to accounts and granted easy access, and also personal passwords but I keep needing somebody to click to allow access.

How can I get it working again?

Windows 10 / Centos 7.9 / Teamviewer 15 all very latest versions with all updates applied.