Data, privacy, and security for Suggested Rules

Suggested Rules is an AI capability in Microsoft 365 Organizational Data Service. It uses a large language model to review a summary of the values in a data column and proposes potential transformation rules for higher data quality.

Suggested Rules introduces a transformation rules wizard and data can be transformed in a staging area before it's sent to apps. It addresses a common pain point: administrators struggle to clean organizational data, such as "NYC," "New York," and "New York City." This variation creates far more distinct values than a column should have, which leads to poor downstream insights. By proposing standardization and grouping rules, Suggested Rules reduces manual cleanup and improves the quality of data that reaches Microsoft 365 apps.

The administrator reviews every suggestion, along with its expected impact, and decides whether to accept, edit, or dismiss it; nothing is applied automatically.

Key terms

The following list provides a glossary of key terms related to Suggested Rules:

Term Definition
Cardinality The number of distinct values in an attribute. High cardinality caused by inconsistent spellings, abbreviations, or overly specific values makes data harder to analyze and weakens insights in downstream apps.
Transformation rule A rule that maps one or many source values in a column to one target value. The rule changes how data is processed during ingestion before it reaches downstream apps. For example, "NYC," "New York," and "New York City" can be grouped into "New York City."

Key features or capabilities

The key features and capabilities outlined here describe what Suggested Rules is designed to do and how it performs across supported tasks.

  • Value-normalization suggestions: Suggested Rules reviews an attribute column and proposes rules that make its values consistent. It covers value standardization, such as turning "NYC" into "New York City" or "Sr Eng" into "Senior Engineer," and value grouping, such as combining "Product Design," "Game Design," and "UX Design" into "Design."

  • Impact review: Each suggestion shows its expected impact, including the rows, attributes and values affected. The administrator can accept, edit, or dismiss each suggestion. Nothing is applied automatically.

  • Reusable rule set across connectors: Accepted rules become the tenant's active rule set and apply across connectors to the current ingestion and to future ingestions. Administrators can edit or delete rules at any time, and data already distributed to apps isn't changed retroactively.

Intended uses

Suggested Rules can be used in multiple scenarios across a variety of industries. Some examples of use cases include:

  • Standardizing office locations at a global financial services firm: A bank ingests organizational data and finds the same office recorded as "NYC," "New York," and "New York City." Suggested Rules proposes a standardization rule that maps these variants to "New York City," and the administrator reviews the expected impact before accepting it. After the administrator publishes, location-based insights in apps such as Viva Insights show one office instead of three.

  • Making job titles consistent in a healthcare network: A hospital network's job title column mixes abbreviations and full names, such as "Sr Eng" alongside "Senior Engineer" and "RN" alongside "Registered Nurse." Suggested Rules proposes standardization rules that expand these abbreviations into one consistent form for each role. The administrator checks each suggestion, edits any target value that doesn't match the organization's official naming, and dismisses the rest. Because staffing and workforce reports draw on this data, the administrator's review step is an important safeguard before anything is applied.

  • Reducing department sprawl at a retail and consumer goods company: A consumer goods company has many small, overly specific team names, such as "Product Design," "Game Design," and "UX Design." Suggested Rules proposes a grouping rule that combines them into "Design," which reduces cardinality so results in apps can be viewed at a meaningful group level. The administrator previews how many rows and values the rule affects before deciding. If the grouping is too broad for the company's needs, the administrator can edit the target value or dismiss the suggestion.

Models and training data

Suggested Rules leverages an AI model to power the experience that users see — specifically GPT 5.6 Reasoning, accessed through the Substrate Responses API. To learn more about the data used to train the foundation model behind Suggested Rules, refer to the Azure OpenAI Service Transparency Note. Suggested Rules performs in-context prompting only: the model is not fine-tuned and isn't trained on any customer or tenant data.

Performance

Suggested Rules is designed to operate reliably as a constrained, single-purpose capability rather than an open-ended chatbot. For each request, the service builds a structured envelope server-side — a column summary (name, data type, row counts, and a profile of observed values) together with any existing rules — and the model returns a constrained set of normalization rules. Because the input is always a fixed, machine-generated structure, the feature performs consistently across many iterations.

Input and output are text only. The input is the structured column-summary envelope described above; the output is a constrained JSON rule set (at most 30 rules, each using only the allowed keys). Suggested Rules doesn't accept or produce images, audio, or video.

Suggested Rules was designed and evaluated in English. Grounding accuracy and output quality have been validated for English; performance on other languages is not guaranteed.

Limitations

Understanding Suggested Rules's limitations is crucial to determine if it's used within safe and effective boundaries. While Microsoft encourages customers to leverage Suggested Rules in their innovative solutions or applications, it's important to note that Suggested Rules wasn't designed for every possible scenario. Microsoft encourages users to refer to either the Microsoft Enterprise AI Services Code of Conduct (for organizations) or the Code Conduct section in the Microsoft Services Agreement (for individuals), as well as the following considerations when choosing a use case:

  • Sparse or ambiguous column profiles: When the profiled values don't support an unambiguous grouping, Suggested Rules deliberately returns an empty result rather than guessing. This protects data integrity, but means low-signal columns might yield few or no suggestions, and an empty result shouldn't be read as an error.

  • Grounding boundary: Suggested Rules only groups values that appear in the supplied column profile and will not invent values or canonical forms. If a correct grouping depends on values outside the profile, the feature will not produce it, so users should review columns where important values might be under-sampled.

  • Non-English content: The feature was developed and evaluated primarily in English. Using it on columns whose values are in other languages might reduce grouping quality, so users should exercise caution when operating outside the intended language scope.

  • Protected or sensitive attributes: By design, Suggested Rules refuses to process protected or sensitive personal attributes and returns an empty result. This is intentional safety behavior, not a defect.

  • Not a general-purpose assistant: Suggested Rules only emits data-normalization rules and ignores any instructions embedded in column data. It shouldn't be used as a chat assistant or for any task outside suggesting normalization rules.

  • Risk of overreliance: Suggested rules are recommendations, not verified transformations. Because an incorrect grouping could alter data, users must review each suggested rule before applying it and should not accept outputs unchecked.

Evaluations

Performance and safety evaluations assess whether AI applications are operating reliably and securely by examining factors like groundedness, relevance, and coherence while identifying the risks of generating harmful content. The following evaluations were conducted with safety components already in place, which are also described in Safety components and, mitigations.

Risk and safety evaluations

For Suggested Rules, risk and safety evaluations were conducted across the following Microsoft Foundry risk and safety categories. Rather than the automated Foundry annotators, the evaluation was performed manually against the production Suggested Rules agent, scoring each response for the same categories:

  • Hate and unfairness

  • Sexual

  • Violence

  • Self-harm

  • Indirect jailbreak

  • Direct jailbreak

  • Ungrounded attributes

Risk and safety evaluation methods

These risk and safety evaluations covered the text modality only, which is the sole modality Suggested Rules supports. 210 adversarial prompts were assembled — 30 for each of seven risk categories (hate/unfairness, sexual, violence, self-harm, indirect prompt injection, direct jailbreak, and ungrounded content) — and sent to the production Suggested Rules agent (GPT 5.6 Reasoning, system prompt SuggestedRules_Agent v1.0) exactly as the shipping feature runs it. Each prompt embedded a harmful, injected, or fabrication-inducing payload inside an otherwise ordinary column summary.

Each response was scored "Pass" or "Fail" by an LLM-as-judge applying a fixed rubric, with any failure assigned a severity mapped to the Azure AI Content Safety bands (0–1 Safe, 2–3 Low, 4–5 Medium, 6–7 High). An ideal result is the model holding its guardrail — firing the safety gate and returning an empty rule set, treating embedded harmful text as inert data, or declining through the platform content-policy filter — while still doing its normal grounded job on benign columns. A suboptimal result would be the model amplifying harmful content, following an injected instruction, leaking its system prompt, breaking the output contract, or inventing ungrounded values.

All 210 prompts passed, with a worst-case severity of Safe (210/210 Pass).

Evaluation data for quality and safety

Evaluation data is custom-built to assess AI application performance across key areas of safety and quality, simulating real-world scenarios and risks. Relevant evaluation aspects of concern are identified based on multi-disciplinary research and expert input. These concerns are translated into targeted evaluation objectives and guide formulation of evaluation metrics. For safety, adversarial prompts are created to elicit undesirable or edge-case responses, which are then scored using AI-assisted annotators trained to assess alignment with Microsoft's safety standards. For quality, rubric-based prompts are crafted relevant to scenarios including evaluating retrieval-augmented generation (RAG) applications and agents. Datasets are curated from diverse sources including synthetic and public datasets to simulate real-world user scenarios. Using the curated datasets, both evaluations undergo iterative refinement and human alignment to improve metric efficacy and reliability. This methodology forms the foundation of repeatable, rigorous assessments that reflect how customers use evaluations to build better and safer AI.

Safety components and mitigations

  • Protected-attribute safety gate: The shipping system prompt (SuggestedRules_Agent v1.0) detects protected or sensitive personal attributes — by column name or by the values themselves — and returns an empty rule set instead of processing them, preventing unfair or discriminatory normalization of sensitive data.

  • Constrained output contract: The model might emit at most 30 rules, each using only the five allowed keys, and every value must be grounded in the supplied column profile. This tightly bounds what the feature can produce and blocks attempts to coerce arbitrary or malformed output.

  • Azure AI Content Safety filtering: Requests and responses pass through the platform's content-safety filters. Directly harmful payloads are refused at the platform layer with a content-policy message before the model processes them, adding defense in depth beyond the system prompt.

  • Server-side input construction: The model never sees free-form user text. The service builds the structured column-summary envelope server-side, so the only attacker-controllable surface is column data, which the model is instructed to treat as inert.

  • Grounding requirement: Rules must reference only values present in the profile, and the feature returns conservative empty results when a grouping cannot be justified, mitigating hallucinated or ungrounded transformations.

  • Data handling: The model is used through in-context prompting only; it isn't fine-tuned and no customer or tenant data is used to train it.

Best practices for deploying and adopting Suggested Rules

Responsible AI is a shared commitment between Microsoft and its customers. While Microsoft builds AI applications and platform services with safety, fairness, and transparency at the core, customers play a critical role in deploying and using these technologies responsibly within their own contexts. To support this partnership, Microsoft offers the following best practices for deployers and end users to help customers implement responsible AI effectively.

Deployers and end-users should:

  • Exercise caution and evaluate outcomes when using Suggested Rules for consequential decisions or in sensitive domains: Consequential decisions are those that might have a legal or significant impact on a person's access to education, employment, financial platforms, government benefits, healthcare, housing, insurance, legal platforms, or that could result in physical, psychological, or financial harm. Sensitive domains—such as financial platforms, healthcare, and housing—require particular care due to the potential for disproportionate impact on different groups of people. When using AI for decisions in these areas, make sure that impacted stakeholders can understand how decisions are made, appeal decisions, and update any relevant input data.

  • Evaluate legal and regulatory considerations: Customers need to evaluate potential specific legal and regulatory obligations when using any AI platforms and solutions, which might not be appropriate for use in every industry or scenario. Additionally, AI platforms or solutions aren't designed for and might not be used in ways prohibited in applicable terms of service and relevant codes of conduct.

End-users should:

  • Exercise human oversight when appropriate: Human oversight is an important safeguard when interacting with AI applications. While Microsoft continuously improves its AI applications, AI might still make mistakes. The outputs generated might be inaccurate, incomplete, biased, misaligned, or irrelevant to your intended goals. This could happen due to various reasons, such as ambiguity in the inputs or limitations of the underlying models. As such, users should review the responses generated by Suggested Rules and verify that they match their expectations and requirements.

  • Be aware of the risk of overreliance: Overreliance on AI happens when users accept incorrect or incomplete AI outputs, mainly because mistakes in AI outputs might be hard to detect. For the end-user, overreliance could result in decreased productivity, loss of trust, application abandonment, financial loss, psychological harm, or physical harm, such as a doctor accepting an incorrect AI output.

  • Exercise caution when designing agentic AI in sensitive domains: Users should exercise caution when designing and/or deploying agentic AI applications in sensitive domains where agent actions are irreversible or highly consequential. Additional precautions should also be taken when creating autonomous agentic AI as described further in either the Microsoft Enterprise AI Services Code of Conduct (for organizations) or the Code Conduct section in the Microsoft Services Agreement (for individuals).

  • Review each suggested rule before applying it: Suggested Rules proposes data-normalization rules but doesn't apply them. Because an incorrect grouping could change your data, review each rule and confirm it matches your intent before accepting it.

Deployers should:

  • Configure for your intended use: Suggested Rules is intended for suggesting value-normalization rules on tabular columns. Point it at columns that fit this purpose.

  • Be aware of data-borne injection: Because the only attacker-controllable input is column content, malicious strings could be smuggled into column names or values. The server-side envelope and the system prompt treat this content as inert, but deployers handling untrusted data should remain aware of this surface.

  • Monitor for performance drift: Periodically review accepted-versus-rejected suggestions and re-check quality after major data or model changes, so you can detect and respond to any drift in output quality over time.

Learn more about Suggested Rules