I have a 360 account and 5TB storage. I am building a web portal for my office so everyone can put their work data directly to my account i use PHP to build it so i need them to upload files and get the share link so they can share it to others employees. So please help something otherwise i have to go for drive api please help i love onedrive
It sounds like you're over-complicating things - if you use SharePoint/Teams instead, you can design out the need to micromanage permissions via a script at upload. It'll also keep the data available to your colleagues if/when you leave the business. OneDrive is an excellent tool but, to the man with a hammer, everything looks like a nail.