Microsoft and Google two factor authentication both use RFC 6238.

Link. So iOS Google authenticator works with Microsoft and vice-versa. Apple doesn’t follow the standard.