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

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

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

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

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


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (9,860)