---
title: "Microsoft Bots & Crawlers: 7 User Agents Explained"
description: "Every Microsoft bot (7) with its purpose, user agent and robots.txt token, and a single robots.txt block to allow or block all of them."
url: "https://justinha.info.vn/bots/company/microsoft/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

Bots by company

# Microsoft *bots and crawlers*

Microsoft runs Bing search, whose index also feeds Microsoft Copilot answers.

## Microsoft bots at a glance

- Microsoft runs **7 bots** listed in this directory.
- They belong to: Ads and Platform Fetchers, AI Search Crawlers, Search Engine Crawlers, Social and Messaging Previews.
- Each Microsoft bot has its own robots.txt token, so each purpose can be allowed or blocked separately.
- Website: [www.microsoft.com](https://www.microsoft.com)

## Every Microsoft bot

| Bot | Group | Purpose | robots.txt | For GEO |
| --- | --- | --- | --- | --- |
| [AdIdxBot](https://justinha.info.vn/bots/platform-fetchers/adidxbot/) | [Ads and Platform Fetchers](https://justinha.info.vn/bots/platform-fetchers/) | AdsOfficial docs | Yes | Allow |
| [AzureAI-SearchBot](https://justinha.info.vn/bots/ai-search/azureai-searchbot/) | [AI Search Crawlers](https://justinha.info.vn/bots/ai-search/) | AI searchReported | Not documented | Your choice |
| [Bingbot](https://justinha.info.vn/bots/search-engines/bingbot/) | [Search Engine Crawlers](https://justinha.info.vn/bots/search-engines/) | Search indexOfficial docs | Yes | Allow |
| [BingPreview](https://justinha.info.vn/bots/search-engines/bingpreview/) | [Search Engine Crawlers](https://justinha.info.vn/bots/search-engines/) | Search indexOfficial docs | Yes | Allow |
| [MicrosoftPreview](https://justinha.info.vn/bots/social/microsoftpreview/) | [Social and Messaging Previews](https://justinha.info.vn/bots/social/) | Link previewOfficial docs | Yes | Allow |
| [msnbot](https://justinha.info.vn/bots/search-engines/msnbot/) | [Search Engine Crawlers](https://justinha.info.vn/bots/search-engines/) | Search indexReported | Not documented | Allow |
| [SkypeUriPreview](https://justinha.info.vn/bots/social/skypeuripreview/) | [Social and Messaging Previews](https://justinha.info.vn/bots/social/) | Link previewReported | Not documented | Allow |

## How to manage Microsoft bot access by purpose

Review the role you need before making an operator-wide rule. A bot can appear in more than one row. Follow its profile for the exact token, evidence and policy exceptions.

| Purpose | Bots in this directory | What to check |
| --- | --- | --- |
| **AI search** | [AzureAI-SearchBot](https://justinha.info.vn/bots/ai-search/azureai-searchbot/) (reported) | If discovery in the associated AI product matters, test access to public pages you want it to find. Access alone does not guarantee inclusion or citations. |
| **Search index** | [Bingbot](https://justinha.info.vn/bots/search-engines/bingbot/), [BingPreview](https://justinha.info.vn/bots/search-engines/bingpreview/), [msnbot](https://justinha.info.vn/bots/search-engines/msnbot/) (reported) | If this search engine sends useful traffic, check that canonical pages are reachable. Use the engine’s supported removal controls if the objective is to remove an indexed URL. |
| **Ads** | [AdIdxBot](https://justinha.info.vn/bots/platform-fetchers/adidxbot/) | If you use the associated ad platform, test its landing-page review before tightening access. Keep paid campaign checks separate from organic search policy. |
| **Link preview** | [MicrosoftPreview](https://justinha.info.vn/bots/social/microsoftpreview/), [SkypeUriPreview](https://justinha.info.vn/bots/social/skypeuripreview/) (reported) | If shared links matter, test a public page in the associated app and check its title, image and description. A preview is not evidence of search indexing. |

## Block or allow all Microsoft bots

The rules below name every Microsoft token in this directory. For a narrower rule, select the exact tokens from the purpose table above and check each profile for scope and exceptions.

robots.txt: block

```
# Block all Microsoft bots
User-agent: adidxbot
User-agent: AzureAI-SearchBot
User-agent: bingbot
User-agent: BingPreview
User-agent: MicrosoftPreview
User-agent: msnbot
User-agent: SkypeUriPreview
Disallow: /
```

robots.txt: allow

```
# Allow all Microsoft bots
User-agent: adidxbot
User-agent: AzureAI-SearchBot
User-agent: bingbot
User-agent: BingPreview
User-agent: MicrosoftPreview
User-agent: msnbot
User-agent: SkypeUriPreview
Allow: /
```

robots.txt: partial

```
# Keep all Microsoft bots out of private areas only
User-agent: adidxbot
User-agent: AzureAI-SearchBot
User-agent: bingbot
User-agent: BingPreview
User-agent: MicrosoftPreview
User-agent: msnbot
User-agent: SkypeUriPreview
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /
```

Nginx

```
# Nginx: return 403 to all Microsoft bots
if ($http_user_agent ~* "(adidxbot|AzureAI\-SearchBot|bingbot|BingPreview|MicrosoftPreview|msnbot|SkypeUriPreview)") {
    return 403;
}
```

Apache

```
# Apache .htaccess: return 403 to all Microsoft bots
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (adidxbot|AzureAI\-SearchBot|bingbot|BingPreview|MicrosoftPreview|msnbot|SkypeUriPreview) [NC]
RewriteRule .* - [F,L]
```

Cloudflare WAF

```
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "adidxbot") or (http.user_agent contains "AzureAI-SearchBot") or (http.user_agent contains "bingbot") or (http.user_agent contains "BingPreview") or (http.user_agent contains "MicrosoftPreview") or (http.user_agent contains "msnbot") or (http.user_agent contains "SkypeUriPreview")
```

## See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
