Forum Discussion
Store Teams-Uploaded Files in Azure Blob Storage Instead of OneDrive for Copilot Studio
Unfortunately, Teams itself doesn’t let you change where chat-uploaded files are stored — in 1:1 or group chats, they’ll always go into the sender’s OneDrive, and in channels, they go to SharePoint. Copilot Studio just gets a reference to that file, so there’s no setting to make it land straight in Blob Storage. If you want them centralized in Azure Blob, you’ll need to catch them after they’re uploaded and move them. Easiest way is with Power Automate: trigger on “new file in OneDrive/SharePoint,” then push it into Blob Storage and hand the Blob URL back to the bot. If you want it near real-time, you can have your bot or a background service listen to Teams messages via Microsoft Graph, download the file, and push it to Blob directly. Cleanest long-term option is to skip Teams’ native upload altogether and use your own upload control that writes straight to Blob with a SAS token — but that’s a bit more dev work.