Showing results for 
Search instead for 
Did you mean: 
Not applicable

Approval markdown for link not working, when the URL is given by a string variable



I tried to use two string variables to capture the name and direct URL to the first attachment in a SharePoint list for adding a direct link to that attachment in the Approval action. I want to use this work-around, since the feature to add attachments to an Approval is not yet released.


My approcal action details looks like this:



Result in the approval email:


Is this a bug, or is the problem, that the URL contains spaces?
When I directly C&P the url I can open the attachment.


Thanks for any feedback,


Community Support
Community Support

Hi @Anonymous,


Thanks for feedback, it can be reproduced on my side.

Per my test, it seems that whenever there are spaces in the URL, it won’t be clickable. Please remove the spaces in the URL so it will work for you.

I will help confirm this issue and back to you later.


Best regards,

Mabel Mao

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

Hi @v-yamao-msft,


thanks a lot for your feedback.

After you confirmed, that the issue is cased by the spaces I tried the following work-around: in the string variable containig the url I replaced all spaces with "%20". By doing so the link in the Approval email is now displayed correctly and also working.

I hope this helps in fixing the issue with the link markdown itself.


best regards,


Helpful resources

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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!

Top Solution Authors
Users online (9,470)