cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Create SharePoint folders from PowerApp

I have created an app, where you can search AD for users.  Users name, department are stored in a collection.  I want to create a folder for each user searched for in the app.  I have the Flow setup but I am missing how I pass the name of the user to Flow so that it can create the folder name.  How do I get the variable into Flow?Screenshot 2019-10-14 at 14.01.20.pngScreenshot 2019-10-14 at 14.23.49.png

2 REPLIES 2
Highlighted
Super User
Super User

Re: Create SharePoint folders from PowerApp

To get the current user you use User().FullName or User().Email. You can put a compose in your Flow that ask for that and then push it out from PowerApps. 

 

Anything you want to go from PowerApps into Flow you do the "Ask in PowerApps" first in your Flow where you want the data to go and then save and then it will prompt your for that data in PowerApps. If it is multiple "users" that you want the Flow triggered separately for each you should be able use the ForAll in Powerapps and refer to your gallery or collection for the data. I haven't personally used ForAll for Flow yet (usually just patch) but it should work the same way. 

Highlighted
Community Support
Community Support

Re: Create SharePoint folders from PowerApp

Hi @McBlair ,

 

Check below documentation about how to start a flow in PowerApps:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,299)