Hi teylyn,
Good day! Thank you for posting in Microsoft community.
First and foremost, we sincerely apologize for the inconvenience this issue has caused. We understand how disruptive it can be when links don’t behave as expected, especially in critical workflows like approvals. Thank you for sharing the screenshot and detailed description—it’s incredibly helpful for us to diagnose the problem!
What We’ve Observed
From your screenshot, we can see that clicking the SharePoint link in Outlook for Web (OWA) is populating the URL (sharepoint.com/sites/HWAACC123-foo bar/Contract) into the “To:” field instead of opening it in the browser. The error message HWAAACC123-foo bar/Contract is not valid confirms that OWA is misinterpreting the link as an email address due to the spaces in the URL path.
Why This Happens
Outlook for Web uses strict parsing logic for links. When it encounters unencoded spaces (like foo bar), it may split the URL into segments and mistakenly treat parts of it as email addresses. In your case:
- The space in
HWAACC123-foo bar causes OWA to parse bar/Contract as an invalid recipient.
- Desktop Outlook handles this gracefully, but OWA requires URLs to follow strict encoding standards.
How We’ll Fix This Together
- Encode the SharePoint Link
- Action: In your Power Automate workflow, use the
uriComponent() function to encode spaces as %20.
- Example:
sharepoint.com/sites/HWAACC123-foo%20bar/Contract
- Why: Encoding ensures OWA recognizes the link as a URL, not an email address.
- Use a Descriptive Hyperlink
- Action: Replace the raw URL with a clickable text link in the email body:
- Why: Friendly text links are less prone to parsing issues.
- Test with Right-Click → “Open in New Tab”
- Action: As a temporary workaround, right-click the link in OWA and select Open in new tab.
- Why: This bypasses OWA’s default parsing and confirms the link itself is valid.
- Avoid Spaces in SharePoint Paths
- Suggestion: Rename folders/files to use hyphens (e.g.,
HWAACC123-foo-bar) to prevent future issues.
Next Steps
If you need assistance implementing uriComponent() in your Power Automate workflow or if the issue persists after encoding the URL, please contact our Microsoft Online Technical Support team directly. They can provide real-time guidance and escalate the case to our engineering team if needed. Here’s how to reach them:
- Portal: A global admin can visit Microsoft Support Contact Page Sign in to your account
- Option: Select Workflow and Automation > Power Automate for quicker routing.
If you are not an admin user, please kindly post your query in Power Automate community for further assistance: Microsoft Power Platform Community Forum Thread
Your patience and feedback are valuable to us. We’re committed to ensuring a seamless experience across all Outlook platforms, and we appreciate your partnership in resolving this.
Thank you again for reaching out, and please don’t hesitate to ask for further assistance.
Warm regards,
Luckie Shi
Thanks for the reply. I don't think the spaces in the URL make a difference. I constructed a URL without a space, and it also triggers an email instead of opening the link.
Further testing with the URL for Google also confirms that it's not about invalid characters in the URL at all. (see screenthots below)
Since the same URL works fine when I stick it in a regular Outlook email sent from Power Automate, my suspicion is that there is something going on in the email that is generated by the Power Automate Approval process.

