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 Automate / Flow fails for users, ...
Power Automate
Unanswered

Flow fails for users, works for flow creator

(0) ShareShare
ReportReport
Posted on by 124

For no apparent reason, a flow has started failing when triggered by any user other than the flow creator (me). When I run it, no errors appear; when another user runs it, it fails with this message:

 

Unable to process template language expressions in action '*********' inputs at line '1' and column '2447': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline_1']['connectionId']' cannot be evaluated because property 'shared_sharepointonline_1' doesn't exist, available properties are 'fileSource'. Please see https://aka.ms/logicexpressions for usage details.'.

 

The flow itself is simple - it gets a set of files in a SharePoint library that match a specific condition and returns the number to PowerApps.

 

firefox_H3Gj710cDm.png

 

I've tried setting up a new version of the flow but with no success.

 

Has anyone else had similar issues? Is this a Microsoft problem?

Categories:
  • Spinner Profile Picture
    124 on at

    It's also bizarre that that the flow still works for me even if I delete all the SharePoint connections that it uses.firefox_l7Bl5LHoTb.png

  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    Manual flow triggers like this one will use the permissions of the user running the flow. So if the users running this flow are unable to navigate to the file that is being gotten in the get action then it will fail. At this point you would need to give permissions to all the users who would run this flow access to the file too.

     

    Regards,

     

    Alex

     

    -------

     

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

  • Spinner Profile Picture
    124 on at

    @alrez  Thanks for the reply, Alex.

     

    All the users have access to the SharePoint library whose items are being accessed in the get action. The  library is listed as an owner of the flow. The flow was working up to yesterday and abruptly stopped working for no obvious reason; there have been no changes in permissions.

  • Spinner Profile Picture
    124 on at

    @alrez  I've just seen this thread reporting what sounds like a similar issue that has, like ours, just cropped up in the last day or so. Our flow is, like the one mentioned there, launched via PowerApps, though in our case a PowerApps customised form: https://powerusers.microsoft.com/t5/Building-Power-Apps/PowerApps-calling-PowerAutomate-flow-stopped-working-for-all/m-p/855049

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 275 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 178 Super User 2026 Season 2

Last 30 days Overall leaderboard