We recently did an export of all tables in our Dataverse environment to create a backup of old Dynamics 365 data in SQL. However, we are struggling to locate the table that stores the actual Base64 of the email attachments/images that can be decoded. The only thing we have found thus far are attachment GUIDs which aren't useful by themselves.
Solved! Go to Solution.
Hi @alex93jansen, @dpoggemann,
There are different types of storage in Dataverse.
The storage SAS link @alex93jansen provided is to retreive data form DataLake if Dataverse is exporting to DataLake which is completly different.
Hope this helps!
Hi @alex93jansen ,
Please review the following: https://docs.microsoft.com/en-us/power-platform/admin/capacity-storage#summary-tab
The tables used for storage of the attachments are identified here.
So if I understand correctly, the actual attachment files are stored in the File Storage, and tables use GUIDs to reference the files.
I followed this tutorial to access the File Storage, but it returns empty (no errors, no folders or files) https://docs.microsoft.com/en-us/power-platform/admin/storage-sas-token
Hi @alex93jansen ,
The files are still stored in tables from my understanding, space for these specific areas are calculated as File storage by Microsoft. See list below. The Attachment table is the key table utilized to store attachments. @EricRegnier , any feedback or differences from your background on this one...
Number | Description |
---|---|
(1) | Storage capacity usage
|
Hi @alex93jansen, @dpoggemann,
There are different types of storage in Dataverse.
The storage SAS link @alex93jansen provided is to retreive data form DataLake if Dataverse is exporting to DataLake which is completly different.
Hope this helps!
Thanks @EricRegnier and @dpoggemann I was able to retrieve the email attachments from that table by using Power Automate.
User | Count |
---|---|
19 | |
15 | |
14 | |
10 | |
8 |
User | Count |
---|---|
40 | |
30 | |
23 | |
22 | |
16 |