Recent issue uploading files into chat in teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1899533%22%20slang%3D%22en-US%22%3ERecent%20issue%20uploading%20files%20into%20chat%20in%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1899533%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20the%20past%20week%20a%20number%20of%20our%20users%20have%20been%20unable%20to%20upload%2Fshare%20files%20into%20teams%20chat%2C%20the%20file%20uploads%20and%20goes%20into%20the%20message%20but%20when%20sending%20the%20message%20it%20then%20fails.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EUser%20uploads%20the%20file%20which%20goes%20to%20their%20%22%3CSPAN%3EMicrosoft%20Teams%20Chat%20Files%22%20folder%20in%20OneDrive%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3ETeams%20sends%20driveItem%2Finvite%20API%20call%20to%20sharepoint%2Fonedrive%20passing%20recipients%20of%20the%20user%20who%20uploaded%20the%20file%20and%20the%20other%20chat%20recipient%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EdriveItem%2Finvite%20API%20call%20fails%20with%20403%20stating%20the%26nbsp%3B%22The%20feature%20has%20been%20disabled.%20Please%20contact%20your%20admin%20to%20get%20it%20enabled.%22%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%3EIf%20you%20replay%20the%20invite%20API%20request%20but%20change%20the%20recipient%20list%20to%20exclude%20the%20uploader%20themselves%20(as%20the%20file%20has%20been%20uploaded%20to%20their%20onedrive%20anyway)%20the%20API%20call%20completes%20successfully.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEqually%20changing%20the%20uploader%20in%20the%20recipient%20list%20from%20their%20default%20email%20address%20(which%20teams%20is%20using)%20to%20their%20UPN%20this%20also%20allows%20the%20API%20call%20to%20complete%20successfully.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESo%20I%20presume%20a%20bug%20has%20been%20introduced%20that%20is%20either%20incorrectly%20including%20the%20uploader%20in%20the%20share%20recipient%20list%2C%20it%20is%20incorrectly%20using%20the%20uploaders%20email%20address%20instead%20of%20their%20UPN%2C%20or%20the%20sharepoint%20api%20has%20changed%20that%20it%20no%20longer%20works%20with%20an%20email%20address%20and%20requires%20a%20UPN.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI've%20tried%20changing%20the%20sharing%20settings%20in%20sharepoint%2Fonedrive%20to%20allow%20links%20to%20be%20share%20with%20anyone%20in%20or%20out%20of%20the%20organisation%20and%20with%20or%20without%20logging%20in%20being%20required%20but%20this%20didn't%20appear%20to%20make%20any%20difference%20either.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHas%20anyone%20else%20experienced%20this%20recently%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1899533%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConversations%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1953240%22%20slang%3D%22en-US%22%3ERe%3A%20Recent%20issue%20uploading%20files%20into%20chat%20in%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1953240%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F873090%22%20target%3D%22_blank%22%3E%40atmetis42%3C%2FA%3E%26nbsp%3BI%20have%20been%20trying%20to%20upload%20a%20file%20all%20morning%20and%20I%20am%20getting%20the%20error%20message%20asking%20me%20to%20check%20back%20later.%20Is%20there%20a%20fix%20for%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

In the past week a number of our users have been unable to upload/share files into teams chat, the file uploads and goes into the message but when sending the message it then fails.

 

  1. User uploads the file which goes to their "Microsoft Teams Chat Files" folder in OneDrive
  2. Teams sends driveItem/invite API call to sharepoint/onedrive passing recipients of the user who uploaded the file and the other chat recipient
  3. driveItem/invite API call fails with 403 stating the "The feature has been disabled. Please contact your admin to get it enabled."

If you replay the invite API request but change the recipient list to exclude the uploader themselves (as the file has been uploaded to their onedrive anyway) the API call completes successfully.

 

Equally changing the uploader in the recipient list from their default email address (which teams is using) to their UPN this also allows the API call to complete successfully.

 

So I presume a bug has been introduced that is either incorrectly including the uploader in the share recipient list, it is incorrectly using the uploaders email address instead of their UPN, or the sharepoint api has changed that it no longer works with an email address and requires a UPN.

 

I've tried changing the sharing settings in sharepoint/onedrive to allow links to be share with anyone in or out of the organisation and with or without logging in being required but this didn't appear to make any difference either.

 

Has anyone else experienced this recently?

 

2 Replies
Highlighted

@atmetis42 I have been trying to upload a file all morning and I am getting the error message asking me to check back later. Is there a fix for this?

Highlighted

@verdinemba I've not found one but this appears to affect random pairings of users and not a whole tenant. Some it was affecting are now working again and others have broken, i really have no idea what is going on but it can't be admin/user configuration related as no config options have changed for the people for who it broke and is now working again.