I have a SQL 2017 server and the maint plan recently stopped deleting files.
The SQL Server Agent is running as a domain account.
The Backups folder has the same domain account with full permissions.
Running the T-SQL command in a query window works fine to delete the files.
The maint plan succeeds but obviously fails.
I've gone through dozens of other articles and can't find an exact scenario as this.
I've recreated the maint plan, SSMS is run under the SA account.
The SQL Database local user is also on the share.