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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Azure blob storage fol...
Power Apps
Unanswered

Azure blob storage folders not creating

(1) ShareShare
ReportReport
Posted on by 78

File gets uploaded to the AzureBlob storage however the file is not uploaded in the correct folder.

This app has been working for the last 2 years successfully. Now the file is just remaining in the root folder.

Below is the code:

Tmplocation is a variable which reads the value from a sql  Table


Set (tmpbloblocation,LookUp('frm._0FileLocations',Sub_Category = ThisItem.SubCategory And Category = ThisItem.Category,BlobLocation));
when it runs the tmplocation has a value of load-file\HR\HR_EXPRESS\current

 





Set(

    filenamefinal,

    Mid(

        Last(AttachmentControl_1.Attachments).Name,

        1,

        Find(

            ".",

            Last(AttachmentControl_1.Attachments).Name

        ) - 1

    ) & "_" & User().FullName & "_" & Text(

        Now(),

        "yyyymmddhhmm"

    ) & "." & Mid(

        Last(AttachmentControl_1.Attachments).Name,

        Find(

            ".",

            Last(AttachmentControl_1.Attachments).Name

        ) + 1

    )

);

 

AzureBlobStorage.CreateFile(

    tmpbloblocation,

    Mid(

        Last(AttachmentControl_1.Attachments).Name,

        1,

        Find(

            ".",

            Last(AttachmentControl_1.Attachments).Name

        ) - 1

    ) & "_" & User().FullName & "_" & Text(

        Now(),

        "yyyymmddhhmm"

    ) & "." & Mid(

        Last(AttachmentControl_1.Attachments).Name,

        Find(

            ".",

            Last(AttachmentControl_1.Attachments).Name

        ) + 1

    ),

 

    Last(AttachmentControl_1.Attachments).Value

);

 

 

 

 

Categories:
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard