The trickiest part is setting up your app and authentication. Beyond that, you'll POST the /children method/data in the Microsoft graph API to create the folder where you want. The same API serves OneDrive and SharePoint Online. I found the Microsoft Graph Explorer to be a really useful tool to test things.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.