Automating Apps and Websites with Computer Use
This lesson explains how computer use works, what it costs and how to control it.
Learning outcomes
After completing this lesson, you will be able to:
- Describe how computer use operates user interfaces.
- Explain credential options and controls.
- Choose between computer use, APIs and recorded automation.
How computer use works
With computer use, an agent completes tasks in websites and Windows desktop applications by controlling a virtual mouse and keyboard, following natural-language instructions such as open the supplier portal, search for the order number and download the invoice. A computer-using model looks at the screen, decides the next action and performs it, step by step, until the task is complete. Computer use requires generative orchestration and runs on a target machine registered through Power Automate machine management.
Several models are available. OpenAI's computer-using agent model and Claude Sonnet 4.5 are generally available, and other models are offered as experimental. Anthropic models require an administrator to enable external models for the environment. Each step costs 5 Copilot Credits with standard models and 15 with premium models, so a task of 40 steps costs about 200 credits with a standard model.
Credentials and controls
Computer use often needs to sign in to the target system. The design chooses whether to use maker-provided credentials (the default) or end-user credentials, and where stored credentials live: in Power Platform's encrypted storage or in an Azure Key Vault. Password fields work on most websites and Windows apps, but some technologies, such as Electron, Java, Unity, command-line interfaces and Citrix, might not be supported.
Computer use includes controls that the design should apply.
- Access control: an allow list of websites and apps that the agent may use, which prevents it from wandering to other sites.
- Enforce HTTPS: restricts navigation to secure connections.
- Human supervision: the agent can request review by email, through Outlook, for instructions that are flagged.
- Dedicated machines and accounts: run tasks on machines and accounts reserved for automation, with only the permissions the task needs.
When to use computer use
Computer use is powerful because it can automate almost any system, but it is slower, costlier and more fragile than an API. The following table compares it with the alternatives for automating a task in another system.
| Approach | Strengths | Weaknesses |
|---|---|---|
| Connector or API | Fast, reliable, cheap per call | Needs an available API |
| Robotic process automation (desktop flows) | Deterministic recorded steps | Breaks when screens change; needs maintenance |
| Computer use | Adapts to screen changes; instructed in natural language | Higher cost per step; less predictable; needs supervision |
Computer use suits tasks in systems without APIs where the screens vary, such as different supplier portals, or where building and maintaining recorded automation would be expensive. It is not suitable for high-volume, time-critical transactions when an API exists.
Downloading invoices from supplier portals
An accounts payable team logs in to 30 supplier portals each month to download invoices. The portals have no APIs, their layouts differ and change occasionally, and each download takes about 25 steps. The team wants to automate the work while keeping supplier credentials secure and ensuring that the agent never makes payments in the portals. What should you recommend?
Computer use fits, because the portals have no APIs and differ in layout. Supplier credentials should be stored in Azure Key Vault, and the agent should run on a dedicated machine with an automation account. An allow list restricts the agent to the 30 portal addresses, Enforce HTTPS is on, and the instructions state that the agent only downloads invoices; human supervision handles flagged instructions. The cost estimate is 30 portals multiplied by about 25 steps multiplied by 5 Copilot Credits, or about 3,750 credits a month with a standard model.
How many Copilot Credits does a 20-step computer use task cost with a standard model?
Show answer
About 100, because each step costs 5 Copilot Credits with standard models (15 with premium models).
Exam Tips
Remember for the exam
- Computer use operates websites and Windows apps through the user interface and needs generative orchestration.
- It runs on machines registered through Power Automate; each step costs 5 Copilot Credits (15 premium).
- Store credentials in Power Platform storage or Azure Key Vault; choose maker or end-user credentials.
- Apply an allow list, Enforce HTTPS and human supervision; prefer APIs where they exist.