
For years, enterprises have encouraged citizen development.
Low-code and no-code platforms gave business users the ability to build applications, automate workflows, connect data sources, and solve departmental problems without waiting for professional software development teams.
That delivered real value.
It also created familiar problems: shadow IT, poorly governed applications, excessive permissions, duplicated data, abandoned solutions, fragile integrations, security vulnerabilities, and systems that became business-critical without ever being designed as enterprise systems.
Now we are beginning the next phase:
Citizen AI.
Employees who have never designed a software system, implemented an authorization model, performed threat modeling, or written production code can increasingly create AI agents capable of interacting with enterprise systems.
And that changes the risk substantially.
A poorly designed low-code application can cause problems.
A poorly designed AI agent can decide what to do, choose a tool, and perform the wrong action thousands of times before anyone realizes what happened.
The question enterprises need to answer isn’t whether employees should be allowed to use AI.
It’s:
When every employee can build an AI agent, who controls what those agents are allowed to do?
Citizen AI Is the Next Evolution of Citizen Development
The basic idea behind citizen development was reasonable.
The people closest to a business problem often understand that problem better than a centralized IT department. Give those employees accessible tools and they can automate repetitive work without waiting months for a development project.
AI lowers the barrier again.
Instead of configuring application screens, writing formulas, or designing workflows, an employee can increasingly describe what they want:
Monitor incoming customer requests, determine what each customer needs, update the appropriate records, create any necessary tasks, and notify the appropriate people.
An AI agent can potentially interpret that objective and determine how to accomplish it.
That is extraordinarily powerful.
But notice what changed.
Traditional software generally executes logic someone explicitly designed.
An AI agent can be given an objective and determine which actions it believes are necessary to accomplish it.
That moves citizen development from:
“Employees can build software.”
toward:
“Employees can build software that makes decisions and takes actions.”
Those are not equivalent security models.
The Problem Isn’t That AI Might Become Evil
Much of the public discussion around AI risk focuses on dramatic scenarios: superintelligence, autonomous weapons, mass unemployment, or AI systems escaping human control.
Enterprise IT has a much more immediate problem.
An AI agent doesn’t need to become malicious to cause substantial damage.
It merely needs to be wrong while possessing sufficient authority to act.
Consider an employee who creates an agent with access to:
- Microsoft Dynamics 365
- SharePoint
- Microsoft 365
- Microsoft Graph
- SQL Server
- internal APIs
- customer records
- financial systems
- document repositories
- workflow automation
The agent receives a perfectly reasonable instruction:
Clean up obsolete customer records.
What does clean up mean?
Archive them?
Mark them inactive?
Remove duplicates?
Delete them?
Delete associated documents?
Update related records?
The employee understands what they meant.
The agent has to infer what they meant.
If the agent makes the wrong inference but only produces a recommendation, someone can correct it.
If the same agent has permission to modify Dynamics 365 directly, the problem changes dramatically.
Reasoning errors become operational incidents.
Your Employee’s Permission Is Not Your Agent’s Permission
One of the most dangerous shortcuts in enterprise AI architecture is likely to sound perfectly reasonable:
The AI agent runs using the employee’s identity, so it can only do what the employee is already authorized to do.
That sounds secure.
It isn’t sufficient.
Suppose an employee legitimately has permission to:
- view thousands of customer records,
- modify Dynamics 365 data,
- access multiple SharePoint sites,
- download documents,
- send email,
- generate reports,
- update business records.
Those permissions may be entirely appropriate for that employee.
But the employee and an autonomous AI agent have fundamentally different risk profiles.
A human employee normally operates relatively slowly.
They understand organizational context.
They recognize unusual situations.
They hesitate before performing obviously destructive operations.
They may notice that deleting 10,000 customer records seems wrong.
An AI agent can potentially execute the same mistake at machine speed.
That creates an important enterprise security principle:
Human authorization does not automatically imply agent authorization.
Authorization systems traditionally answer questions such as:
Can this employee modify this record?
Enterprise AI introduces another question:
Should an autonomous system acting on behalf of this employee be permitted to perform this operation?
Those are different questions.
AI Changes the Blast Radius
Enterprise systems have always experienced software bugs, configuration errors, compromised credentials, and human mistakes.
AI introduces another dimension:
autonomous interpretation combined with machine-speed execution.
Imagine an AI agent tasked with maintaining customer information.
It incorrectly determines that 18,000 Dynamics 365 records are obsolete.
If it can directly call an API capable of deleting those records, one reasoning error becomes 18,000 destructive operations.
Or consider an agent processing documents stored in SharePoint.
A malicious document contains instructions designed to manipulate the agent.
The agent interprets those instructions as legitimate and uses its available tools to retrieve additional information.
Now prompt injection isn’t merely producing an embarrassing chatbot response.
It has crossed an architectural boundary.
Untrusted content has influenced a system capable of performing authorized enterprise actions.
That is a very different threat.
The AI Agent Doesn’t Need Your Password
Credential exposure creates another misconception.
Security teams may correctly prevent agents from seeing passwords, API keys, connection strings, and other secrets.
That’s necessary.
But hiding credentials doesn’t solve the broader authorization problem.
An agent doesn’t need to know the password if the platform provides it with a tool that already possesses the required authority.
For example, an agent might have access to functions such as:
UpdateCustomer()
DeleteDocument()
SendEmail()
CreatePayment()
ChangePermissions()
ExecuteWorkflow()
The credentials may be securely stored in Azure Key Vault or another secrets-management system.
The LLM never sees them.
But if the agent can invoke a privileged capability whenever its reasoning determines that doing so is appropriate, the security problem remains.
Protecting credentials and controlling authority are related, but they are not the same problem.
Prompt Injection Becomes an Authorization Problem
Prompt injection is frequently discussed as an LLM problem.
In enterprise AI, it can become something more serious:
an authorization problem.
Imagine an AI agent responsible for processing incoming documents.
A document contains malicious instructions designed to convince the agent to retrieve additional information, modify records, or send data somewhere else.
If the agent can only summarize documents, the potential damage is limited.
If the agent can access SharePoint, Microsoft Graph, Dynamics 365, SQL Server, email, and internal APIs, the same prompt injection can potentially influence real enterprise operations.
The critical security boundary therefore isn’t merely:
User → LLM
It is:
Untrusted Information → LLM Reasoning → Enterprise Authority
The more authority available after the reasoning step, the greater the potential blast radius.
“AI Can Do It” Doesn’t Mean “AI Should Be Allowed to Do It”
Enterprise AI architecture needs to distinguish between capability and authority.
An AI model may be technically capable of deciding which customer accounts appear inactive.
That doesn’t mean it should have unrestricted authority to deactivate customer accounts.
It may be capable of determining that a SharePoint document appears obsolete.
That doesn’t mean it should be able to delete the document.
It may be capable of drafting a payment request.
That doesn’t mean it should be able to authorize payment.
This distinction becomes increasingly important as AI platforms make tool use and agent creation easier.
The architecture shouldn’t ask only:
Can the agent perform this action?
It should ask:
Under exactly what conditions should this agent be permitted to perform this action?
Don’t Give the LLM the Keys to the Enterprise
A safer enterprise AI architecture separates reasoning from execution.
At AInDotNet, we describe the control chain as:
Observe → Analyze → Recommend → Authorize → Execute → Verify → Audit
An LLM is particularly useful in the early stages.
Observe
Gather relevant documents, records, messages, events, and other information.
Analyze
Interpret unstructured information, identify patterns, classify situations, and evaluate possible responses.
Recommend
Propose an action.
But a recommendation should not automatically become an execution command.
Before consequential operations occur, the system should move into controlled enterprise software.
Authorize
Determine whether the proposed action is permitted.
Authorization can consider:
- user identity,
- agent identity,
- requested operation,
- affected resources,
- business rules,
- risk level,
- transaction value,
- record count,
- regulatory requirements,
- required human approval.
Execute
Perform the approved operation through deterministic software and constrained capabilities.
Verify
Confirm that the expected result actually occurred.
Audit
Create evidence showing what was requested, recommended, authorized, executed, and verified.
This architecture treats the LLM as an intelligent component inside an enterprise system rather than treating the LLM as the enterprise system.
Give Agents Capabilities, Not Unlimited Access
One practical way to reduce AI agent risk is to expose narrowly defined enterprise capabilities rather than broad system access.
Instead of giving an agent unrestricted access to Dynamics 365, provide a controlled capability such as:
DeactivateCustomerAccount(customerId)
That capability can independently enforce:
- authorization,
- validation,
- business rules,
- maximum transaction limits,
- protected-record restrictions,
- logging,
- idempotency,
- approval requirements,
- error handling,
- rollback procedures,
- verification.
The AI agent can recommend:
These 37 customer accounts appear to meet the criteria for deactivation.
The capability layer decides whether those accounts actually can be deactivated.
That is a much stronger architecture than allowing an LLM to construct arbitrary operations against enterprise systems.
The distinction is fundamental:
The AI decides what it recommends. Enterprise software decides what it is allowed to do.
Put Deterministic Controls Near Consequential Actions
Not every AI operation requires the same level of control.
Having an LLM summarize a public document presents a very different risk from allowing an AI agent to modify financial records.
Controls should increase as actions become more consequential.
An enterprise might allow an AI system to:
Read automatically.
Analyze automatically.
Recommend automatically.
But require stronger controls before it can:
Modify.
Delete.
Transfer.
Publish.
Approve.
Change permissions.
Send sensitive information.
Commit financial transactions.
Near consequential business operations, deterministic controls become increasingly important.
The closer an AI system gets to money, regulated data, security permissions, production systems, or irreversible actions, the less authority should depend solely on probabilistic model reasoning.
Human-in-the-Loop Isn’t Always Enough
Human approval is an important control, but it shouldn’t become the only control.
Imagine an AI agent presents an employee with:
I identified 2,417 obsolete records. Approve cleanup?
The employee clicks Approve.
What exactly did they approve?
Did they review 2,417 records?
Did they understand what “cleanup” means?
Did they know whether the agent intended to archive, deactivate, overwrite, or delete them?
Human approval can become another meaningless dialog box if humans cannot realistically evaluate what they are approving.
High-risk operations may require:
- transaction previews,
- explicit action descriptions,
- affected-record counts,
- before-and-after comparisons,
- risk scoring,
- transaction limits,
- sampled validation,
- independent verification,
- staged execution,
- rollback capability.
Human-in-the-loop should be part of a control architecture—not a substitute for one.
Citizen AI Needs an Enterprise Governance Model
Organizations shouldn’t respond by prohibiting citizen AI entirely.
That would sacrifice much of its potential value and likely push experimentation into shadow AI.
Instead, enterprises need governance appropriate to the authority being granted.
A citizen-built agent that summarizes meeting notes shouldn’t require the same controls as an agent that modifies ERP records.
A useful governance model can classify agents according to the actions they can perform.
For example:
Level 1 — Information
Search, summarize, classify, extract, and answer questions.
Level 2 — Recommendation
Analyze information and recommend actions without executing them.
Level 3 — Limited Action
Perform narrowly constrained, reversible operations through approved capabilities.
Level 4 — Consequential Action
Modify important business records, communicate externally, initiate transactions, or affect operational systems.
Level 5 — High-Risk Action
Delete data, transfer money, modify permissions, access highly sensitive information, or perform difficult-to-reverse operations.
As authority increases, so should:
- architectural review,
- identity controls,
- least-privilege requirements,
- testing,
- observability,
- approval requirements,
- transaction limits,
- verification,
- auditability,
- incident response planning.
This allows citizen AI to grow without pretending that every AI agent represents the same level of risk.
AI Agents Need Their Own Security Boundaries
Enterprise identity architecture will also need to evolve.
The traditional model often looks like:
Employee → Application → Enterprise Resource
Agentic systems increasingly introduce another actor:
Employee → AI Agent → Tool/Capability → Enterprise Resource
The agent shouldn’t disappear inside the employee’s identity.
Enterprises need to know:
- Which employee initiated the operation?
- Which agent proposed it?
- Which model produced the recommendation?
- Which tool was invoked?
- What information influenced the decision?
- What permissions did the agent possess?
- Which policy authorized execution?
- What actually changed?
- Was the result independently verified?
Without those distinctions, incident investigation becomes extremely difficult.
“It ran under Bob’s account” isn’t adequate provenance for an autonomous enterprise operation.
Citizen AI Could Become Shadow IT at Machine Speed
Citizen development taught enterprises an important lesson.
When technology becomes easy enough, people will use it.
AI agent platforms are making autonomous software dramatically easier to create.
That’s exciting.
It should also change how enterprises think about architecture and governance.
The biggest near-term enterprise AI failure may not involve an AI becoming sentient, malicious, or uncontrollable.
It may be much simpler.
An employee creates an agent on Tuesday afternoon.
The agent receives access to Microsoft 365, Dynamics 365, SharePoint, a few internal APIs, and perhaps a database.
The employee gives it a perfectly reasonable objective.
The AI misunderstands something.
And because nobody designed the architecture around the possibility that it could be wrong, the agent does exactly the wrong thing—very efficiently.
That isn’t science fiction.
That’s an enterprise software architecture problem.
And we already know how to solve many parts of it.
The Future of Enterprise AI Requires Controlled Authority
Citizen AI has enormous potential.
Employees understand business problems that centralized technology organizations may never see. Giving them better tools can unlock automation opportunities throughout an enterprise.
But democratizing intelligence cannot mean democratizing unlimited authority.
Organizations need to separate:
Reasoning from authorization.
Recommendation from execution.
Employee permissions from agent permissions.
AI capabilities from enterprise authority.
AI agents should operate through constrained capabilities, deterministic controls, least-privilege identities, transaction boundaries, verification, observability, and auditable execution.
The objective isn’t to prevent AI agents from taking action.
The objective is to make sure they can take only the actions the enterprise intended them to take, under the conditions the enterprise intended to allow them.
Because the most dangerous AI agent may not be a superintelligence.
It may simply be an ordinary agent with too many permissions.
AInDotNet helps Microsoft-centric enterprises design and implement production AI systems that integrate AI capabilities with existing .NET, Azure, Microsoft 365, Dynamics 365, SQL Server, and enterprise application environments. Our approach emphasizes architecture, security, governance, deterministic controls, and practical business outcomes—not AI for AI’s sake.
Frequently Asked Questions About Citizen AI and AI Agent Security
What is Citizen AI?
Citizen AI describes the growing ability of non-specialist employees to create, configure, or deploy AI-powered applications and agents without traditional software development expertise. It extends the citizen-development model associated with low-code and no-code platforms into systems capable of reasoning, selecting tools, and taking actions.
Why are AI agents riskier than traditional low-code applications?
Traditional applications generally follow explicitly defined workflows and business logic. AI agents can interpret objectives and dynamically determine what actions to take. When those agents also possess enterprise permissions, incorrect reasoning can become incorrect execution.
Should AI agents have the same permissions as employees?
Not automatically. An employee’s authorization reflects what that human is permitted to do. An autonomous agent introduces different risks, including machine-speed execution, repeated operations, prompt injection, and incorrect interpretation. Agent permissions should therefore be independently constrained according to the agent’s purpose and risk.
How can enterprises secure AI agents?
Enterprise AI agent security should include least-privilege access, separate agent identities where appropriate, constrained tools and capabilities, deterministic authorization, transaction limits, human approval for consequential actions, independent verification, comprehensive logging, and auditability.
What is the difference between AI reasoning and AI authority?
Reasoning determines what an AI system believes should happen. Authority determines what the enterprise actually permits to happen. Secure enterprise AI architectures should avoid assuming that an AI recommendation automatically carries permission to execute the recommended action.
How does prompt injection affect enterprise AI agents?
Prompt injection becomes significantly more dangerous when an AI system has access to enterprise tools. Malicious instructions embedded in emails, documents, webpages, or other content can potentially influence agent reasoning. If the agent possesses excessive authority, manipulated reasoning can lead to unauthorized or harmful enterprise actions.
Is human approval enough to secure AI agents?
No. Human approval is useful but should be combined with deterministic controls, least privilege, transaction limits, previews, verification, logging, and other safeguards. Humans cannot meaningfully review thousands of individual operations simply because an interface provides an Approve button.
Should enterprises prevent employees from building their own AI agents?
Not necessarily. Citizen AI can create significant business value. Enterprises should instead establish governance proportional to risk. Information-only and recommendation-only agents can operate with fewer controls, while agents capable of modifying records, changing permissions, transferring money, deleting information, or performing other consequential operations require substantially stronger governance.
