Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Administer & Monitor
Suggested answer

Auzre Blob - possible data loss - monitoring

(1) ShareShare
ReportReport
Posted on by 27
I have an issue with Azure File upload in Power Pages and the data that its leaves in the Notes table.

I will explain more about what I am doing later but the end problem is when an upload from the site is initiated, a row in the note table is created but the “documentbody” is never populated (even after hours/days), meaning I have no data about the Azure details of the upload. I am estimating that this is happening about 7% of the uploads. I have located a few of the ‘blank’ note documents where there is data in Azure, but mostly it looks like the data hasn’t hit azure.

The only way that I can replicate this error is by killing the browser session before the content has finished uploading so it could be that the few ‘errors’ I am seeing are my users killing there session / network errors etc.

The main question is, is there any tracing / logs that anyone is aware of that the Power Platform keeps? I would assume that there must be a thread that times out if the user kills the session, thus Power Platform will not have committed this to Azure. I can find little or no information on how this process works, and how it can be debugged.

Background
 
I am not a fan of the Azure Blob implementation because of several issues but the main one that I am working around is the fact that you can only upload 15 files, which appears to be a limitation around the notes facility. My users are generally uploading many smaller files, but I need them in Azure Blob.

To that end, I have created a cloud flow that is triggered when a note is created. I copy the key details from the note into other tables, and once that is done, the note is deleted. This means that user can upload as much as they need, in batches of 15. Mostly this is working fine.

It’s the cloud flow that spots that the “documentbody” is empty. The file name, size and all associated data with the note are there, except the document body (the base64 JSON details that Azure Blob passes back) is missing / blank.

I have put in retries and delays into the flow to see if the note is created before the upload is finished, but the notes without “documentbody” remain in Dataverse for weeks after the upload and the “documentbody” is never populated.
 
It could be a genunie error (something like a network error) but i need more detail than power pages is giving me as to why the expected behaviour didn't happen.
Categories:
  • JBC777 Profile Picture
    27 on at
    Auzre Blob - possible data loss - monitoring
    Thanks SwatiSTW for your reply. You use the word 'likley due to session termination' and i would like to get a bit more definitative. Its the flow that I would like more detail on. For example, if the session has terminated, why has the note been created in the first place?if the note is created at the sametime as a 'job' to wait for the data from Azure, shouldn't that job update the status of the note? shouldn't the Azure job eentually timeout and if it doesn't shouldn't it indicate this?
     
    Remember, with the Azure logging i have, i can locate data that IS in Azure but NOT in the Note HOWEVER that could be the user uploading 2, with one session terminating.

    I have already got most of what you suggest in place.
     
    1. i have built retries into the flow and i can see that a few of them resolve the tag missing. I have an intial delay of 5 seconds, then 3 retry loops each with 5 second delay. so i will wait 20 seconds in total. 
    2. I do check once per day the notes queue and anything older than 2 hours i copy the data out of the note (minus the 'documentbody') , alert the admin and delete the note.
    3. I have some log details from Azure but looking at your suggestion there is better 'transaction' logging i can use. this may be a big help (but something that should really be included in the general flow)
    4. I haven't used Dataverse logging but will do. 

    user behaviour. that's never easy.
     
  • Suggested answer
    SwatiSTW Profile Picture
    532 Super User 2025 Season 1 on at
    Auzre Blob - possible data loss - monitoring
    Your issue is that some file uploads in Power Pages create a Note record, but "documentbody" remains empty indefinitely—likely due to session termination, network failures, or a timing issue where Power Automate triggers before the file fully uploads.
    Try below solution-
    1. Enable Dataverse auditing in Power Platform Admin Center to track missing documentbody entries.
    2. Use Power Automate retry logic to check "documentbody" after 5-10 minutes and reattempt fetching Azure Blob details if still empty.
    3. Set up Azure Monitor & Log Analytics to track failed or incomplete uploads.
    4. Create an alert in Power Automate to notify admins if an upload stays blank for more than 15 minutes.
    5. Monitor user behavior to check if session terminations or browser closures are causing incomplete uploads.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,688 Most Valuable Professional

Leaderboard

Featured topics