Forum Discussion
How to Upload Files Using Office 365 Agents SDK Across Multiple Tenants
Hello @chetanoptimus, Thank you for reaching out!
Use Microsoft Graph for file uploads, ensure your app is multi-tenant, handle user consent, and use delegated permissions for user uploads. The Agents SDK helps with context and authentication, but file upload is via Graph API.
Reference Document-
1.Upload small files - Microsoft Graph v1.0 | Microsoft Learn
- Sayali-MSFTSep 01, 2025
Microsoft
Hello @chetanoptimus, Could you please confirm if your issue has resolved with provided suggestions or still looking for any help?
- chetanoptimusSep 01, 2025Copper Contributor
Hi, thank you for sharing the references.
I am still unclear on how this would work in practice since multi-tenant bots have been deprecated as of July 31, 2025. In that scenario, I am not sure how external tenant users would be able to authenticate and then upload files through the Agents SDK. Could you clarify what the recommended approach is for enabling cross-tenant file uploads now that multi-tenant registration is no longer supported?
- Sayali-MSFTSep 02, 2025
Microsoft
Hello @chetanoptimus, single tenant/multitenant only applies to the Azure Bot registration type and not the Entra/AAD app used for Bot creation. Entra app can continued to be created as Multi-Tenant (Accounts in any organizational directory (Any Azure AD tenant – Multitenant).
Only for the "Type of App" in Azure bot registration, options are now limited to Single Tenant and User-Assigned Managed Identity.