My OneDrive is refusing to synchronize today, and for some days, so a good a time as any to get to grips with the API, with the arguable advantage that it will force me to get the OAuth2 part working. To get anywhere with this, you need a Microsoft Developer account. Links for all this are the bottom. By the end of this session, I was at least getting a response that was valid enough to drive the next part… which I have not yet got to. Code is here.