Just some documentation on how to get around a "Create sharing Link for a file or folder" when using Power Automate to automatically create a post in a teams channel.
My Flow
The important parts for you
This make the sharing link "usable" in your Teams post.
How to add it so the link is "Clickable"
The source code for link , (HTML)
<a href="YOURCOMPOSE_OUTPUTS">Click here to go to file</a>