Azure Front Door AI bot ruleset: allow AI search, block training crawlers

Four rules, all in Log at first. Block training, allow AI search and assistants, challenge unverified bots, and set allowed rules to Allow, not Log.

Read time
18 min
Word count
3.1K
Sections
13
FAQs
8
Share
Two colleagues reviewing blank AI bot policy cards beside a network switch, with AI Bot Ruleset and Azure Front Door marks
On this page · 13 sections
  1. What Microsoft released on 18 November 2026
  2. Why robots.txt alone is not enough
  3. How the four categories map to real crawlers
  4. The trap: rule 800104 and the Log action
  5. Where the ruleset sits in the evaluation order
  6. Recommended settings for keeping AI search visibility
  7. A two-week rollout plan
  8. Allowing a trusted operator with an exception
  9. What it costs and who can use it
  10. India-specific considerations
  11. Limits of the preview
  12. How eCorpIT can help
  13. References

Summary. On 18 November 2026 Microsoft put an AI bot ruleset for the Web Application Firewall (WAF) on Azure Front Door Premium into public preview. It sorts AI traffic into four rules: 800101 for verified training crawlers, 800102 for verified AI search crawlers, 800103 for verified agents that fetch a page when a person asks an AI assistant, and 800104 for AI bots that cannot be verified, including bots that pretend to be a known crawler. Each rule can be set to Allow, Block, Log, Redirect, JS challenge or CAPTCHA, and every rule starts in Log, so nothing is blocked until you change it. The ruleset is called Microsoft_AIBotRuleSet_1.0, needs a Premium profile and a Premium WAF policy, and Microsoft updates the bot signatures without a version change. Premium carries a base fee of $330 a month against $35 for Standard (about ₹30,584 and ₹3,244), before request and data charges. One detail decides whether the setup works: rule 800104 also matches the user agents of verified bots, so any category you want to keep must be set to Allow, not left in Log. Our verdict: log for two weeks, block training, allow search and assistants, then challenge the unverified rest.

About this article. This is for platform, security and SEO teams that run public sites behind Azure Front Door and want to stay visible in ChatGPT, Claude, Perplexity and Google's AI features while limiting scraping. On 23 November 2026 we checked the Azure update notice, the Microsoft Learn pages for the ruleset, Front Door WAF, bot protection, JavaScript challenge, CAPTCHA and tier comparison, the Azure retail prices API, the crawler documentation published by OpenAI, Google, Anthropic and Perplexity, and the robots.txt standard. The feature is in preview, so rule behaviour and portal labels may change before general availability. This is not legal advice, and no vendor paid for inclusion. Researched with AI assistance and checked against the primary sources listed in the references.

What Microsoft released on 18 November 2026

The Azure update, tagged for Microsoft Ignite and listed under Azure Front Door and Web Application Firewall, announces a public preview of an AI bot ruleset for Front Door Premium. Its argument is short. AI crawlers and agents visit for different reasons, robots.txt only works when a bot chooses to obey it, and some bots claim to be a well-known AI crawler when they are not. The ruleset identifies AI bots, groups them by purpose and enforces a choice for each group at the edge.

The Microsoft Learn page carries the detail. The ruleset appears in a policy's managed rules as Microsoft_AIBotRuleSet_1.0, with one rule group, AIBotAccess, and four rules. For the first three rules, Azure WAF checks that a request really comes from the operator of the bot it claims to be. A request that names one of those bots but fails the check falls through to rule 800104 only.

Rule ID Category What it matches Starting action
800101 AI training Verified crawlers that collect public content to train or fine-tune models Log
800102 AI search Verified crawlers that index content for AI search, answers and summaries, including search crawlers that also feed AI features Log
800103 AI interactive agents Verified agents that fetch pages or perform tasks in real time when a user asks an AI assistant Log
800104 Miscellaneous AI agents AI bots Azure WAF cannot verify, including operators that publish no IP or reverse DNS data, and impostors Log

The table follows the rule list on Microsoft Learn. The page also notes that one AI company can run bots in more than one category, for example a training crawler and a separate agent that fetches a page on request, and that each request is classified by the purpose of the bot that sent it.

Two more points matter for planning. Microsoft keeps the signatures current without a ruleset version change, so the list of bots behind each rule can move under you. And the ruleset can be configured in the Azure portal, Azure PowerShell, the Azure CLI or Bicep.

Why robots.txt alone is not enough

The robots.txt standard, RFC 9309, describes rules that crawlers are asked to honour, and it states plainly that those rules are not a form of access authorisation. A well-behaved crawler reads the file. A scraper does not have to.

The AI operators say the same about their user-triggered fetchers. OpenAI says ChatGPT-User visits pages when a user asks ChatGPT or a custom GPT a question, is not used for automatic crawling, and that robots.txt rules may not apply because a user started the action. Perplexity says its Perplexity-User fetcher generally ignores robots.txt because a user requested the fetch. Microsoft's own page makes the same point about rule 800103: a person starts the request, so these agents might not follow robots.txt.

That leaves three gaps a WAF can close and robots.txt cannot:

  1. Bots that ignore the file altogether.
  1. Impostors that put a famous crawler's name in the User-Agent header to get through allow lists.
  1. Enforcement you can see: the WAF writes every match to a log, so you know what was blocked and who sent it.

It does not replace robots.txt. Some controls exist only as robots.txt tokens, and Google's training control is the clearest case, covered below. Keep both, and make them agree. Our explainer on AIPREF robots.txt AI preferences covers the standards work that may add finer-grained signals to the file.

How the four categories map to real crawlers

The Learn page does not list the bots behind each rule. The logs, though, record the operator in a field called provider_s, with examples such as OpenAI, Google, Anthropic, Amazon, Meta and Perplexity. The operators' own documentation shows how their bots divide by purpose, which is the same split the ruleset uses.

Operator Training or model data Search indexing User-triggered fetch
OpenAI GPTBot OAI-SearchBot ChatGPT-User
Anthropic ClaudeBot Claude-SearchBot Claude-User
Perplexity Not covered here PerplexityBot Perplexity-User
Google Google-Extended token, no separate crawler Googlebot Not covered here

The OpenAI row comes from its bots page, which says the GPTBot and OAI-SearchBot settings are independent, so a site can allow OAI-SearchBot to appear in ChatGPT search while disallowing GPTBot for training. OpenAI adds that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links, and that a robots.txt change can take about 24 hours to reach its search systems. The Anthropic row comes from its help centre, which says blocking ClaudeBot signals that future material should be left out of training, while blocking Claude-SearchBot or Claude-User may reduce a site's visibility in user-directed search. Perplexity describes PerplexityBot as its search crawler and says Perplexity-User is not used to collect content for training foundation models.

Google is the awkward row. Google-Extended is a robots.txt product token, not a crawler: Google says it has no separate HTTP user agent, crawling is done with existing Google user agents, and the token controls whether crawled content may be used to train future Gemini models and for grounding in Gemini Apps and Vertex AI. Google also says Google-Extended does not affect inclusion in Google Search. Because there is no separate request to catch, a WAF rule cannot block Google's training use without also blocking Googlebot. Use the Google-Extended token in robots.txt for that choice, and keep Googlebot allowed. Google also says it intends to support the shared AIPREF training-preference signal in robots.txt in early 2027.

Microsoft's description of rule 800102 says it includes search crawlers that also feed AI features. We could not confirm from the docs which Google or Microsoft crawlers sit in which rule, so read your own provider_s and ruleName_s values before you set any action to Block.

The trap: rule 800104 and the Log action

This is the part most likely to cost AI search visibility. Microsoft warns that rule 800104 also matches the user agents of the verified bots in rules 800101, 800102 and 800103. Log does not stop evaluation. So a verified OAI-SearchBot request that hits rule 800102 set to Log moves on to rule 800104. If 800104 is set to Block, JS challenge or CAPTCHA, that verified search crawler is blocked or challenged.

The fix is in the docs: when 800104 blocks or challenges, set every category you want to keep to Allow instead of Log. Allow forwards the request and stops lower-priority rules from evaluating it.

A challenge is not a soft option for crawlers. Microsoft says clients that cannot run JavaScript, which includes most crawlers, cannot complete the JS challenge, and most automated clients cannot complete a CAPTCHA. The JavaScript challenge also does not apply to AJAX and API requests, and on Front Door the first challenged request is blocked if its POST body is over 64 KB. The CAPTCHA action is documented for Front Door Premium only. In practice, JS challenge on rule 800104 behaves like a block for bots and a short delay for any real browser that gets caught.

Two other limits from the Learn page:

  • If the WAF policy runs in detection mode, matches are logged and the chosen action is not taken. Your new Block does nothing until the policy is in prevention mode.
  • The Anomaly score action is not supported, the rules have no sensitivity levels, and the ruleset does not support exclusions. Use exceptions instead.

Where the ruleset sits in the evaluation order

Azure WAF evaluates the HTTP DDoS ruleset first, then custom rules, then managed rulesets in the order they appear in the policy. The AI bot ruleset runs immediately after the Bot Manager ruleset. In a policy that uses all of them, the default order is the HTTP DDoS ruleset, custom rules, the Default Rule Set, Bot Manager, and then the AI bot ruleset.

That order has three consequences.

Allowed AI bots are still inspected for attacks. Because the Default Rule Set runs before the AI bot ruleset, an Allow on rule 800102 does not skip attack inspection by the Default Rule Set.

Bot Manager can decide first. If a Bot Manager rule matches a request with Allow or Block, the AI bot ruleset never sees it. Bot Manager sorts traffic into bad, good and unknown bots. Microsoft says some bots, such as verified search engine or social media crawlers, can match rules in both rulesets, and if you want the AI bot ruleset to decide, set the matching Bot Manager rules to Log.

Do not allow AI bots with a custom rule. A request that matches a custom rule with Allow skips every managed ruleset in the policy, including the Default Rule Set and Bot Manager, so the traffic is not inspected for attacks, and you have to maintain each operator's IP ranges yourself. Microsoft's advice for a partner agent that the WAF does not attribute to a known operator is to scope a custom rule as narrowly as possible and match on IP ranges, not on the User-Agent header, which any client can set.

Recommended settings for keeping AI search visibility

Most sites that sell, publish or generate leads want to appear in AI answers and do not want to give content away for training. This is where we would start.

Rule Category Our recommended action Reason
800101 AI training Block Stops verified training crawlers at the edge
800102 AI search Allow Keeps AI search indexing and protects it from rule 800104
800103 AI interactive agents Allow Lets assistants fetch your page when a user asks about it
800104 Miscellaneous AI agents JS challenge, or Block after review Stops impostors and unverifiable bots

This is the same shape as the Bicep example on Microsoft Learn, which blocks 800101, allows 800102 and 800103, and sends a JavaScript challenge to 800104. Microsoft's own guidance on 800102 is that blocking it can reduce how often your content appears in AI search and answers, and on 800103 that blocking it stops assistants retrieving your pages when users ask about them.

When a different choice makes sense:

  • Paywalled publishers may block 800103 as well, since a user-triggered fetch can pass article text to an assistant. Expect fewer citations in assistant answers.
  • Documentation and developer sites often allow training too, because being in the model helps adoption. Leave 800101 on Allow or Log.
  • Sites with a known partner agent that lands in 800104 should add a narrow exception rather than relaxing the whole rule.

For a view on whether AI crawlers send enough traffic back to justify the bandwidth, see our analysis of AI crawler crawl-to-referral ratios. If part of your estate sits on Cloudflare, our guide to Cloudflare's split of search, agent and training crawlers covers the matching settings there.

A two-week rollout plan

Week 1: assign in Log and measure

  1. Confirm the profile is Front Door Premium and the WAF policy is on the Premium tier; the ruleset needs both.
  1. In the portal, open the WAF policy, go to managed rules, choose assign, pick the AI bot ruleset and save. Every rule starts in Log.
  1. Check that Front Door diagnostic logs flow to a Log Analytics workspace.
  1. Leave the policy in its current mode for now; in detection mode the ruleset only logs anyway.

Microsoft's Learn page gives a Log Analytics query that counts requests by operator, rule and action. A version of it:


            AzureDiagnostics
| where Category == "FrontDoorWebApplicationFirewallLog"
| where ruleName_s startswith "Microsoft_AIBotRuleSet"
| summarize RequestCount = count() by provider_s, ruleName_s, action_s
| order by RequestCount desc
          

The rule name in each log entry identifies the rule, for example Microsoft_AIBotRuleSet-1.0-AIBotAccess-800101, and the operator also appears in the details_data_s field. The Web Application Firewall Request Count metric can be filtered by rule name and has an AIProvider dimension, and WAF insights in the portal shows AI bot traffic by category, by operator and by most-requested URL.

Questions to answer before week 2:

  • Which operators appear under 800102 and 800103? These are the bots you will allow.
  • How much traffic lands in 800104, and does any of it come from a partner or monitoring tool you rely on?
  • Do any Bot Manager rules already block or allow these bots first?
  • Which URLs do training crawlers request most? That tells you what you are protecting.

Week 2: enforce in order

  1. Set 800102 and 800103 to Allow first. Do this before touching 800104.
  1. Set 800101 to Block.
  1. Set 800104 to JS challenge. Watch the logs for a few days, then move it to Block if nothing legitimate is caught.
  1. If a trusted operator needs to bypass a rule, add an exception, not a custom Allow rule.
  1. Update robots.txt so it says the same thing: disallow GPTBot, ClaudeBot and the Google-Extended token if you block training; allow OAI-SearchBot, Claude-SearchBot and PerplexityBot.

The CLI command to add the ruleset, from the Learn page:


            az network front-door waf-policy managed-rules add \
  --resource-group <resource-group> \
  --policy-name <waf-policy> \
  --type Microsoft_AIBotRuleSet \
  --version 1.0
          

And to block training crawlers on rule 800101:


            az network front-door waf-policy managed-rules override add \
  --resource-group <resource-group> \
  --policy-name <waf-policy> \
  --type Microsoft_AIBotRuleSet \
  --rule-group-id AIBotAccess \
  --rule-id 800101 \
  --action Block
          

Repeat the override for rules 800102 and 800103 with Allow, and 800104 with the challenge action, in that order.

Allowing a trusted operator with an exception

Sometimes you want to block a whole category but keep one operator. Microsoft's answer is an exception on the AI bot ruleset that uses the AIProvider match variable. The settings it documents:

  • Applies to: Microsoft_AIBotRuleSet_1.0, scoped to the narrowest unit that works, ideally a single rule.
  • Match variable: AIProvider. Operator: Equals.
  • Values: the operator names exactly as they appear in provider_s in your logs. Matching is case-sensitive.

Microsoft says it maintains the mapping between bots and operators and verifies it daily, so you do not track IP ranges yourself. A request that matches the exception skips only the AI bot rules in scope; custom rules, the Default Rule Set and Bot Manager still evaluate it.

What it costs and who can use it

The ruleset is Premium-only. Microsoft's tier comparison lists bot protection and the full managed rule set for Premium, while the Standard tier has custom WAF rules but not managed rule sets or bot protection.

Item Front Door Standard Front Door Premium
Base fee, US dollars a month 35 330
Base fee in rupees a month 3,244 30,584
Managed rule sets and bot protection No Yes
AI bot ruleset (preview) No Yes

Base fees come from the Azure retail prices API, which lists $330 a month for Premium and $35 for Standard in every commercial pricing zone ($412.50 and $43.75 in US Government). Request and data transfer charges come on top. Rupee figures use ECB euro reference rates for 20 November 2026 (1.0990 dollars and 101.85 rupees per euro), crossed to ₹92.68 per dollar (rounded to two decimals), then rounded to whole rupees: 330 x 92.68 = ₹30,584 and 35 x 92.68 = ₹3,244. The jump from Standard to Premium is $295 a month (about ₹27,341), or $3,540 a year. The Azure update does not mention a separate charge for the preview ruleset.

If you are still on Front Door classic, that tier is being retired; our guide to the Azure Front Door classic retirement covers the move, and a migration to Premium is the natural point to add this ruleset.

India-specific considerations

For Indian publishers, D2C brands and SaaS firms, the decision is mostly about cost against value. ₹30,584 a month before traffic charges is a real line item for a small site, and a team already paying for Premium for Private Link or managed rules gets the AI bot ruleset at no stated extra cost during preview. Smaller sites on Standard can still publish robots.txt rules for GPTBot, ClaudeBot and Google-Extended, accepting that only well-behaved bots will follow them.

A block on 800103 hides your pages from assistant users whatever language they ask in. If you sell into Indian markets through AI answers, keep 800102 and 800103 on Allow unless you have a paywall to protect. Our guide on how to rank on ChatGPT and AI search covers the content side once the crawlers can get in.

Limits of the preview

  • Preview terms apply. Microsoft's supplemental preview terms cover the feature, and behaviour may change before general availability.
  • The bot list is opaque. The documentation does not list which user agents sit in each rule, and signatures update without a version change. Re-run the log query monthly.
  • Verification depends on the operator. Bots from operators that publish no IP or reverse DNS data land in 800104 even when they are honest.
  • Google training is outside the WAF's reach. Only the Google-Extended token controls Gemini training and grounding use of content Googlebot crawls.

How eCorpIT can help

eCorpIT is a Gurugram-based technology organisation, founded in 2021, assessed at CMMI Level 5 and MSME certified, with senior-led engineering teams working across AWS, Microsoft and Google platforms. Our cybersecurity team can review your Front Door WAF policy, run the AI bot ruleset in Log, read the results with you and roll out block and allow settings that keep your pages visible in AI search. Talk to us at /contact-us/.

Last updated: 23 November 2026.

References

  1. Public Preview: AI bot ruleset for Azure Front Door Premium WAF, 18 November 2026 — Microsoft Azure updates
  1. AI bot ruleset in Azure Front Door WAF (preview) — Microsoft Learn
  1. Azure retail prices API, Azure Front Door Service base fees — Microsoft
  1. Euro foreign exchange reference rates, 20 November 2026 — European Central Bank
  1. RFC 9309, Robots Exclusion Protocol — IETF RFC Editor
  1. Overview of OpenAI crawlers — OpenAI Platform docs
  1. Perplexity crawlers — Perplexity docs
  1. Does Anthropic crawl data from the web, and how can site owners block the crawler — Claude Help Center
  1. Google's common crawlers, Google-Extended — Google Search Central
  1. Azure Web Application Firewall JavaScript challenge — Microsoft Learn
  1. Azure Front Door Web Application Firewall CAPTCHA — Microsoft Learn
  1. Azure Web Application Firewall on Azure Front Door — Microsoft Learn
  1. Front Door WAF DRS rule groups and rules — Microsoft Learn
  1. Comparison between Azure Front Door and Azure CDN services — Microsoft Learn

Frequently asked

Quick answers.

01 What is the Azure Front Door AI bot ruleset?
It is a Microsoft-managed ruleset for the Web Application Firewall on Azure Front Door Premium, in public preview since 18 November 2026. It sorts AI bot traffic into four rules, for training crawlers, AI search crawlers, interactive assistant agents and unverified bots, and lets you choose a separate action for each one.
02 Which Front Door tier do I need?
You need an Azure Front Door Premium profile and a WAF policy on the Premium tier. Standard supports custom WAF rules but not managed rule sets or bot protection. Microsoft's retail price list shows a Premium base fee of 330 dollars a month, against 35 dollars for Standard, before request and data charges.
03 Will the ruleset block anything as soon as I add it?
No. Every rule starts with the Log action, so matching requests are recorded in the WAF logs and nothing is blocked. Traffic is only blocked or challenged after you change a rule's action, and only if the WAF policy runs in prevention mode rather than detection mode.
04 Why should allowed categories be set to Allow rather than Log?
Rule 800104 also matches the user agents of verified bots. Log does not stop evaluation, so a verified search crawler left on Log moves on to rule 800104. If that rule blocks or challenges, the crawler is stopped. Setting search and assistant rules to Allow ends evaluation and keeps them through.
05 Does blocking AI training crawlers stop Google using my content for Gemini?
Not through the WAF. Google says Google-Extended is a robots.txt token with no separate crawler, and crawling uses existing Google user agents. Blocking Googlebot would also remove you from Google Search. Disallow the Google-Extended token in robots.txt to control Gemini training and grounding use instead.
06 Will blocking AI search crawlers hurt my visibility?
Yes, very likely. Microsoft says blocking the AI search rule can reduce how often content appears in AI search and answers. OpenAI says sites that opt out of OAI-SearchBot are not shown in ChatGPT search answers, and Anthropic says blocking Claude-SearchBot may reduce visibility in its search results.
07 Should I use a JS challenge or Block for unverified AI bots?
Start with JS challenge on rule 800104 and watch the logs for a few days. Most crawlers cannot run JavaScript, so the challenge stops them, while a real browser caught by mistake can pass. Move to Block once you are sure no partner or monitoring tool relies on that traffic.
08 How do I allow one AI company while blocking the rest?
Create an exception on the AI bot ruleset with the AIProvider match variable, the Equals operator and the operator name exactly as it appears in your WAF logs. Scope it to a single rule if you can. Avoid custom Allow rules, which skip every managed ruleset, including attack inspection.

About the author

Manu Shukla

Founder & Director

Founder of eCorpIT. Hands-on engineer leading senior-only delivery for AI apps, custom software, and cloud systems for global clients.

Subscribe

One engineering note a week. No fluff, no spam.

Senior-architect playbooks on AI agents, mobile apps, cloud, security, data, and marketing — delivered every Wednesday.

Past the reading

Read enough. Let's build something.

A senior architect responds in 24 working hours with scope, indicative cost, and a timeline. NDA before any technical conversation.

Loading search…

Browse all guides