Re: Not able to create file in OneDrive
HI @JabbarCRM
This is tricky, indeed. If you want to give users or other people the ability to upload files and then save them to a OneDrive, why don't you use a Form to do that? Provide the form to your users and, when a new response is submitted, grab the file and save it to your one drive. It's a lot cleaner, and you don't need to deal with messy HTTP posts and base64 conversions.
I know I'm not addressing your issue directly, but what you're trying to do is parsing the file multiple times to be able to send it through the "pipe" and getting corrupted files on the other side.
Let Flow do all the work for you; it's my suggestion.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel