cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PaulD1
Super User
Super User

Error handling: Azure Blob Storage authentication error

I have an app which is saving images to Azure Blob Storage, setting a SharedLink and then recording the info (into CDS).

The App is used on mobile devices on WiFi or cell data.

Occasionally the users are getting the following error:

 

image.png

 

Check the Blob Storage metrics in Azure Portal I see the following:

image.png

I suspect the errors in the App occur due to network issues (there is no pattern of the failures appearing for specific users / devices /actions).

How can I trap these authentication errors so I can replace with a more 'friendly' message (e.g. I want to ask the user to check their network connection and try again)?

1 REPLY 1
Rahber
Solution Sage
Solution Sage

Since because AzureBlobStorage.CreateFile returns a record you can try saving it in a variable, then you can check if the variable contains a record this means that the action run properly if there is no record inside your variable you can through a custom error message.

 

Since because i was not able to reproduce your problem but i have tried this successfully if the blob name was wrong.

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,

Rahber

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (3,314)