Dynamic expression in 'Send HTTP request to sharepoint' URI link

Marek Baranko 20 Reputation points
2025-11-24T15:00:04.47+00:00

I am creating an approval flow for sharepoint library that requires

  1. access rights control
  2. minor/major versioning
  3. 4 users approval process
  4. Editing of file during the approval process is pending

The only option to publish a major version is to send an HTTP request to sharepoint (check out/check in cannot be ran for different users, builtin sharepoint approval process gets automatically cancelled when editing a file)

I managed to get the HTTP Request running when I specified the filename in URI manually.

Whenever I try to specify the filename via dynamic content (doesn't matter if it is a :

  1. composed variable
  2. expression
  3. expression with concat
  4. expression with encodeUriComponent

The variable gets left out from the URI link.

URI expression:

User's image

Request input when running the flow, the triggerBody()?['fileName']) is left out and nothing is insterted in it's place, resulting in an error - File not found
User's image

Is this possible? Is there any alternative approval process that can handle all 4 points listed at the beginning of this text? Seems like every option is missing atleast one requirement that I need.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Answer accepted by question author
  1. Teddie-D 8,640 Reputation points Microsoft External Staff Moderator
    2025-11-25T05:17:38.53+00:00

    Hi @Marek Baranko 

    Thank you for posting your question in the Microsoft Q&A forum. 

    From your description and screenshots, it looks like the issue you’re working through is mainly about building a Power Automate flow that sends an HTTP request to a SharePoint URI. 

    Unfortunately, this forum currently lacks a dedicated tag for Power Platform, you might find more targeted support by posting in the Microsoft Power Platform Community Forum Thread. It’s a great space full of helpful, knowledgeable people who are more than willing to walk you through the steps and share their experience. You’ll likely get clearer guidance and the support you need to make this work.   

    I’m sorry we can’t resolve this directly here. Redirecting you ensures you’ll connect with the right support team who can provide the help you need.  
    Thank you for your patience and understanding.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.