Teams site showing up in public Bing results

Copper Contributor

Today a team member did a random public search on Bing using some keywords from an ongoing project. The first result was a link to a file on our internal MS Teams site. Is this supposed to happen? How can we prevent this?

25 Replies
That shouldn't happen at all, as those files would be stored in an Office 365 Group which is not indexable by search engines.
Are you sure they weren't searching across SharePoint as opposed to Bing? Did they actually go to Bing.com or did they just type the search into their address bar?
If you can supply a screenshot that would be helpful.

Wow, I have just tried to search by one of the tenant names I manage using Google and I got returned the Url of the SPO Admin....^-^ cc @Vasil Michev @Tony Redmond FYI

I'm not seeing anything like this for multiple tenants I have accounts on, including longstanding ones not just demo/dev tenants.

 

Documents should absolutely not be showing up, not even just URLs that put you through an auth flow as those documents are not exposed to the public internet whatsoever so the search engines have no access to see them. Like Loryan, I'd want to see proof of this as that is a big deal if it is true. I'd also want full details of your configuration, especially whether you are running in hybrid and if so I'd recommend a serious audit of your network config to make sure the world isn't running around inside your SharePoint environment.

 

For URLs of your tenant that are internet facing, it might not shock me for a search engine to catch those but someone would need credentials to get in obviously. All that is probably surfaced is whatever information the URL itself would offer, and if you're naming your tenants top secret names you should rethink that. :)

Um, that sounds bad. I'm not able to reproduce it though, at least not with Team site/documents. My SPO admin site is visible in multiple articles, but that's my own fault :)

I don't see any problems for my tenant but I would like to see the steps required to reproduce the issue to check against them...

 

TR

Was the file shared with an anonymous link and was it referenced within a public page somewhere?

I've just seen the same issue. this doesn't look right.

I was using Google in my case...

Yeap, try to simply make a search in google of your tenant name and tell me what you get :-)...just adding screenshot here

SPO_Private_Urls_Google.GIF

It only happens with Bing for me.

And by the way, Google only returns the SPO Admin Site Url...at least in the first two results pages

It doesn't show up in Google, but it does show up in Yahoo and DuckDuckGo which if I am correct, use the Bing engine. See screenshot below. I have blocked out the search terms as this is an ongoing project.

 

bingsearch.gif

No, it was Bing. We also saw the same result using Yahoo and DuckDuckGo but not with Google

I have a site level repro of this. Not down to documents or folders, but the site itself. This is a modern team site spun up as the result of creation in Microsoft Teams, which fired the corresponding Office 365 Group and everything that comes with that.

 

Something seems to be visible to the search engines around URLs at least. @Vesa Juvonen@Adam Harmetz this is probably something you guys would want to know about.

 

SPO site showing in bing.png

No it hasn't.

Thx @David Rosenthal for looping us on this. Started internal investigation right away to avoid confusion. 

Thanks for looping us in.

 

If a search crawler discovers a link to an authenticated SharePoint Online site, it may add the link to the index. Because the site requires authentication, the site title and contents will not be indexed – only the presence of the URL.   This should only occur when there is a link to the site collection somewhere on the public internet (e.g. someone might have use anonymous link sharing and posted that link somewhere where a internet search crawler could find it).

 

The timing of this particular thread is an interesting coincidence, as we are doing work in this area.  Just this month, to mitigate this, we have added a default robots.txt file to every site collection which instructs search crawlers not to index this URL. This will prevent search crawlers from adding new sites to their index.  Existing sites should be removed from the search results next time the site is indexed by the search crawler.

 

You can actually see the robots.txt file for your domain at https://<tenantURL>/robots.txt  The change is rolling out - should be mostly complete but might be a few deployments that do not yet have it.

 

Hope this helps!

Ey Adam: May I ask you why this change/issue has not been informed in the Message Center?

Great to hear of the work to better protect even the URLs. There seem to be other ways these are getting surfaced though, as my tenant does not and has never had anonymous sharing turned on. I can't rule it out, but I would also be very surprised to find that someone from my team had put one of these URLs out on the public internet.

 

Is this affected by Guest Access in Office 365 Groups or anything like that? Does that URL have to become visible to the world somehow in order for guests to get to it?