Hi @CharlieLor ,
Connection may not be configured correctly or you may not have the right permissions on this connection.
It seems a permission error.
First please ensure that the Local server connection has been configured correctly.
And then please check the account which you are used to run the maintenance plan has the full permission to access the Local server connection.
It is highly recommended to run the package via proxy account in agent job.
Running a SSIS Package from SQL Server Agent Using a Proxy Account
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.