
SYSPRO integration options: bank, CRM and e-commerce
Compare SYSPRO integration options for bank files, CRM and e-commerce, and learn how to connect them without touching your ERP core. Built for IT Directors.
Home » Azure OpenAI Security: 8 Controls to Set Before Go-Live
Azure OpenAI security is the part of a generative AI project that most teams leave until the week before launch, and that is exactly when it gets expensive. The proof of concept works, the demo goes well, and then someone from IT asks where the API keys live, whether the endpoint is reachable from the internet, and what happens to the prompts.
If nobody has a good answer, the launch slips. We have taken Azure OpenAI workloads into production for clients in banking, logistics and healthcare, and the same eight controls come up every time.
None of them are exotic. Most take less than a day to configure when you plan for them early, and this guide walks through each one in the order we set them up.
Is your Azure OpenAI app ready for production?
We review your setup against the six gates, from identity to oversight, and give you a prioritised list of what to fix before go-live.
Book a Security Review →Quick Answer Azure OpenAI security comes down to six gates: control who can call the model (Entra ID), where it can be reached (private endpoints), what it will say (content filters and Prompt Shields), what it can read (permission-trimmed retrieval), how much it can spend (an API gateway) and who watches it (logging, alerts and human approval).
Azure OpenAI security needs its own plan because the service accepts free text, mixes it with your internal data and returns text people act on. A normal API does what its code says. A language model does what its input persuades it to do.
The QServices Framework The Six-Gate Model = Identity → Network → Content → Data → Gateway → Oversight
Each gate answers one question in order: who can call it, where from, what it will say, what it can read, how much it can spend, and who is watching. Skip an early gate and every later one has to work harder.
That difference creates three exposures your existing API security checklist does not cover.
Prompts often contain customer names, contract terms, account numbers or source code. Every prompt crosses a network boundary, gets processed by the model and may be logged by your application.
Treat prompt content with the same classification as the most sensitive document a user could paste into the chat box.
Prompt injection happens when a user, or a document the model reads, overrides your instructions. It sits at the top of the OWASP Top 10 for LLM applications, and firewall rules do nothing to stop it.
You need controls at the Content gate as well as the Network gate.
A leaked key or an agent stuck in a loop can burn through a month of token budget overnight. Rate limits and quotas belong in the security plan, not only in the finance review.
Key Insight If a control only checks who is calling the model, it does nothing about what the caller says to it. Production Azure OpenAI apps need identity, network and content controls together.
Microsoft states that prompts and completions sent to Azure OpenAI are not used to train its foundation models and are not shared with OpenAI. The details are in Microsoft’s data, privacy and security statement for Azure OpenAI, and it is worth sending that page to your compliance lead in week one.
By default, Azure may store prompts and completions for up to 30 days so its abuse monitoring system can review flagged content. Organisations with stricter rules, such as regulated banks, can apply for modified abuse monitoring, which removes that storage once approved.
The approval takes time, so request it at the start of the project rather than the end.
The deployment type decides where your requests are processed. Pick it before you build, because changing it later means new deployments and new quota requests.
| Deployment type | Where processing happens | When we recommend it | The trade-off |
|---|---|---|---|
| Global | Any Azure region with capacity | Internal tools with no residency rules and spiky demand | Requests can be processed outside your geography |
| Data Zone | Inside one geography, such as the EU or the US | Most regulated workloads that must stay in a region group | Fewer models and less headroom than Global |
| Regional (Standard) | The single region of the resource | Contracts or regulators that name one specific region | Lowest quota, and new models often arrive last |
| Provisioned | Reserved capacity in the chosen scope | Steady, high-volume production traffic with latency targets | You pay for the capacity whether you use it or not |
Azure OpenAI encrypts stored data with Microsoft-managed keys by default. If a regulation or client contract requires it, you can use customer-managed keys in Azure Key Vault for data the service stores, such as fine-tuning files.
Key rotation and Key Vault availability then become your responsibility, so we only turn this on when someone has written the requirement down.
Standards & References
- OWASP Top 10 for LLM Applications: the common attack classes, prompt injection first
- NIST AI Risk Management Framework: how to govern and measure AI risk
- Azure OpenAI data, privacy and security: what Microsoft stores, and for how long
These are the controls we configure on every production deployment, in roughly the order we set them up. Each one sits on a gate: control 1 is Identity, 2 is Network, 3 and 4 are Content, 5 is Data, 6 is Gateway, and 7 and 8 are Oversight.
Every Azure OpenAI resource ships with two API keys, and most sample code uses them. Keys end up in config files and chat threads, and Azure cannot tell you which person used one.
Give your app a managed identity, grant it the Cognitive Services OpenAI User role, then set disableLocalAuth to true so key-based calls fail. Microsoft’s guide to configuring Azure OpenAI with managed identities covers the setup.
Create a private endpoint in the virtual network where your app runs, link the private DNS zone, and set public network access to disabled.
Decide up front how developers and build agents will reach the endpoint. Teams that skip this step re-enable public access "temporarily" and leave it that way.
Every deployment filters hate, sexual content, violence and self-harm at a medium threshold by default. For most business apps that is a sensible starting point.
Review the settings anyway, record the decision, and create a custom filter configuration if your use case needs stricter limits.
Prompt Shields detect direct jailbreak attempts typed by a user and indirect attacks hidden inside documents, emails or web pages your app feeds to the model. The indirect case matters most for retrieval and agent scenarios.
Microsoft documents both attack types in its Prompt Shields overview. Treat any text you did not write as untrusted, even when it comes from your own SharePoint.
A retrieval app can only be as careful as its search index. Store each chunk’s access groups in Azure AI Search and filter every query by the signed-in user, so the model never sees content that user could not open.
Real-World Scenario A typical case we see: a credit union launches an internal policy assistant over its SharePoint library. In week three a branch manager asks about "bonus rules for my team" and the assistant quotes a draft compensation memo meant only for HR, because the index was built with a service account that could read everything. Prompt Shields flag nothing, since the question is legitimate. Only the Data gate, filtering each search by the user’s group membership, would have stopped it.
We cover the wider design in our guide on how to build a RAG application on Azure. Never rely on a system prompt line like "only answer managers" for access control.
Key Insight A chatbot that can read every HR file will eventually answer a salary question for the wrong person. Permissions belong in the retrieval code, not in the prompt.
Once several apps share Azure OpenAI, route them through Azure API Management. Its token limit policies give each consumer its own ceiling, so one runaway agent cannot exhaust the shared quota.
The gateway also holds the only managed identity that can call the model, which keeps credentials out of individual apps. For the budget side, see our article on Azure cost optimisation levers.
Send diagnostic logs from the resource and the gateway to a Log Analytics workspace, and decide on purpose whether prompt text is logged at all. Full prompt logs help debugging but create a second copy of sensitive data.
Turn on Microsoft Defender for Cloud threat protection for AI services, and alert on token spikes outside business hours. A sudden jump at 2 a.m. is often the first sign of a leaked credential.
When the model only drafts text, a person reads it before it matters. When it can send emails, update records or approve payments, mistakes happen at machine speed.
Give agents the narrowest permissions that work and require approval for anything irreversible. Our piece on AI agent governance and human-in-the-loop design explains the pattern, and our Copilot deployment governance checklist covers the Microsoft 365 side.
Not sure which of the eight controls you already have?
Bring your current Azure OpenAI setup. We will map it to the six gates and show you the gaps worth closing first.
Book a Security Review →Spread the controls across the project instead of saving them for the final sprint. In our client engagements, the core controls for a single app take one to two weeks when they are planned from day one.
Create the resource with managed identity access, local authentication disabled and a private endpoint from the start. Retrofitting these later means changing code and networking under deadline pressure.
Configure content filters and Prompt Shields, build permission trimming into retrieval, and agree the logging policy with compliance while features are still being written. File the modified abuse monitoring request now if you need it.
Add API Management limits, Defender alerts and usage dashboards. Then spend half a day letting your own staff try to break the assistant with injection attempts, and fix what they find before real users arrive.
Key Insight Half a day of internal red-teaming finds more prompt injection gaps than a week of reading documentation.
We start at the Identity gate and work forward, because every later gate assumes the earlier ones hold. A typical engagement runs in five steps:
This work sits inside our Azure security services, and most teams run it alongside the build rather than as a separate project.
Implementation Checklist
- App calls Azure OpenAI with a managed identity, and local auth is disabled
- Public network access is disabled and the private DNS zone resolves
- Deployment type is chosen and recorded against your residency rules
- Content filter settings are reviewed and the decision is written down
- Prompt Shields are on for user input and retrieved documents
- Every search query is filtered by the signed-in user’s groups
- API Management token limits are set per consuming app
- Defender for Cloud AI alerts reach a person who is on call
Azure OpenAI security problems usually surface in the last week before launch, when a single unanswered question about keys, networking or data retention can push the date back. The 30-day abuse monitoring window alone is enough to stall a regulated project if nobody asked about it early.
Three things fix most of it: Entra ID with managed identity instead of keys, private endpoints with public access disabled, and Prompt Shields plus permission-trimmed retrieval. The gateway, monitoring and human approval steps make it safe to scale.
Start with one app as a pilot and measure four things: key-based calls (target zero), share of model traffic through the gateway, injection attempts caught in your red-team session, and time from a token spike to an alert. Planned from day one, the core controls take one to two weeks for a single app.
If you want those numbers for your own setup, book an Azure OpenAI security review with our team and we will run it against the six gates.

Written by Rohit Dabra
Co-Founder and CTO, QServices IT Solutions Pvt Ltd
Rohit Dabra is the Co-Founder and Chief Technology Officer at QServices, a software development company focused on building practical digital solutions for businesses. At QServices, Rohit works closely with startups and growing businesses to design and develop web platforms, mobile applications, and scalable cloud systems. He is particularly interested in automation and artificial intelligence, building systems that automate routine tasks for teams and organizations.
Yes, when it is configured properly. Azure OpenAI supports private endpoints, Microsoft Entra ID authentication and customer-managed keys, and Microsoft does not use your prompts to train its models. Regulated firms usually add modified abuse monitoring and choose a data zone or regional deployment.
No. Microsoft states that prompts, completions and embeddings sent to Azure OpenAI are not used to train foundation models and are not shared with OpenAI. Default abuse monitoring can store data for up to 30 days unless you are approved for modified abuse monitoring.
Content filters block harmful categories such as hate, violence, sexual content and self-harm in prompts and responses. Prompt Shields detect attempts to manipulate the model, either a jailbreak typed by a user or an indirect attack hidden in a document your app passes to the model.
Use managed identity. Keys are shared secrets that get copied into config files and cannot be traced to a person. A managed identity with the Cognitive Services OpenAI User role, plus local authentication disabled on the resource, removes keys from the picture entirely.
Enforce permissions in the retrieval step. Store access groups with each indexed chunk in Azure AI Search, filter every query by the signed-in user’s identity, and never rely on system prompt instructions for access control.
In our client engagements, the core controls for a single application take one to two weeks when they are planned from the start. Approvals such as modified abuse monitoring can take longer, so request them early.
Most controls are configuration and cost nothing extra: managed identity, disabling local auth, content filters and permission trimming. The running costs come from private endpoints, API Management and Log Analytics ingestion, which are billed at standard Azure rates. The larger cost is engineering time, which in our engagements is one to two weeks for a single app.
Start with the Identity gate: give your app a managed identity and disable key-based access on the resource. Then take the endpoint off the public internet. Those two changes close the most common gaps and make every later control easier to add.

Compare SYSPRO integration options for bank files, CRM and e-commerce, and learn how to connect them without touching your ERP core. Built for IT Directors.

ERP upgrade, cloud move, Power Apps extension or replacement? Compare costs and risks in one decision table and pick the right path for your on-prem ERP.

Legacy application modernization works best in phases. Learn how to decide rebuild, replace or retire for each app and move to .NET 8 and Azure safely.

ERP implementation guide for CFOs and controllers: what to demand on AR requirements, data migration, testing and cutover so receivables work on day one.

UAE e-invoicing deadline plan for finance managers: what to do each month from Nov 2026 to 1 July 2027, and what late filers risk. Start with your data.

Follow one deal through the quote to cash process, from CRM to ERP order, invoice and payment. See where data gets retyped and where cash slips.
Next step
Want a second pair of eyes before go-live?
Our Azure security team will walk through your identity, network, content and data controls with you and agree a short pilot to prove them.
Book a Security Review →
Compare SYSPRO integration options for bank files, CRM and e-commerce, and learn how to connect them without touching your ERP core. Built for IT Directors.

ERP upgrade, cloud move, Power Apps extension or replacement? Compare costs and risks in one decision table and pick the right path for your on-prem ERP.

Legacy application modernization works best in phases. Learn how to decide rebuild, replace or retire for each app and move to .NET 8 and Azure safely.

ERP implementation guide for CFOs and controllers: what to demand on AR requirements, data migration, testing and cutover so receivables work on day one.

UAE e-invoicing deadline plan for finance managers: what to do each month from Nov 2026 to 1 July 2027, and what late filers risk. Start with your data.

Follow one deal through the quote to cash process, from CRM to ERP order, invoice and payment. See where data gets retyped and where cash slips.
Every quote comes from a published review on GoodFirms, Clutch or our own site. Click a source to read the full review.
Trustpilot5.0★★★★★See reviewsGoodFirms5.0★★★★★45 verified reviews
G25.0★★★★★See reviewsClutch5.0★★★★★Quality 5.0 · Schedule 4.8
Google4.7★★★★★Mohali office“QServices was highly professional, knowledgeable, and approachable. We continue to work with them on other projects.”
“Quality assurance is often overlooked, but these guys take that very seriously. … their team of experienced, dedicated developers and highly skilled engineers quickly dissected and decomposed every problem and presented solutions and options that directly met my needs”
Erik BrownBusiness owner and software engineerClient review“The supplier delivered the application on time and was responsive to our needs. He was also flexible, which allowed us to make changes on the fly.”
Zoltan BodnarCFO, Yusen LogisticsGoodFirms“Thank you Sahil and team for wonderful collaboration right from day 0. … Highly recommend the developers.”
Ranbeer MakinClientClient review“They are always looking for new ways to improve their products and services and to deliver value to their customers.”
“I have had an excellent experience working with QServices. We have a highly collaborative relationship and I value them not just as contractors but as partners.”
Alex VanderElsClientClient review“Sahil undertakes every project with a high degree of professionalism. His communication style is unmatched and he is always available to resolve issues or just discuss the project.”
Philmore J.ClientClient review“Responsive, patient and professional. Consistent weekly attention to our project, and new ideas we hadn't asked for.”
Michael WilliamsonPresident and CEO, United Way of Southeast LouisianaGoodFirms“I have been working with them on a project for a year now … They have been able to solve problems that come up with bugs or development and able to communicate well with me.”
Steven LewisClientClient review“We had been working on the app for two years. QServices built it in two months.”
Brian WallerPresident, Technology Association of IowaGoodFirms“All projects were delivered on time and were fully completed upon delivery.”
“They had excellent quality. The hypercare they provided after the project went live is exceptional.”

Founder and CEO

Chief Sales Officer