I would just change the food location.
We have many Opossums show up nightly to see what we put in our compost bins.
This old guy was “out late” one morning... still rooting around at 7:15am.
The chickens and our 6 month old cat found it interesting entertainment.
He hissed and then turned around and awkwardly left.
When they get into the outside tool shed and nest it gets messy.
I have found that a leaf blower works well to shoo them out and make it clear they aren’t welcome.