Retailers, payment companies and anyone else handling card payments are asking the same question about AI: if we put a chatbot, an agent or Copilot near our customer data, does it come into PCI DSS scope? The short answer is that it depends on whether card data can reach it, and it's much cheaper to design it so it can't.
This post sets out what the PCI Security Standards Council (PCI SSC) and Microsoft say, then the design choices that keep AI out of scope. It isn't legal or assessment advice: your qualified security assessor (QSA) confirms your scope.
The rule: AI is technology like any other
PCI DSS v4.0.1 is the current version; v4.0 was retired on 31 December 2024. (1) It applies to entities that "store, process, or transmit cardholder data (CHD)" and to systems that "could impact the security of the cardholder data environment (CDE)". (2)
In September 2026 the PCI SSC published an information supplement, Security Considerations for AI Systems. Its scoping position is plain: "In general, when AI is used, it should be considered no different from any other form of technology when scoping the PCI requirements that may apply." (3) The supplement is guidance, not new requirements, and the standard wins where they differ.
So an AI service that receives a card number in a prompt is a system that processes cardholder data. So is the log that stores that prompt.
What Microsoft covers, and what it doesn't
Microsoft says Azure is "certified as compliant under PCI DSS version 4.0.1 at Service Provider Level 1," and that the Attestation of Compliance (AoC) "is available to customers" through the Service Trust Portal. (4) It also says that status "doesn't automatically translate to PCI DSS certification for the services that customers build or host on these platforms."
Two points to act on:
- Check that each service is in scope. We didn't find a public Microsoft Learn page that names Azure OpenAI or Microsoft Foundry as in scope for Azure's PCI DSS attestation. Read the AoC's in-scope service list yourself before card data touches any AI service.
- Azure Policy helps, but doesn't decide. The PCI DSS v4 built-in initiative maps policies to controls, and Microsoft's disclaimer applies: "this doesn't ensure you're fully compliant with all requirements of a control." Many controls in it are manual. (5)
Where card data hides in an AI system
Microsoft says Foundry models are stateless: "no prompts or completions are stored in the model." (6) But the services around the model can store data:
- Stateful features keep data at rest in your Foundry resource: Responses API history, Assistants threads, stored completions and uploaded files.
- Abuse monitoring, by default, means "a sample of customer's prompts and completions may be selected for review", with flagged content stored for human review.
- Global and DataZone deployments may process prompts outside the resource's geography.
- Your own logs, traces and evaluation datasets often keep full prompts, and those are the easiest to forget.
If a card number can get into a prompt, each of these becomes a place that stores it.
Design it so card data never arrives
These are our recommendations, built on the scoping rule above. Confirm your design with your QSA.
- Keep payments out of the conversation. Have the payment page or provider collect card details, not the chatbot. The AI sees an order number, never a card number.
- Tokenize before anything reaches AI. Systems that feed the AI (CRM, tickets, call transcripts) should hold tokens or truncated numbers, not full card numbers.
- Detect and redact on the way in. Azure AI Language PII detection includes a "Credit Card Number" entity type. (7) Use it to catch mistakes, such as a customer typing their card into a chat, not as your only control.
- Segment the network. Run AI workloads in their own landing zone, with no network path to the CDE. Give agents no tools that can reach payment systems.
- Turn off what you don't need. Avoid stateful features for anything customer-facing unless you've decided how their stored data is handled.
- Check your logs. Make sure prompt logging and tracing redact card numbers too.
For the Microsoft 365 side, Microsoft Purview DLP can stop Copilot from responding to prompts that contain sensitive information types, though Microsoft lists that feature as preview. See Purview for Copilot: DLP, Audit and Retention.
Where we come in
We design and build Azure environments that keep AI out of PCI scope where possible, and well-controlled where it can't be. Your QSA confirms the final scope. See our retail page, Microsoft Foundry Security Best Practices, or send us a message.
Kevin Evans
Founder, Code To Cloud Inc.
Kevin Evans is a Microsoft MVP for Azure. He and the Code To Cloud team build Azure platforms for enterprise and mid-market teams, from developer platforms to AI agents in production. He spent nearly five years at Microsoft, rising to Senior Solutions Engineer, and is a CNCF Ambassador and Calgary chapter lead, based in the Calgary area, Alberta. More about Kevin
Frequently Asked Questions
Is an AI system in PCI DSS scope?
It can be. The PCI Security Standards Council says that when AI is used, it should be considered no different from any other form of technology when scoping PCI requirements. A system that stores, processes or transmits cardholder data, or could affect the security of the cardholder data environment, is in scope.
Is Azure PCI DSS compliant?
Microsoft's compliance documentation says Azure is certified under PCI DSS version 4.0.1 at Service Provider Level 1, with an Attestation of Compliance available to customers. Microsoft also says that status doesn't automatically translate to PCI DSS certification for the services customers build or host on Azure.
Is Azure OpenAI or Microsoft Foundry covered by Azure's PCI DSS attestation?
We didn't find a public Microsoft Learn page that names them. Check the in-scope services listed in Azure's Attestation of Compliance on the Service Trust Portal, and ask your qualified security assessor, before card data goes anywhere near an AI service.
Can Azure detect credit card numbers before they reach a model?
Yes. Azure AI Language PII detection includes a Credit Card Number entity type that can find and redact card numbers in text. Detection helps, but it isn't a scope boundary on its own; keeping card data out of the AI system by design is the stronger control.
Sources
Checked against the PCI Security Standards Council and Microsoft Learn on 3 December 2026. Your QSA and the PCI DSS standard itself are the authority on scope.
- PCI SSC: Just published, PCI DSS v4.0.1
- PCI SSC: PCI DSS
- PCI SSC: Security Considerations for AI Systems
- Microsoft: PCI DSS compliance offering
- Azure Policy: PCI DSS v4 regulatory compliance initiative
- Data, privacy and security for Foundry Models sold by Azure
- Azure AI Language: PII entity categories