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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Best practices for managing storage growth and cleaning "orphaned" records in Tenant Media

(0) ShareShare
ReportReport
Posted on by 66
Hi community,
I’m currently managing a Business Central SaaS environment that has reached 80% of its storage capacity. After performing a technical analysis, I identified that approximately 40% of our total storage consumption is being driven by the Tenant Media (2000000184) and Tenant Media Set (2000000185) tables.

We are looking for advice on the best way to handle this growth and clean up our storage safely. Specifically, I have a few questions:
  • Handling Orphaned Records: Is there a standard, supported procedure or a recommended AL pattern to safely identify and remove "orphaned" records from Tenant Media that are no longer linked to any business record (e.g., deleted vendors, items, or documents)?
  • Maintenance Tools: Besides standard Data Retention Policies, are there any native Codeunits or best practices you recommend for managing media cleanup without compromising data integrity?
  • External Archiving: For high-volume environments, is it a common practice to offload attachments to external storage (like Azure Blob Storage) while keeping only a link in BC? If so, what are the recommended patterns for this architectural change?
I want to ensure we don't break any references or audit trails. Any insights, experiences, or cautionary tales regarding media management in BC SaaS would be greatly appreciated.
 
Thanks in advance for your help!
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 673 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 409 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 375 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans