Skip to main content

Notifications

Announcements

No record found.

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
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,661 Super User 2024 Season 2 on at
    Temporary file storage
    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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans