Copilot Studio on premise: what stays in your network

Copilot Studio runs only as a Microsoft online service, so agent logic and stored data do not run on your servers. The on-premises data gateway lets agents reach SAP and other internal systems behind a firewall, and SharePoint Server content is not yet a supported knowledge source.

On this page

Can Copilot Studio be self-hosted on premise?

Copilot Studio is not self-hosted. It runs only as a Microsoft online service, so the agent, its orchestration and its runtime sit in Microsoft's cloud, not in your data center. Your organization can still let agents reach systems that stay on site, because the on-premises data gateway installed on a Windows server inside your network can carry requests from Copilot Studio to internal systems even when firewalls are in place. The decision you face is therefore not whether the agent can live on your premises, but which internal data may leave the building through an agent and under what controls.

Microsoft's compliance article classifies Copilot Studio as an Online Service under the Microsoft Online Services Terms, so the contractual and assurance questions belong in your cloud vendor review, not your on-premises hosting review. Your approval checklist should record that classification, the governing agreements named in Microsoft's security and governance article, and the geography you select, because Copilot Studio data is stored in Azure datacenters in the geography the organization chooses. Confirm with Microsoft's compliance documentation and your account team whether any on-premises or dedicated deployment option exists for your tenant. No such edition is listed in the facts supporting this page, so do not record one as available until Microsoft confirms it in writing.

Before approving any gateway connection, have the security team document each internal system an agent may call, the Windows server hosting the gateway, and the account it uses. For SAP, the Microsoft architecture guidance also requires the SAP Connector for Microsoft .NET for BAPI and RFC access, and it notes that SAP OData services can be exposed through the same gateway, so review each exposed interface separately. Treat SharePoint Server content differently: the SharePoint Server connector overview states that this content is not yet supported as a knowledge source in Copilot Studio, so do not plan agents around it without checking the current status with Microsoft.

What can stay on site, and what cannot

This table separates the parts of Copilot Studio that run in Microsoft's cloud from the parts that can reach systems inside your network. Read each row as a question to confirm with Microsoft and your own architecture team before approving a use case. The main takeaway is that the agent runtime and its storage are a Microsoft online service, and on-premises access depends on a gateway you host.

CapabilityWhat the supplied facts showWhat to confirm before approval
Agent runtime and Copilot Studio storageCopilot Studio is an Online Service under the Microsoft Online Services Terms, so it does not run on your premises.Confirm with Microsoft that no self-hosted or dedicated edition is available for your tenant.
Data residency by chosen geographyCopilot Studio data is stored in Azure datacenters in the geography the organization chooses.Confirm the geography you select at environment setup and whether any processing occurs outside it.
On-premises data gateway for SAP and other systemsThe gateway is installed on a Windows server you run, with access to the target system, and lets Copilot Studio reach systems behind firewalls.Confirm the server placement, network rules, patching owner and who administers the gateway.
SAP BAPI and RFC accessRequires SAP Connector for Microsoft .NET in addition to the gateway.Confirm the connector version and licensing with your SAP and Microsoft contacts.
SAP OData servicesSAP OData services can be exposed through the same on-premises data gateway.Confirm which OData services are exposed and the authentication used for each.
SharePoint Server knowledge sourceSharePoint Server connector content is not yet supported as a knowledge source in Copilot Studio.Check current Microsoft Learn status before planning any SharePoint Server grounding.
Self-hosted Copilot Studio editionNot covered by the supplied facts. No self-hosted edition is documented here.Ask Microsoft in writing whether any on-site or dedicated deployment exists, and for which regions.

How the on-premises data gateway keeps internal systems behind your firewall

The on-premises data gateway is the piece of this design you control on site. It is installed on a Windows server that has network access to the internal system, such as an SAP system, and it lets Copilot Studio reach that system even when firewalls are in place. The agent, its configuration and its storage stay in the Microsoft online service. Your decisions sit at the gateway: who installs and operates it, which server it runs on, and which network paths it is allowed to open. Ask your network team to document the single server, the outbound connectivity it needs and the firewall rules that cover it, and confirm those rules with Microsoft's current gateway documentation before approval.

Several decisions belong to named owners. The infrastructure or platform team should own the gateway host, its patching, its service account and its monitoring, and it should be treated as a production system with access to internal data. The application owner for the SAP or other backend should decide which functions are exposed. For SAP, the SAP architecture article on the gateway describes the BAPI and RFC path, which also requires the SAP Connector for Microsoft .NET, and the option of exposing SAP OData services through the same gateway. Each route is a separate approval: an RFC or BAPI function gives the agent a different level of access than a narrow OData service. Approve connections by name and scope, not as a blanket connection to the whole system.

Before go-live, confirm three things in writing: which connections exist and who approved each one, which service account the gateway uses and what that account can read or change in the backend, and how gateway and connection activity will be logged and reviewed. The agent's own activity is covered by the tenant-level controls described elsewhere on this page, but the gateway's logs are your evidence of what crossed the firewall. Also plan for removal: a documented way to disable a connection, revoke the service account and uninstall the gateway should be part of the rollout plan, not an afterthought.

Where agent requests and data travel

The diagram starts with a maker or end user reaching Copilot Studio, which runs as a Microsoft online service. When an agent needs SAP, it calls the on-premises data gateway on a Windows server inside your firewall, and that gateway reaches SAP through the SAP Connector for Microsoft .NET for BAPI and RFC calls, or through SAP OData services. Check that the Copilot Studio data stores sit in the Azure geography you chose, and confirm with Microsoft which traffic crosses your perimeter before approval.

Agent traffic from Microsoft's cloud reaches SAP only through a gateway inside your firewall.

Decisions to make before connecting internal systems

Connecting Copilot Studio to systems behind your firewall means deciding which systems get a gateway path, where the gateway server runs, and who can create and use those connections. The choices below shape your attack surface, your support load and what data leaves your network.

Which systems get a gateway connection

Start with an inventory of internal systems the agent must reach and cut it down to the ones with a defined business use. Each system behind the gateway becomes a path from a cloud service into your network, so every entry needs an owner, a stated purpose and a named set of actions the agent may call. Ask the vendor which connectors are available for each system and whether they expose read or write operations. Systems you exclude now are easier to add later than to remove after makers have built agents on them.

SAP gateway architecture

Where the gateway server sits

The on-premises data gateway is installed on a Windows server that has access to the target system, and that server is what lets Copilot Studio reach systems even when firewalls are in place. Decide which network segment hosts it, which outbound paths it needs, and which team patches and monitors it. Treat the gateway host as a privileged system with its own hardening baseline, logging and change control. Confirm with Microsoft the current network requirements before you open any rules.

BAPI, RFC or OData for SAP

For SAP, the choice of interface determines what extra components you install. BAPI and RFC access requires the SAP Connector for Microsoft .NET in addition to the gateway, while SAP OData services can be exposed through the same gateway. Each route has a different owner on the SAP side, since BAPI and RFC calls run under SAP authorization objects that your SAP basis team must define. Prefer the narrowest interface that covers the use case, and confirm the authorization model with your SAP team before the agent is tested.

Azure geography for stored data

Copilot Studio stores data in Azure datacenters in the geography your organization chooses, so the region decision sets where agent data, including transcripts and records returned from internal systems, is held. Confirm the geography before any environment is created, because moving data later is a project of its own. Check how this choice interacts with your regulatory obligations and with any data classification rules that restrict where regulated records may reside.

Geographic data residency

Data policy connector groups for the gateway

Data policies in the Power Platform admin center sort connectors into groups, and the group a gateway connector falls into decides whether makers can combine it with external or unrestricted services. Decide which connector group the on-premises gateway belongs to, and keep it separate from connectors that send data to public services. Document the policy so makers cannot widen it inside their own environments. Ask your Microsoft account team how data policy enforcement applies across your tenants before you rely on it.

Configure data policies

Who may create connections

A gateway connection carries credentials that let an agent act on an internal system, so who creates that connection matters as much as the system itself. Restrict connection creation to a small platform team, and require makers to request a shared, approved connection rather than entering their own service credentials. Assign the SAP or other service account the minimum authorization it needs, and review those accounts on a schedule. This keeps support ownership clear when a connection fails or a credential expires.

How the answer changes by data and network situation

Copilot Studio is an online service, but the on-premises data gateway lets it reach SAP systems that sit behind firewalls. The gateway is installed on a Windows server that has network access to the SAP system, and it makes outbound connections on your behalf, so the SAP system itself does not need to be exposed to the internet. The access method you choose determines what else you must install and what you must govern.

  • BAPI and RFC access: This path also requires the SAP Connector for Microsoft .NET on the gateway server, so it adds a component you must version, patch and approve.
  • OData services: SAP OData services can be exposed through the same gateway, which can narrow the surface you need to govern if your SAP team already publishes them.
  • Gateway host: The Windows server is your responsibility. Confirm its patching, account privileges, logging and network segmentation with your platform and SAP teams.
  • SAP authorizations: The SAP user the gateway runs as defines what agents can read or change. Confirm least-privilege roles with your SAP security team before any maker connects.
  • Data path: Ask Microsoft to confirm exactly which request and response data leaves your network for each connector, since the gateway does not keep SAP data on site.

Before approval, check the gateway architecture article and confirm with your SAP and security teams which access method and service account you will allow.

Order of work for a gateway-connected rollout

This sequence confirms that the agent runs as an online service in the geography you chose, connects only to the internal systems and content it needs through the on-premises data gateway, and is visible in audit logs before any maker publishes it to users.

  1. Confirm the online service classification and geography

    Start by recording that Copilot Studio is an Online Service under the Microsoft Online Services Terms, so the agent logic, orchestration and conversation processing run in Microsoft's cloud and not on your servers. Next, confirm the Azure geography your tenant and environment use for Copilot Studio data, using Microsoft's geographic data residency documentation as the reference. Ask your Microsoft account team or licensing contact to confirm both points in writing and file the answer with your architecture decision record. This step is done when the security owner has signed off on what leaves your network and where it is stored.

  2. Inventory internal systems and the content each agent needs

    List every internal system an agent may call, such as SAP, SharePoint Server or other line-of-business databases and APIs, and for each one note the specific tables, BAPIs, RFC functions, OData services or document libraries that the agent needs. Mark which items contain personal, financial or health data, because those drive the approval level and the data policy decisions in later steps. Be aware that SharePoint Server content is not yet supported as a Copilot Studio knowledge source, so confirm the current connector status before you design around it. The step is complete when each agent has a written list of systems and data objects, approved by the data owner.

  3. Install and secure the gateway on a Windows server

    Install the on-premises data gateway on a Windows server that has network access to the target system, for example the SAP application server, and keep the server in a restricted segment with only the required outbound and inbound paths. Microsoft's SAP architecture guidance states that the gateway lets Copilot Studio reach SAP even when firewalls are in place, which means your firewall rules should be scoped to that server rather than opened broadly. Apply your standard hardening baseline, restrict the service account to least privilege, and record who administers the server. The step is done when a test connection succeeds from the gateway and the firewall change record matches the approved design.

  4. Install SAP Connector for Microsoft .NET where BAPI or RFC is needed

    If an agent must call BAPIs or RFC functions, install the SAP Connector for Microsoft .NET on the same gateway server, as Microsoft's SAP architecture article requires for that access pattern. If the agent only needs SAP OData services, you can expose those through the gateway without this component, so confirm the access pattern for each system in your inventory first. Keep the SAP user roles narrow and tied to the approved function list, because the gateway can only pass through what the SAP account is allowed to do. The step is complete when the connector version and the SAP authorization profile are documented and reviewed by the SAP security team.

  5. Set data policy connector groups

    In the Power Platform admin center, configure the data policy for the environment that holds these agents so that the gateway-based connectors sit in the group your policy defines, and block connectors and actions that the use case does not need, such as unapproved HTTP or unauthenticated channels. Your tenant admin should verify that makers in other environments cannot add the same connectors to unrelated agents. Document the policy settings and the owner of each connector group. The step is done when a maker test in the target environment confirms that only approved connectors appear and that a blocked connector is refused.

  6. Verify end-to-end access and logging before publishing

    Run an end-to-end test with a non-production account that asks the agent for one approved data item from each connected system, and confirm that the response matches the source record and that the call was refused for an out-of-scope request. Then check that maker audit logs for these activities appear in Microsoft Purview, and that Microsoft Sentinel is ingesting and alerting on agent activity as your monitoring design requires. Record the test results, the log locations and the alert owner. Publishing to users should only proceed once the security reviewer confirms that every test was logged and every blocked request was recorded.

What a security reviewer asks to see

This table lists the evidence a reviewer should request to confirm what stays in your network for Copilot Studio. Each row pairs an evidence item with the question it answers and the Microsoft Learn page where the claim is documented. Use it as a request list before approval, and note that several items must come from your own tenant rather than from Microsoft's documentation.

Evidence itemQuestion it answersWhere to check
Microsoft Online Services Terms classificationIs Copilot Studio an online service under the contract, so it runs in Microsoft's cloud and not on your servers?Microsoft Learn compliance article on ISO, SOC and HIPAA
Geography setting for the environmentIn which Azure datacenter geography is the agent data stored, and is that the geography you chose?Microsoft Learn geographic data residency article
Gateway server build and access recordWhich Windows server runs the on-premises data gateway, what it can reach inside the firewall, and who logged in to it?Your own server inventory and access logs, using the SAP architecture article as the design reference
SAP connector version and service listWhich SAP Connector for Microsoft .NET version is installed, and which BAPI, RFC or OData services are exposed through the gateway?Your SAP and gateway configuration, checked against the SAP architecture article
Data policy connector group exportWhich connectors and HTTP actions are allowed or blocked for agents in each environment?Power Platform admin center data policy settings, documented in the data policy article
SharePoint Server limitation noteCan SharePoint Server content be used as a knowledge source today, or must it be moved to another source?Microsoft Learn SharePoint Server connector overview, confirmed with Microsoft for your version
Purview or Sentinel log samplesCan you show that gateway-connected agent activity appears in maker audit logs and alerts?Microsoft Purview audit log search and Microsoft Sentinel, configured in your tenant

Questions buyers ask about on-premise Copilot Studio

Can Copilot Studio run inside our own data center?

No. Microsoft's compliance article describes Copilot Studio as an Online Service under the Microsoft Online Services Terms, so the agent runtime runs in Microsoft's cloud. What can stay on site is the data source. An on-premises data gateway installed on a Windows server in your network lets the cloud agent reach systems behind your firewall. The service is still governed by your commercial agreements, including the Microsoft Product Terms and the Data Protection Addendum. Design around that split: agent logic, conversation handling and transcript storage run in the service, while your systems and the gateway that brokers access to them stay in your network. Before approving use with regulated records, confirm with Microsoft which data, transcripts and logs are held in the service.

What does the on-premises data gateway need from our team?

The gateway is software installed on a Windows server that has network access to the target system. It lets Copilot Studio reach that system even when firewalls are in place. Your team needs to provide the Windows server, a service account, and network paths that allow the gateway to reach the source and the cloud service. Assign an owner for patching, monitoring and recovery of that host, because every agent that depends on the connection depends on it too. Ask Microsoft for the current prerequisites, supported operating systems and outbound connectivity requirements, since these can change. Restrict the service account so the gateway reads only what the agents need. Decide who may create connections, because a maker who can create a connection can reach any source the gateway exposes to that environment.

Does SAP access need extra components beyond the gateway?

It depends on the SAP interface you use. Microsoft's SAP architecture article states that BAPI and RFC access also requires SAP Connector for Microsoft .NET, which you install and maintain alongside the gateway. SAP OData services can be exposed through the same gateway, so an OData design may avoid that connector if your SAP landscape already publishes the endpoints you need. Your SAP team should choose the interface for each agent, since that choice sets the authorization model, the transport security and the SAP-side work. Ask the SAP basis team to create dedicated technical users with narrow authorizations, test read-only scenarios first in a non-production system, and log which services the agents call. Confirm supported SAP and .NET versions with Microsoft before you build.

Can we keep SharePoint Server content as an agent knowledge source?

Not yet. Microsoft's SharePoint Server connector overview states that SharePoint Server connector content is not yet supported as a knowledge source in Microsoft Copilot Studio. An agent therefore cannot ground its answers on documents in an on-premises SharePoint Server farm through that connector. Check the current connector overview before you scope any project, because support changes over time. If teams need document answers from on-premises content, ask Microsoft which supported paths exist and evaluate each one for data classification, access control and retention. Do not assume that a connector listed for another SharePoint offering covers your farm. Record the decision in your data classification register so makers do not copy restricted files into an unapproved store as a workaround.

Where is our Copilot Studio data stored?

Microsoft's Copilot Studio residency article states that Copilot Studio data is stored in Azure datacenters in the geography your organization chooses. That choice sets where stored agent data sits, but it does not settle every processing question, so check the article for the features you plan to use. Content from your on-premises systems passes through the gateway when an agent calls the source, and the returned content is then handled by the service according to the agent's configuration. Ask Microsoft which data categories fall under your chosen geography, including transcripts, Dataverse records and logs, and which regions handle generative AI processing. Record those answers in your data inventory before go-live.

What drives the cost and effort of a gateway rollout?

Licensing comes first. Microsoft's Copilot Studio pricing page lists Copilot Credit capacity packs of 25,000 credits at $200 per pack per month, as of November 2026, plus pay-as-you-go and pre-purchase options. The same page states that Copilot Studio is included with Microsoft 365 Copilot for building and using internal agents, while external publishing requires a standalone license. Credit consumption grows with the number of agents, the systems they call and how often they run. Separately, you pay for the Windows server, the SAP connector work, network changes, testing, and staff time from security, SAP basis and identity teams, plus ongoing patching and monitoring of the gateway host. Ask any quote to separate one-time build work from recurring licensing and support, and ask for the assumptions behind the credit forecast.

What can our team do without outside help?

Your team can do a lot before bringing in anyone. Inventory the on-premises systems each agent would touch, classify their data, and decide which must stay behind the firewall. Confirm licensing with Microsoft and your account team, and identify the data policy and audit logging controls you will need to enforce. Your Windows and SAP teams can prepare the host, service accounts and authorizations, and test read-only access in a non-production system. Specialist time usually goes to installing and hardening the gateway, setting up the SAP-side connector, and assembling evidence for your security review. If you want outside help, DeployOpen scopes engagements in writing before work starts and runs security testing of AI systems and agents. It does not operate Microsoft's service, so ask for a scope that matches your environment.

Official Microsoft pages to check each claim against

Before a security or procurement review signs off on any statement about on-premises access, check it against Microsoft's own documentation rather than a summary, including this page. The most useful starting point for the hosting question is Microsoft's compliance article, which states that Copilot Studio is an Online Service under the Microsoft Online Services Terms. Read that article alongside the Microsoft Learn compliance article on ISO, SOC and HIPAA so the hosting classification and the certification scope are reviewed together, and confirm with Microsoft which terms apply to your specific agreement.

For the data location question, the geographic data residency article describes where Copilot Studio data is stored, which is in Azure datacenters in the geography the organization chooses. Pair it with the SAP architecture article on the on-premises data gateway, which explains how a gateway on a Windows server inside your network reaches systems behind a firewall, and which also covers the SAP Connector for Microsoft .NET needed for BAPI and RFC access. Record in your review that the gateway keeps the source system on site while the agent logic and orchestration remain in the Microsoft service.

Finally, confirm the SharePoint Server position against the SharePoint Server connector overview, which states that this connector content is not yet supported as a knowledge source in Copilot Studio. Because Microsoft documentation changes, ask your Microsoft account team to confirm the current status of each item before a decision, and keep a dated copy of the pages you relied on in the approval file.

How DeployOpen supports a Copilot Studio gateway review

DeployOpen works on the parts of a Copilot Studio rollout that run inside your own network, such as the on-premises data gateway and the systems it reaches. We help your team decide which data paths stay on site, which must remain in the Microsoft online service, and what evidence your reviewers need before approval.

How we scope

  • Engagements are fixed-scope, with the systems, data sources and gateway hosts agreed in writing before work starts.
  • The written scope lists each internal system a Copilot Studio agent would reach and the connector path used for it.
  • Scope names which controls are in review, such as gateway hosting, network rules and admin policy settings, and which stay out.

How we build

  • We plan and implement the on-premises data gateway on a Windows server that your team controls, with access limited to the agreed systems.
  • For SAP, we confirm whether BAPI and RFC access, which needs the SAP Connector for Microsoft .NET, or OData exposure through the gateway fits the agreed scope.
  • We test the gateway path against your firewall rules and document what traffic leaves your network and what does not.

How we hand over

  • You receive a written record of the data flows, gateway configuration, network boundaries and open questions for your reviewers.
  • The record separates what stays on site from what Microsoft processes in its online service, with the source for each statement.
  • We walk your IT, security and compliance staff through the handover so they can answer audit and approval questions themselves.

How we support

  • Ongoing support, upgrades and continuous testing of the gateway path are available as a retainer.
  • Retainer work can include re-checking the design when Microsoft changes connector behavior or when you add a new internal system.
  • Before you sign, ask us to confirm the support hours, response terms and upgrade scope in the written quote.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.