I have had this before, but forgot the fix, so I am posting it here so that I remember it!
I got the error from SharePoint designer this morning…
The version of Microsoft SharePoint Foundation running on the server is more recent than the version SharePoint Designer you are using. You need a more recent version of SharePoint Designer.
Obviously I have the latest version of SPD and it was talking rubbish. What is the real problem?
Turns out that it is SPD not being very informative when it can’t logon to Office365 and so the fix is simple…switch accounts.