It has a different pinout in my experience. The exact spec changes between models, I think one or two models of macbook have a standard M2, some (most?) have what looks like an M2 but has extra pins when not actually soldered on.
My experience is only around trying to help a friend get the data off a fried board in a macbook, the desktops might be more standard.