Leam, Welcome to Microsoft Q&A! Thanks for posting this question.
Firstly, I have checked on this issue and also noticed that you have raised multiple threads on MSDN, Q&A and also on SO. I completely understand the importance and urgency with this matter. We apologies for all the inconvenience and frustration you had with this scenario.
On one of your MSDN thread, I see that Pramod Valavala (we discussed on this internally) has shared the right guidance.
“You need a different way to authorize and get the required access token since the code you have will try to open a browser for upload. On Azure, you would have to first perform an authorization code flow to get the required access token and then use that for your upload.”
Just to isolate, blob upload vs YouTube upload (fiddler trace) , the Azure Functions runtime uses the storage account connection string for all functions except for HTTP triggered functions. The storage account must be a general-purpose. Instead of larger data upload, test with smaller data file upload to the blob storage.
As a side note and you’re probably already aware that we're migrating from MSDN to Microsoft Q&A as our new forums.
Azure Functions, Azure Storage and other MSDN forums have not yet been migrated to Q&A. Based on the integration scenario you’re trying to accomplish, the Azure services involved, you can continue to ask questions related to Azure Function & Azure Storage on respective MSDN forums until all the MSDN forums are migrated to Q&A.
We are actively working to onboard remaining Azure services on Microsoft Q&A.
We will make a public announcement once complete.
Want to learn more about new platform and the services which are currently onboarded, kindly checkout this FAQ- Microsoft Q&A Getting Started: https://learn.microsoft.com/answers/articles/388/microsoft-qa-frequently-asked-questions.html