I have created an automation principal. When I use it for file deploy jobs or audit jobs, it works. But when I try to deploy a file using blpackage, it fails during simulate phase giving the error "Received invalid TJM status for deploy execution". To verify if this is related to AP, I used the setup without AP by using local.user file mapping and it worked. Any idea, what I am doing wrong here. I know this information is very little, let me know what additional information is required.
Looks like file server had wrong permissions (I might have pushed the ACLs on it which I shouldn't have done). So far, everything is working as expected .