Share via

I want to download old Skype attachment files.

M J 0 Reputation points
2026-03-06T13:08:37.87+00:00

I exported Skype data and found an attachment reference in messages.json.

The file metadata is:

OriginalName: old (Patrick Padermos ).rar
FileSize: 26077905
AMS Object ID: 0-weu-d13-9eaf667c5b6c98b791a4908e4ec8e3be

All AMS endpoints return Unauthorized. Since Skype has been migrated, is there a new endpoint to retrieve AMS attachments?

Microsoft Teams | Microsoft Teams Free | Files
0 comments No comments

2 answers

Sort by: Most helpful
  1. Ruwim.B 6,095 Reputation points Volunteer Moderator
    2026-03-06T15:33:37.43+00:00

    I'm afraid that that this file will no longer be available. Non-image files shared with Skype were saved to the Cloud for 30 days only. After the 30 days period has passed, files are permanently removed from the Cloud servers and can no longer be recovered. Media files, such as images (.png, .jpeg, etc) or video messages were since April 2017 saved permanently on the Cloud and should be available in the export file.

    All media files are saved in the \media folder which is created after extracting the exported .tar file. You can open this \media folder in File Explorer and search for the file ID. In your case, you should search for the"0-weu-d13-9eaf667c5b6c98b791a4908e4ec8e3be." string. It is important to end the ID string with dot, so the search will be for file, and not for a directory.

    Here is an example of the content of the \media folder which was created with the lates Skype export:

    User's image

    0 comments No comments

  2. Q&A Assist
    2026-03-06T13:08:49.0966667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    There is no new endpoint documented for downloading legacy Skype AMS attachments after the Skype-to-Teams migration. Attachments referenced by AMS Object IDs continue to be served from the same Skype/Bot Framework attachment service endpoints and require valid authentication.

    The only supported, documented way to retrieve historical Skype files now is via the Skype data export flow:

    1. Go to the Skype Export page and sign in with the same Microsoft account used in Skype.
    2. Request an export including Files (and Conversations if needed).
    3. When the export is ready, download the .tar archive from Available Exports.
    4. Extract the .tar file (for example, on Windows 10/11 using tar -xvf YOURFILENAME_export.tar in Command Prompt) to access the exported media.

    If the file is not present in the exported media, or AMS endpoints return Unauthorized, there is no supported alternative endpoint to retrieve that attachment.

    For Azure bots used in Omnichannel scenarios, AMS attachments can still be downloaded using the documented Bot Framework attachment endpoint pattern with a valid bot token, but this applies only to Azure bot/Omnichannel integrations, not to consumer Skype history:

    string requestUri = $"https://botapi.skype.com/amer/v3/attachments/{attachmentId}/views/original";
    var httpRequest = new HttpRequestMessage(HttpMethod.Get, requestUri);
    
    var authorization = new AuthenticationHeaderValue("bearer", <botToken>);
    httpRequest.Headers.Authorization = authorization;
    httpRequest.Headers.Add("BotAcsId", activity.Recipient.Id);
    
    HttpResponseMessage response = await client.SendAsync(httpRequest);
    

    If AMS returns Unauthorized and the file is also missing from the official export, the attachment is no longer retrievable via supported APIs.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.