The Limerick side lost their final two home efforts of last season, and suffered their first season-opening home loss since 2006 at the hands of a much-improved Edinburgh side.
Munster flanker CJ Stander dotted down either side of half time but a try from Jack Cuthbert and three penalties by Tom Heathcote saw Edinburgh over the line.
Ian Keatley missed the chance to kick Munster to victory in the 82nd minute, but Foley insists Edinburgh were the worthy winners on the night.
"It's not a nice feeling losing," he said. "Have I won every game I've been involved in? No. Have I learned from them?
"You learn more from your defeats than you do from your wins at times. It's about us now making sure that that performance is our low ebb of the year."
"We trained really well, that's something we spoke about going into London Irish and Gloucester. No matter what we do Monday to Friday, nobody knows about that.
"We get judged on the 80 minutes and it is pretty disappointing to put in ten weeks of excellent work and end up showing that today.
"They won the battle. We were too high, they were low, they cut us. They won the space over the ball. To be honest, it was more on our ball than on their ball.
"We were way too high going into the contact, they were choking us, poaching us, getting penalties."
Follow us on Facebook, join the conversation on Twitter, sign up to ourYouTube channel for extensive match highlights and sign up for our newsletter for regular updates on the GUINNESS PRO12
Guinness PRO12
Suite 208, Alexandra House,
The Sweepstakes
Ballsbridge, Dublin 4, Ireland