So, I decided to fact-check that nonsense.
Found an article from the Telegraph [1] which links to an older article [2] which supposedly supports that claim. But it isn't mentioned there. It only says that Golfish “can remember where they found food up to 12 days previously.”. The university itself explains the “media feeding frenzy” around the research [3] but does not actually dispute it. Also, the Microsoft study seems to have been reported without context [4]. The article says that, “it turns out that there is no evidence that goldfish - or fish in general - have particularly short attention spans or memories, despite what popular culture suggests.” Finally, I found another article which did some in-depth research into proving these misleading claims false [5].
[1]: http://www.telegraph.co.uk/science/2016/03/12/humans-have-sh...
[2]: http://www.telegraph.co.uk/news/science/science-news/1093788...
[3]: https://www.macewan.ca/wcm/MacEwanNews/RESEARCH_INTO_FISH_ME...
[4]: http://www.bbc.com/news/health-38896790
[5]: https://www.ceros.com/blog/no-dont-attention-span-goldfish/