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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow won't work throug...
Power Automate
Answered

Flow won't work through powerapps. Only through Triggers while testing

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I was building a flow and was being helped by a man in the Powerapps community. Flow is now working but only while testing with the trigger action. When the flow is activated through powerapps, it doesn't work. Something about access to the Sharepoint folder? I've given access to the folder for all users of the company.

 

Reference to problem: (towards the end of the forum 

https://powerusers.microsoft.com/t5/Building-Power-Apps/Inputting-Datafields-from-Powerapps-for-Power-automate-flow/m-p/534245#M163954

Categories:
I have the same question (0)
  • DeepakS Profile Picture
    2,301 Most Valuable Professional on at

    Hi @Anonymous 

     

    After looking at the error message that you posted in Power Apps forum , it seems you are using incorrect connection  in create file action. update the connection and flow should work

    Fileconn.png

     

    Regards

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    flow 55.png @DeepakS Please clarify if "shared_sharepointonline_1" if this should be a folder within my Sharepoint (it's not), a phrase to input, or what is it?

    This is my flow, the error is within "Create file." I have updated the "Createfile_Filename" to "Createfile_Filename_1." It still does not work. I do not have a "shared_sharepointonline_1" folder. Or where can I find this name? Or do I just input "shared_sharepointonline_1" within File Name? The flow works only with manual trigger of when I fill in the data fields within power automate, not within powerapps. 

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    This is one of the most common errors in Flows with Power Apps. This happens when you add an action to the flow after adding the flow to Power Apps. You might want to remove the flow from the app and then add it back to the control that is being used in the app to trigger it. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @yashag2255  I removed the flow, created a copy one within power automate and then ran it through powerapps. It ran smoothly. Ran it a second time, it failed. Although, when testing it in power automate the flow works. So I think the problem is the unique identifier. The name for the word doc and pdf is "vFileName." Do you think this is the issue? The name has to be unique? And if so, how do I do this? A time stamp or ID added somewhere to the name? 

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Add this expression before the filename, formatDateTime(utcNow(),'dd-ss')

     

    This will add todays date and the seconds from the timestamp to the name of the file. 

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @yashag2255  I added the code within the expression of file name before file name. Numbers appeared to create a unique ID but no date like 4/21 (today's date)?ggt.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @yashag2255 

     

    I am getting a similar error within the "ConvertWordDocumentoPDF" action of the flow.  This flow was copied (save as then turned on) from another flow. May that be the issue? The word doc works and is transferred within Sharepoint but fails at the pdf part. The reason why "File was copy and pasted from another working flow because I can't click on the File I want the pdf to go towards. I have to manualyl type it in. Why can't I click on "Standard Submissions" within the Sharepoint drop down they give me?

     

    Error:

    {
      "status"400,
      "message""The selected file doesn't exist, please select a valid file and drive.\r\nclientRequestId: 35009071-94b5-4c35-9e26-1ee3bc6c3278",
      "error": {
        "message""The selected file doesn't exist, please select a valid file and drive."
      },
      "source""wordonlinebusiness-wus.azconn-wus-01.p.azurewebsites.net" }
    333.png
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    The date i added above was for dd (date) and ss (second). For month, you can add as dd-MM. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    IN the create word document pdf action, can you remove the format date time expression from the file name and in that place, select the display name of the file created from the previous action? 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard