How to opt-in for zero data retention with Azure OpenAI service?

Misha Umnov 25 Reputation points
2025-07-11T07:59:43.11+00:00

Hello everyone,

We are evaluating Azure OpenAI models (inference only) to power a new AI feature for our clients.
We need to understand how the prompts we send to Azure OpenAI model Completion API would get stored somewhere in Azure, or third parties, and how could we opt-out of this behavior?
Our goal is to get zero-data-retention at Azure OpenAI layer and store/retrieve all relevant data to/from our product databases, ie that the data is never stored to Azure servers at-rest at all.

We have already reviewed https://learn.microsoft.com/en-us/azure/ai-foundry/responsible-ai/openai/data-privacy?tabs=azure-portal and it seems there is some data persistence & human review for "abuse moderation" feature, which I understand can be opted-out via support.
Are any more services/features we need to opt-out from to get to zero-data-retention? Any kind of 'logging' we need to explicitly turn off like there is with Cognitive Services?

Azure OpenAI in Foundry Models

Answer accepted by question author
Amira Bedhiafi 43,046 Reputation points MVP Volunteer Moderator
2025-07-11T12:05:11.2966667+00:00

Hello Misha !

Thank you for posting on Microsoft Learn.

Zero data retention is only available for customers with an enterprise agreement (EA) or Microsoft Customer Agreement (MCA) and not pay-as-you-go.

You can deploy a dedicated Azure OpenAI Resource, not public/shared preview endpoints and access it via region-specific endpoints ( https://{your-resource-name}.openai.azure.com/).

You can open a support ticket to request zero data retention, Microsoft will confirm and flag your resource to bypass prompt logging and human review.

Abuse monitoring and content filtering is on by default and may retain data temporarily (up to 30 days) so when zero retention is approved, this is disabled or bypassed for that resource.

Keep in mind that in zero zata retention mode:

  • prompts and completions are not stored even temporarily
  • no human review is conducted
  • you are responsible for ensuring content safety and compliance on your own systems
  • you must request this mode per resource as it's not enabled by default

https://learn.microsoft.com/en-us/azure/ai-foundry/responsible-ai/openai/data-privacy?tabs=azure-portal

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Mahdi 0 Reputation points
    2025-12-16T20:04:29.2033333+00:00

    While I appreciate the clear and to the point response above, I just spent an hour of my day trying to figure how to make a support ticket! and I failed!

    Can you also provide a How To guide on making simple support tickets ?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.