At least two Chinese hacking groups were using security flaws in SharePoint, a popular collaboration software, to breach systems, Microsoft said.