web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Temporary file storage

(0) ShareShare
ReportReport
Posted on by 11
I've been searching online but unable to find out about what the retainage limits are on temporary file storage.  When I prompt a user to import a file, we can use a chunk of code like this: 
 
FileUploadTemporaryStorageResult uploadFileResult = File::GetFileFromUser();
 
The user selects a file and it's uploaded to some temporary storage. Then we can read the file using one of the StreamIO classes.  Do those temporary files get automatically removed by Microsoft at some point?  Is there any guarantee how long the file will remain there?  I'm trying to determine if it would be a poor design to prompt a user for a file to upload into temporary storage and then pass the temporary file information like download URL to a batch job for processing.  I couldn't find anything about whether the temporary files go out of scope or get cleaned up at some point.  
 
Thanks in advance if anyone has knowledge or can link me to any documentation on this subject!
Adam
I have the same question (1)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at
    Hi Community user,

    The retention period for the temporary BLOB storage is 7 days. The value is maintained in the class FileUploadTemporaryStorageStrategy, method getBlobExpirationTimeSpanInMinutes. The file will be deleted automatically by the Azure BLOB storage service.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans