Copilot: An external link was removed to protect your privacy.

Dec 5, 2024

3 min read

Avatar of Calvin Park
Calvin Park

Microsoft Copilot may remove links from responses and replace them with the message "An external link was removed to protect your privacy.". This can be frustrating, especially when the links are essential for the context.

In this blog post, we'll explore why this happens and how to address it.

See below an example where the link is essential for the task of learning more about a topic:

Screenshot of Copilot. Image text: For more details, you can read more about Ellipcis at An external link was removed to protect your privacy..
Screenshot of Copilot. Image text: For more details, you can read more about Ellipcis at An external link was removed to protect your privacy..

As an early adopter of Microsoft Copilot and Large Language Models (LLMs), getting the correct output can be challenging especially as LLMs may not give the same response for the same input.

There are several reasons why Copilot might remove links:

  • Security Concerns: Links to external websites can sometimes lead to malicious content. This means that clicking on these links could potentially harm your computer or steal your personal information. To prevent this, Copilot removes these links to keep you safe.
  • Context Loss: Sometimes, Copilot might lose the context of a conversation, especially when performing tasks like web searches or reformatting text.

This can be frustrating, as asking Copilot to add the links back into the response, results in the same output. By following these steps, you can minimise disruptions and ensure that important information is shared effectively.

TIP

Prompt Copilot to format the response as HTML.

One solution is to ask for the links to formatted as HTML tags though a prompt, thus the links will be rendered in a HTML code notation and retained. Although the links are not clickable the contents be more important such as the link title and destination.

Prompt

Use the following prompt to reveal links:

Convert all URLs in the text to inline HTML anchor tags, ensuring that the existing formatting and text structure are preserved.

In most Copilot scenarios, each prompt decrements the number of responses from Copilot until the conversation ends abruptly. Try to incorporate the prompt inside of your prompt.

See Microsoft's Cooking up a great prompt: Getting the most from Copilot guide.

TIP

If you want to get support with Copilot to help your users stay productive, then get in touch. Contact Us.

While Copilot is responding, another system is reading the response while it is being displayed. Learn more how filtering like this works see Azure OpenAI Service content filtering. In this case the markdown version is sent to the client along with an adaptive card version that has the links removed.

See below an image example of Copilot creating an inline link in the first frame. In the second frame the inline link is replaced with regular text when more of the message displayed.

Screenshots of Copilot. Showing where a URL is being partly formed in Markdown in one image then is replaced with only text in the second image.
Screenshots of Copilot. Showing where a URL is being partly formed in Markdown in one image then is replaced with only text in the second image.

Here is what the text would have been if the links would have been present, with links in the HTML format:

Screenshot of Copilot. A response from Copilot with inline HTML anchor tags.
Screenshot of Copilot. A response from Copilot with inline HTML anchor tags.

WARNING

If the formatting prompt is not strict. The formatting rules may not be fully applied are removed from the final output.

Conclusion

While the removal of links by Microsoft 365 Copilot can be inconvenient, it is an essential feature for maintaining security and privacy. By understanding why this happens and taking steps to ensure your links are safe and compliant, you can minimise disruptions and continue to share information effectively.

TIP

To realise the maximum from your Microsoft 365 investment, Contact Us.


Share

Disclaimer: Microsoft 365 and other SaaS platforms are ever green and can be changed without notice. Content provided here is believed to be correct at time of publication. You should verify accuracy and applicability, it is provided without warranty, for more details visit our Terms of Service.