Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Issues with For a selected file trigger - Identifier and SQL Connector

I have seen this reported a few times, but it would be great to have it addressed and corrected.  Especially as I am finding other issues with this trigger as well.  The common issue is that if you create a blank flow using the "For a Selected File" trigger you can't get file properties easily as the File ID is not available in Dynamic content.  There are two workarounds.  Grab it in a compose or use the Create a custom action for a selected file template.  While the workaround works, the user experience is not great. 


I found another issue today.  This is around the SQL connector.  If any actions from a SQL connector are used in flow with this trigger the actions will fail.  Errors usually are "Permission Exception. inner exception: Internal error: dataSourceCredentials"  Using a SQL connector with the same connection in a flow with a different connector works just fine, but as soon as any SQL actions are added to a flow with this trigger the SQL actions no longer work.


Has anyone else encountered this?

Community Support
Community Support


Hi @DavidMDrever ,


Could you provide more details about the SQL connector issue?

Which one is the trigger you mentioned, and if you can, please take a screenshot to illustrate the issue you are experiencing so that we can analyze the problem or provide a proper workaround for you.


Best Regards,

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

Helpful resources

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (82,057)