Executed command is empty

Director version (System - About):1.10.2
Icinga Web 2 version and modules (System - About):2.11.4
Icinga 2 version (icinga2 --version):r2.13.7-1
Operating System and version:Debian 11 Kernel 5.10.0-21-amd64
Webserver, PHP versions:Apache 2.4.54 PHP 8.2.3

Hi, I have made copy of virtual machine with working icinga system. With working (invoke) plugins.

New instance has new hostname/api certs and renamed zone and endpoint in director DB tables.
Everything works except imported invoke commands.
I’m inspecting it and
command Invoke-icingacheckcpu not rendered in service.

plugin output

command exist

Reinsert plugin configuration not help.

Buildin windows plugin commands in icinga agent rendered and works fine.

There is nothing to help in master debug log.

the inspect feature only work after the command was executed once

it look like that your agent does not know the command as a icinga command in its commands.conf

There was an error in zone config on windows agent.
Some command in service with atribute agent-no synced into this endpoint.

And was not enabled api feature.

thanks for helping