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 / Pick Folder from Onedrive
Power Apps
Unanswered

Pick Folder from Onedrive

(0) ShareShare
ReportReport
Posted on by

I need to allow users to pick folder from one drive to store some files. Is there a way where I can allow users to choose only the folders from One Drive?

Categories:
I have the same question (0)
  • Vaish123 Profile Picture
    136 on at
  • Vaish123 Profile Picture
    136 on at

     

    1. Set up OneDrive Connection: First, you need to establish a connection to OneDrive within your PowerApps app. This will allow you to access files and folders in the user's OneDrive account.

    2. Use the FolderPicker Control: PowerApps provides a FolderPicker control that allows users to select folders. You can add this control to your app's interface.

    3. Bind FolderPicker to OneDrive Data Source: Configure the FolderPicker control to bind to the data source representing the user's OneDrive folders. This will ensure that users can only select folders from their OneDrive account.

    4. Handle User Selection: Once the user selects a folder using the FolderPicker control, you can capture the selected folder's information and proceed with your application logic (such as storing files in that folder).

    // Assuming you have a Button to trigger folder selection and a Label to display selected folder path
    // Button OnSelect property
    Set(selectedFolder, Office365Connector.GetFolder())
    // Label Text property to display selected folder path Text(selectedFolder.Path)
     

    In this example, Office365Connector.GetFolder() is used to open the folder picker dialog. Users can then navigate through their OneDrive folders and select the desired folder. The selected folder's path is stored in the variable selectedFolder, which you can use in your application as needed.

  • Meenakshi Profile Picture
    on at

    I need this to be done in Model Driven Application

  • Athav450 Profile Picture
    3 on at

    I couldn't find any FolderPicker Control in power app?

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard