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 :
Power Platform Community / Forums / Power Apps / Azure File Storage get...
Power Apps
Unanswered

Azure File Storage get Folder ID

(0) ShareShare
ReportReport
Posted on by

Hi, I have an issue with getting Folder ID in Azure File Storage, for usage of function ListForlderV2 which requires ID of the folder.

Could you please advise how to get ID of the folder for 

 

AzureFileStorage.ListFolderV2(<missing__folder_id>)

 

I know the path to the folder, but cannot get any metadata about the folder when trying following code snippets, only error messages

 

Set(folderID,AzureFileStorage.GetFileMetadataByPath("/files").Id);
Set(folderID,AzureFileStorage.GetFileMetadataByPath("/files"));
Set(folderID,AzureFileStorage.GetFileMetadataByPath("/files/"));

 

 

Also I've confirmed that folder really exists and is available via this path and also consulted this with documentation for this connector, only place where I could find anything about folder ID is REST API Documentation here: List Directories and Files (FileREST API) - Azure Files | Microsoft Docs in the response body is:

 

<Directory>
 <FileId>file-id</FileId>
 <Name>directory-name</Name> 
 <Properties>
 <CreationTime>datetime</CreationTime>
 <LastAccessTime>datetime</LastAccessTime>
 <LastWriteTime>datetime</LastWriteTime>
 <ChangeTime>datetime</ChangeTime>
 <Last-Modified>datetime</Last-Modified>
 <Etag>etag</Etag>
 </Properties>
 <Attributes>Archive|Hidden|Offline|ReadOnly</Attributes>
 <PermissionKey>4066528134148476695*1</PermissionKey>
 </Directory> 

 

 

Thanks for help

Categories:
I have the same question (0)
  • chrispytwist Profile Picture
    7 on at

    You could try

    AzureFileStorage.ListFolderV2(LookUp(AzureFileStorage.ListFolderV2("<file share name>").value,Path="/files",Id)).value

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard