Lesson 3 of 4 Responsible AI and Compliance

Designing Access Controls for Grounding and Tuning Data

This lesson explains how to control access to grounding data and to model tuning data and processes.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain how permission-aware sources protect grounding data.
  • Identify sources that ignore per-user permissions.
  • Describe role separation for tuning.

Access to grounding data

When an agent grounds answers in organizational data, its access controls decide who can learn what. The principle is that an agent should return to each user only what that user is permitted to see. Microsoft 365 Copilot, declarative agents and Copilot Studio knowledge sources that use the user's identity, such as SharePoint and Dataverse, follow this principle automatically. The risk is that the underlying permissions are wrong: sites shared with everyone, broken inheritance, or links that grant access widely. Agents make such oversharing visible because they find content users never browsed to.

Access design for grounding data therefore combines source permissions with additional controls.

  • Permission hygiene: review and correct sharing on sites and libraries before connecting them.
  • Sensitivity labels: labelled content that applies encryption requires the user to have the EXTRACT usage right as well as VIEW before AI can use it, which keeps highly confidential content out of answers.
  • Restricting discovery: SharePoint administration features can exclude selected sites from Copilot and agent discovery while permissions are being fixed.
  • Dataverse security: security roles, business units and column security limit which records and fields an agent retrieves for each user.
  • Security trimming in custom indexes: Azure AI Search indexes for Foundry agents must store permissions and filter results per user.
  • Purview data loss prevention: policies can prevent Copilot from processing content with specified labels.

Shared-identity sources

Some sources do not respect individual permissions. Files uploaded to a Copilot Studio agent are available to every user of the agent, public website sources are public, and a tool that uses a maker's or service account returns whatever that account can see. When a source has no per-user permissions, the design must restrict the agent's audience to people allowed to see all of that content, or filter the content in a tool that knows the user's identity.

Access to tuning data and processes

Model tuning has its own access concerns. Training data often contains the most sensitive examples an organization has, such as real customer conversations. The following table describes the roles and controls a design should separate.

Role or assetAccess design
Data owners who approve data for trainingApprove data sets; no need to run training
Data scientists who prepare and trainAccess to approved, de-identified data sets in restricted storage
Engineers who deploy modelsAccess to model artifacts and deployments, not raw training data
Applications and agentsPermission to call the deployment only
Training data storagePrivate network access, encryption, retention limits, access logging

Separating these roles limits the damage any one compromised account can do, and the access logs feed the audit trail for model changes.

Worked example

Preparing a sales knowledge agent

A company plans a Copilot Studio agent for all employees that grounds answers in the sales SharePoint site. A pilot reveals that the agent quoted a confidential acquisition plan stored in the site, which had been shared with everyone by mistake. The company also wants to fine-tune a model on customer call transcripts. What access controls should you recommend?

The acquisition plan exposure is an oversharing problem: the site's permissions must be corrected, highly confidential documents should carry a sensitivity label that restricts AI use, and the site can be excluded from discovery until the review is complete. For fine-tuning, the transcripts should be de-identified and stored in restricted storage with private access and logging; data owners approve the data set, data scientists train on the de-identified copy, deployment engineers have no access to the raw transcripts, and the agent can only call the deployed model.

Check yourself

Which usage rights does a user need for Copilot to use content encrypted by a sensitivity label?

Show answer

EXTRACT as well as VIEW.

Exam Tips

Remember for the exam

  • Agents return what each user can access, so fix source permissions before connecting.
  • Encrypted labelled content needs EXTRACT as well as VIEW rights for AI use.
  • Uploaded files and shared-identity tools ignore per-user permissions; restrict the audience or filter.
  • Separate data approval, training, deployment and calling roles for tuning.