Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
166207 stories
·
33 followers

I wanted GPT 6.1 Sol and GPT 6 Astra from Microsoft Foundry inside T3 Code. Here's how it went.

1 Share

First attempt: wrong target

My first pass tested the Foundry endpoint with curl and a small Python script. Both models answered fine. But none of that put them in T3 Code, which is what I actually wanted. Lesson learned: say which app the models should show up in.

How T3 Code works with models

T3 Code doesn't hold API keys or call model APIs itself. It drives coding agents installed on your machine, like Claude Code, OpenCode, Copilot or Kiro. So the question became which of those agents can talk to Foundry.

I searched the T3 app bundle for "foundry". Every hit belonged to the Claude SDK that ships inside it, and that's only for Claude models on Foundry. There was nothing for GPT models.

OpenCode can talk to Foundry, and T3 has an OpenCode provider. That was the way in.

OpenCode was too old

My Mac had OpenCode 1.1.23. T3 wants 2.0.18 or newer, and version 2 lives in a separate npm package. OpenCode 2 also converts its database on first run, so I backed up the database, the auth file, both config files and T3's settings before touching anything.

npm install -g --allow-scripts=@opencode/cli @opencode/cli

upgrading OpenCode

npm skipped the postinstall script on my first try. That script picks the native binary for your machine, so I ran the install again with --allow-scripts.

The config was already there

My OpenCode config already had a foundry provider pointing at my Foundry resource, with the models named "GPT-6.1 Sol (Foundry)" and "GPT-6 Astra (Foundry)". I'd set it up a while back and forgotten. Its key matched the one I was using, and OpenCode 2 reads the old format without complaint.

OpenCode lists the Foundry models

A quick run through each one:

both models answering in OpenCode

Switching it on in T3

OpenCode was turned off in T3's provider settings. I flipped it on, and T3 found OpenCode 2.3.2 straight away.

T3 provider settings

The Foundry models showed up in the OpenCode model list:

Foundry models in T3

And here's the part I wanted. Open a new thread, click the model button, type "Foundry":

T3 model picker

I started a small test thread with each model inside T3. GPT-6.1 Sol replied "hello from GPT-6.1 Sol (Foundry), running inside T3 Code", and Astra said the same with its own name.

Things that tripped me up

  • T3 has no direct Foundry option for GPT models, so you go through OpenCode.
  • The OpenCode 1 to 2 upgrade is a separate package, not a normal update.
  • npm blocks postinstall scripts unless you allow them.
  • macOS wouldn't let me grab a regular screenshot, so I took these in T3's own browser preview with a short-lived, read-only pairing token, then revoked it. That's why you can see a "Limited permissions" banner on the settings page.

Keep your key safe

Never paste your Foundry API key into chats, documents or screenshots. If it ever ends up somewhere it shouldn't, regenerate it in the Azure portal under Keys and Endpoint, then update your OpenCode config.

Microsoft Foundry models in T3 Code: GPT 6.1 Sol and GPT 6 Astra

Step by step notes for getting Microsoft Foundry deployments into T3 Code's model picker on a Mac.

What we ended up with

ThingValue
Foundry resource<your-resource>
Endpointhttps://<your-resource>.services.ai.azure.com/openai/v1
Deploymentsgpt-6.1-sol and gpt-6-astra (default names, same as the model)
T3 Code version0.1.11
T3 provider usedOpenCode, running OpenCode 2.3.2
Names in the pickerGPT-6.1 Sol (Foundry), GPT-6 Astra (Foundry)

How T3 Code talks to Foundry

T3 Code doesn't call model APIs itself. It drives coding agents (Claude, OpenCode, Copilot, Kiro and so on) that are installed on the machine. T3 0.1.11 has no built-in Microsoft Foundry provider for GPT models. The only Foundry support inside the app is for Claude models.

OpenCode can talk to Foundry directly, and T3 already has an OpenCode provider. So the path is Foundry, then OpenCode, then T3 Code.

Steps

1. Check the Foundry key and deployments

set -a; source .env; set +a
curl -H "api-key: $AZURE_FOUNDRY_API_KEY" "$AZURE_FOUNDRY_ENDPOINT/models"

The resource lists 513 models, and both gpt-6.1-sol and gpt-6-astra are generally available. A test call to /responses with each name came back with HTTP 200, so both deployments were already live.

Responses API test

2. Back up OpenCode before upgrading

OpenCode 2 converts its database the first time it runs, so I copied everything first:

B=~/opencode-backup-$(date +%Y%m%d-%H%M%S); mkdir -p "$B"
cp -p ~/.local/share/opencode/opencode.db* ~/.local/share/opencode/auth.json "$B"/
cp -p ~/.config/opencode/opencode.json ~/.config/opencode/opencode.jsonc "$B"/
cp -p ~/.t3/userdata/settings.json "$B"/t3-settings.json

3. Upgrade OpenCode to version 2

This Mac had OpenCode 1.1.23. T3 Code needs 2.0.18 or newer, and version 2 ships as a separate npm package.

npm install -g --allow-scripts=@opencode/cli @opencode/cli
opencode --version   # opencode v2.3.2

OpenCode upgrade

4. The Foundry provider in OpenCode

~/.config/opencode/opencode.jsonc already had a foundry provider pointing at my Foundry resource, so I didn't need to add one. Its key matched the new key exactly. OpenCode 2 still reads that older config format. The relevant part, with the key left out:

"provider": {
  "foundry": {
    "npm": "@ai-sdk/openai",
    "name": "Azure AI Foundry",
    "options": {
      "baseURL": "https://<your-resource>.services.ai.azure.com/openai/v1",
      "apiKey": "<key>",
      "headers": { "api-key": "<key>" }
    },
    "models": {
      "gpt-6-astra": { "id": "gpt-6-astra", "name": "GPT-6 Astra (Foundry)" },
      "gpt-6-sol":   { "id": "gpt-6-sol",   "name": "GPT-6 Sol (Foundry)" },
      "gpt-6.1-sol": { "id": "gpt-6.1-sol", "name": "GPT-6.1 Sol (Foundry)" }
    }
  }
}
opencode models | grep -E "^foundry/"

OpenCode sees the Foundry models

5. Test each model through OpenCode

opencode run --standalone --model foundry/gpt-6.1-sol "Reply with exactly: hello from <your model name>"
opencode run --standalone --model foundry/gpt-6-astra "Reply with exactly: hello from <your model name>"

OpenCode runs both models

6. Turn on OpenCode in T3 Code

The OpenCode provider was switched off in T3. In ~/.t3/userdata/settings.json I changed providerInstances.opencode.enabled from false to true. You can also do this in Settings > Providers > OpenCode with the toggle. T3 picked it up right away and shows OpenCode v2.3.2 as Authenticated.

T3 Code provider settings

The OpenCode model list in T3 now includes the Foundry deployments, and they're switched on:

Foundry models in T3's OpenCode list

7. Pick the model in a thread

Open a new thread, click the model button next to the send button, and type Foundry in the search box.

T3 model picker filtered to Foundry

8. Confirm it runs inside T3

I started a short test thread in T3 with each model. Both replied:

  • GPT-6.1 Sol (Foundry): "hello from GPT-6.1 Sol (Foundry), running inside T3 Code"
  • GPT-6 Astra (Foundry): "hello from GPT-6 Astra (Foundry), running inside T3 Code"

Obstacles

No native Foundry provider in T3. I searched the T3 app bundle for "foundry". Every hit belonged to the Claude Code SDK bundled inside it, which only uses Foundry for Claude models. OpenCode filled the gap.

OpenCode was too old. Version 1.1.23 shows as limited or broken in T3. The fix was the separate @opencode/cli package, which brought it to 2.3.2.

npm skipped the postinstall script. The first install printed a warning that postinstall.mjs didn't run. That script picks the native binary for your platform, so I reinstalled with --allow-scripts=@opencode/cli.

Two different Azure keys. OpenCode already had an azure login with a different key, probably for another resource. I left it alone and used the existing foundry provider, whose key matched.

Python TLS error during the first API test. The python.org Python build doesn't come with CA certificates on macOS. The test script now loads /etc/ssl/cert.pem. Verification stays on.

Screenshots. macOS blocked a normal screen capture (could not create image from display). I took the T3 screenshots in T3's own browser preview instead. That needed a pairing token, so I issued a read-only one that expired in 5 minutes and revoked the session afterward. That's also why the settings page shows a "Limited permissions" banner.

Undoing it

  • Turn OpenCode off again in Settings > Providers.
  • Go back to OpenCode 1: npm uninstall -g @opencode/cli, then restore the files from ~/opencode-backup-*.

Security note

Treat your Foundry API key like a password. If it is ever exposed, regenerate it in the Azure portal under Keys and Endpoint, then update it in ~/.config/opencode/opencode.jsonc (both apiKey and the api-key header) and in your project's .env.

Conclusion

Getting GPT 6.1 Sol and GPT 6 Astra into T3 Code didn't need a new provider, just the right path. T3 Code drives coding agents instead of calling models itself, so the trick was to let OpenCode talk to Microsoft Foundry and let T3 Code talk to OpenCode. Once OpenCode was on version 2 and switched on in T3, the Foundry models showed up in the picker like any other model.

A few takeaways if you try this yourself:

  • Check which agents your client can drive before hunting for a native provider. The way in might already be installed.
  • Back up before big upgrades, especially when a tool converts its database on first run.
  • Test each model from the command line first. If it works there, any problem in the app is the app.
  • Keep keys and endpoints out of chats, screenshots and posts. Use placeholders when you share your setup.

The same approach should work for any Foundry deployment OpenCode can reach. Give it a go, and let me know in the comments how it went for you.

Read the whole story
alvinashcraft
13 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Create and edit diagrams with Microsoft Visio Desktop MCP (Preview)

1 Share

Today we're announcing the preview of Microsoft Visio Desktop MCP. It lets compatible AI clients, such as GitHub Copilot in Visual Studio Code, help create, read, and update diagrams directly in the Visio desktop app on your Windows PC. 

Visio Desktop MCP is a local Model Context Protocol (MCP) server that runs on your Windows PC and interacts directly with the Visio desktop app. MCP is an open standard that allows AI agents to use tools. When you add Visio Desktop MCP to your AI client, the agent gets a set of Visio tools. It can help read existing Visio files, find suitable shapes, add shapes, connectors, containers, and swimlanes, check the layout, and save the file. You describe what you need in plain language, and the agent helps build the diagram in Visio while you watch and review. 

This preview is designed for local use and evaluation. The experience is still evolving, and capabilities may change as development continues. 

The result is an editable Visio diagram, not a picture of one. You can turn a written procedure, inventory, or rough idea into a first draft then review and refine it in Visio. This work is generated by AI. Check all contents for accuracy before relying on the information presented.

What you can do 

  • Create diagrams from a description or your own files, including flowcharts, cross-functional flowcharts, org charts, network diagrams, and architecture diagrams. 
  • Make focused updates, such as adding a step or reconnecting shapes, without redrawing the rest of the diagram. 

See it in action 

Contoso's Finance Operations team keeps its purchasing procedure in a Word document. It covers five roles and 11 steps, including approvals, a budget check, supplier quotes, and a three-way invoice match. The team needs a process diagram to help document the procedure. 

A finance analyst with Visio Desktop MCP added to GitHub Copilot in VS Code opens the folder containing the document and enters this prompt in Chat, in Agent mode: 

Create a cross-functional flowchart in Visio from purchase-request-procedure.docx. Use horizontal swimlanes, one for each role, so the process reads left to right. Show every step and decision, label the decision branches, and include the rework and rejection paths. Title it "Purchase request to payment".

GitHub Copilot reads the procedure and uses Visio Desktop MCP to help create the diagram in Visio, including selecting shapes and organizing the process into swimlanes. The agent can also use available tools to check the layout, make adjustments, and save the file. Results can vary, so the analyst reviews the diagram for accuracy and completeness before sharing it. This work is generated by AI. Check all contents for accuracy before relying on the information presented.

The cross-functional flowchart that Github Copilot created in Visio from the written procedure.

What you need 

  • Visio desktop app: A licensed Windows device with the Visio desktop app installed and activated, with a license such as Visio Plan 2.  
  • .NET 10 SDK: The .NET 10 SDK, version 10.0.100 or later. 
  • Organization approval: On a work device, your organization must allow MCP servers in your AI client and allow your device to download the Microsoft.Visio.Mcp package. 

Note: GitHub Copilot requires a separate subscription. Neither your Visio license nor Visio Desktop MCP includes GitHub Copilot or an AI model. Access to supported AI models and usage allowances depends on your GitHub Copilot plan and applicable terms. Additional usage requirements or charges may apply depending on your plan and usage.  See GitHub Copilot plans and pricing. Other AI clients have their own requirements. 

Get started in Visual Studio Code 

One way to start is with Visual Studio Code and GitHub Copilot. To use another AI client, see manual configuration. 

  1. Install Visual Studio Code. 
  2. Install the GitHub Copilot Chat extension and sign in with a GitHub account that has a GitHub Copilot subscription. 
  3. Install the NET 10 SDK.
  4. Press Ctrl+Shift+P, and run MCP: Add Server. Select Command (stdio), enter dnx Microsoft.Visio.Mcp --prerelease, and name the server visio-local. If you're asked for a configuration target, select Global > Copilot Global. 
  5. Press Ctrl+Alt+I to open Chat in Agent mode, and ask for a diagram. When you're asked Allow tool from visio-local?, review the request, and then allow it.

Tip: Let your agent to help with setup. In Agent mode, share the link to Set up Visio Desktop MCP, and ask the agent to follow the steps. Review each change before you approve it. 

Learn more 

About the preview 

  • Local experience: Visio Desktop MCP runs locally on your Windows PC and interacts directly with the Visio desktop app. However, diagram content processed by the agent may be sent to your connected AI client and model subject to that service’s terms. Use an AI client and model approved by your organization. 
  • Preview limitations: Visio Desktop MCP is intended for evaluation and is not recommended for production environments or critical workloads. Capabilities, functionality, requirements, and availability are subject to change. The preview experience may differ in a future generally available release. 
  • Review the results: AI-generated diagrams might not reflect your intent. Check content and layout before you share or rely on a diagram. 

For the full list, see Preview limitations. 

Share your feedback 

  • GitHub Issues: Report a bug, ask a question, or suggest a feature in GitHub Issues. Sign in with a GitHub account, search existing issues first, and check Troubleshoot Visio Desktop MCP for known problems. Include reproduction steps, expected and actual results, your Windows, Visio, Visio Desktop MCP, and AI client versions, and any agent error details. See Feedback for more. 
  • Feedback in Visio: In the Visio Desktop app, select Help > Feedback. 

 

We can't wait to see what you build. Tell us which scenarios you've unlocked, what worked well, and where it fell short. Your stories help shape what we build next. This work is generated by AI. Check all contents for accuracy before relying on the information presented.

Read the whole story
alvinashcraft
23 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Windows news you can use: November 2026

1 Share

November was a busy month for Windows, with Microsoft Ignite bringing a wave of announcements across security, management, and Windows Server. There's also plenty of practical news to catch up on, from new Windows 11 features and update management capabilities to guidance that can help you prepare for upcoming changes. Let's take a look at what's new, what's coming, and what deserves your attention.

Also, if you have questions, join us for Windows Office Hours here on the Tech Community, December 17.

New in Windows update and device management

  • [MANAGEMENT] – Catch up on the latest Windows management capabilities, including what's available now, what's in preview, and what's coming next. Get familiar with expanded Windows Autopatch controls and reporting to automated application updates, device health insights, and additional investments in agent management, Windows Server management, and declarative device configuration. Want a closer look? Watch the latest episode of Ctrl+Manage, now on demand.

  • [SCHEDULING] – With maintenance windows, you can schedule Windows Update actions for critical devices. Schedule installations and restarts during designated hours to keep critical devices updated while minimizing disruptions to operations. This capability is available in Microsoft Intune for devices running Windows 11, version 24H2 and later.

  • [AUTOPATCH] – Windows Autopatch now supports managing Windows quality updates, .NET Framework updates, and quick machine recovery updates through a single policy in Microsoft Intune. Check out automatic or manual approval options for each update type and new reports to monitor deployment and recovery status.

  • [RECOVER] – Catch up on Windows settings backup and restore, formerly Windows Backup for Organizations. It brings backup, restore, and Enterprise State Roaming management together, with default-on backup for eligible Windows 11, version 26H2 devices and a new restore summary that shows users what was restored after device setup.

  • [W365] – Did you catch new Windows 365 capabilities announced at Microsoft Ignite? They include AI-assisted Cloud PC troubleshooting, expanded monitoring and reporting, additional security controls for accessing Cloud PCs, and enhancements to Windows App and Windows 365 Flex.

  • [IOT] – New guidance explains how to build and deploy local AI applications on Windows IoT Enterprise using Windows ML, Foundry Local, and Windows AI APIs. Get practical advice on hardware acceleration, model optimization, offline deployment, and update management.

  • [UPDATES] – Gain a better understanding of Windows out-of-band (OOB) updates. Learn how security and non-security OOB updates differ and how to determine whether deployment is necessary. New documentation on OOB updates also covers update availability, prerequisites, deployment methods, and special considerations for hotpatch-enabled devices.

  • [SYSINTERNALS] – The latest Sysinternals updates bring faster startup and CSV export in Process Explorer, security fixes and updated authentication in Remote Desktop Connection Manager, and bug fixes across Process Monitor, PsTools, ZoomIt, and other Windows utilities.

  • [DRIVERS] – Microsoft is updating the Windows Driver Kit (WDK) support model in June 2027, prioritizing the latest release while retaining support for select older versions. If you're a developer, use a supported WDK version to remain eligible for Windows Hardware Compatibility Program (WHCP) certification.

New in Windows security

  • [BASELINE] – Windows baseline protection is now in preview. It provides a single, hardware-backed security status that indicates whether a device meets foundational Windows security requirements.

  • [ECOSYSTEM] – The Windows endpoint security platform is now generally available on Windows 11. Check out the new APIs that allow security providers to monitor system activity and enforce protections from user mode, reducing reliance on kernel-mode drivers. Explore the latest improvements to driver architecture, testing, certification, and servicing designed to improve reliability across Windows devices.

  • [PASSWORDLESS] – Windows 11 continues to move toward a passwordless future. All thanks to improvements to Windows Hello reliability, passwordless sign-in for hybrid-joined devices, and sign-in activity monitoring, alongside new capabilities for passkey management, device protection, and credential security.

  • [VULNERABILITY MANAGEMENT] – Learn how Microsoft is incorporating AI into Windows vulnerability discovery, remediation, and validation processes. While AI helps identify and address security issues more efficiently, human engineers retain responsibility for evaluating findings, approving fixes, and making security and release-quality decisions.

  • [PQC] – The October 2026 security update expanded post-quantum cryptography support in Windows 11, version 24H2 and later, and Windows Server 2025. Specifically, it added pure post-quantum key exchange and authentication to the existing hybrid TLS capabilities. Learn how to prepare for a post-quantum future: evaluate hybrid post-quantum key exchanges and review certificate infrastructure and application dependencies.

New in Windows Server

For the latest features and improvements for Windows Server, see the Windows Server 2025 release notes and Windows Server 2022 release notes.

  • [WS2028] – Windows Server 2028 is now in public preview, introducing enhancements to security, storage performance, virtualization, and management at scale. Get a first look at what's coming and how you can see and test upcoming capabilities.

  • [UPDATE MANAGEMENT] – New Windows Server risk-based patching guidance outlines how to prioritize security updates. It's based on vulnerability risk, system exposure, and workload criticality. Learn about routine, accelerated, and emergency deployment processes that account for testing, validation, and operational requirements.

  • [AI] – Microsoft and AMD are working to bring AMD Instinct MI350P GPU support to Windows Server, expanding hardware options for running AI inference locally alongside enterprise applications. The investment will help organizations support workloads such as coding assistance, retrieval-augmented generation (RAG), and agentic workflows within their own datacenters.

  • [FEEDBACK] – Want to test upcoming Windows Server capabilities? Validate real-world scenarios? Or share feedback directly with the product team? Join the Windows Server Technology Adoption Program (TAP).

New in productivity and collaboration

Install the November 2026 security update for Windows 11, versions 26H2, 25H2, and 24H2 to get these and other capabilities, which will be rolling out gradually:

  • [APP MANAGEMENT] – Simplify app management in multi-session environments with policy-based removal of supported in-box apps. Available on Windows 11 Enterprise and Education devices.

  • [FILE EXPLORER] – File Explorer features a faster, less cluttered context menu with greater control over commands and app extensions. Search results also display key file details, including name, location, and date, for easier scanning.

  • [ACCESSIBILITY] – Users can personalize their Magnifier experience across multiple displays with independent zoom levels, a contrast theme toggle, and viewport locking. Narrator also makes mathematical content more accessible, with support for reading and navigating equations in supported Microsoft 365 apps and web content in Microsoft Edge.

  • [SLEEP] – Improvements to adaptive hibernate in Windows 11 provide more instant-on resumes from Modern Standby when battery levels are high and earlier hibernation when the charge is low to help preserve battery life. These changes began rolling out with the October 2026 optional non-security preview update and require no configuration. However, they do replace previously customized Standby Budget and Standby Reserve settings.

New features and improvements are coming in the December 2026 security update. You can preview them by installing the November 2026 optional non-security update for Windows 11, versions 26H2 and 25H2. This update includes the gradual rollout of:

  • [SEARCH] – A new Windows Search experience offers a streamlined design, improved performance, and new ways to complete tasks directly from search.

  • [SECURITY] – Windows Hello facial recognition can now temporarily brighten your screen to help you sign in when you're in a dark or dimly lit room.

  • [SECURITY] – Web sign-in is now supported on Microsoft Entra hybrid joined devices. Users can now sign in without a password by using a FIDO2 security key, a passkey on their phones, or a Temporary Access Pass (TAP).

  • [NFC] – Supported Windows devices can now show an NFC tap location indicator on the lock screen to guide security key, card, or badge sign-in. Check out the new IT controls available through Microsoft Intune and Group Policy.

  • [FILE EXPLORER] – Search from This PC in File Explorer is now indexer-based. Welcome a much faster and consistent experience with search from File Explorer Home.

  • [ACCESSIBILITY] – A new Pointer indicator makes it easier for people with low vision to locate and use the mouse pointer. Additionally, Narrator now supports math reading in Greek, Hungarian, Indonesian, Norwegian (Bokmål), Polish, Russian, Swedish, and Vietnamese.

Lifecycle reminders

  • [WS2016] – Windows Server 2016 reaches end of extended support in January 2027, after which it will no longer receive security updates. If you still manage Windows Server 2016, plan your transition to a supported version such as Windows Server 2025. Extended Security Updates are available for eligible editions if you need additional time.

  • [W10] [LTSC] – Windows 10 Enterprise LTSC 2021 reaches end of updates on January 12, 2027, after which devices will no longer receive security updates. We recommend that you move to Windows 11 Enterprise LTSC 2024, with Extended Security Updates available for eligible devices if you need additional time.

Check out our lifecycle documentation for the latest updates on Deprecated features in the Windows client and Windows Server 2025.

Additional resources

Looking for the latest news and previews for Windows, Copilot, Copilot+ PCs, the Windows and Windows Server Insider Programs? Find out this and more through the following resources:

Join the conversation

Is this update missing areas or topics you want us to include? Drop us a note in the Comments and share your thoughts on what you'd like to see.


Continue the conversation. Find best practices. Join the Windows Tech Community.

For updates on new releases, tools, and resources, bookmark the Windows IT Pro Blog and follow @WindowsUpdate on X. For the latest on how Windows is evolving for organizations and the people who support them, follow Windows at Work on LinkedIn.

Read the whole story
alvinashcraft
34 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Claude Code Meets Microsoft Foundry: From Terminal to Your First AI-Assisted Coding Session

1 Share

Claude Code + Microsoft Foundry: a local helper, an Azure connection

Imagine asking a coding assistant to explain an unfamiliar repository, trace a bug, or suggest a change without leaving your terminal. Now imagine connecting that experience to a model deployment accessed through your organization's Azure identity and permissions. That is the idea behind using Claude Code with Microsoft Foundry.

The easiest way to understand the setup is to separate the helper from the gate. Claude Code is the helper at your desk: it runs locally and can work with your project. Foundry is the entry point to the Claude deployment: it provides the endpoint and the access boundary for model requests.

The first diagram captures that distinction. You ask the helper a question; the request crosses an identity check before reaching the model. Connecting the two changes where model requests go, not who should remain in control of local files and commands.

The tool stays local; the model and its access rules live in Azure.

This is a useful mental model, not a claim that every part of the workflow is isolated automatically. Claude Code can send relevant prompts and project context to the model service, and local tools can have their own network behavior. Use approved repositories and confirm your organization's data-handling and networking requirements before connecting sensitive work.

Understand the four-box architecture

Behind that simple analogy is a request path with four parts: the developer, the Claude Code CLI, the Foundry endpoint, and the Claude deployment. The diagram below puts them in order and marks the boundary between your laptop and Azure.

 

 

Two boxes on your laptop, two in Azure. Every problem lives in one box.

You type into Claude Code. The CLI sends a model request to the configured Foundry endpoint. That endpoint directs the request to the deployment, and the model's response returns to your session. The local assistant can then propose its next action, subject to its permissions and your review.

Keeping these four boxes in mind makes troubleshooting less mysterious. A missing CLI command is a local installation problem. A hostname that cannot resolve points toward the endpoint or network. A rejected identity points toward authentication or access. A missing deployment points toward model selection.

Before you begin

You need Claude Code installed, an eligible Azure subscription, a Foundry resource and project, an available Claude deployment, and permission to invoke it. Creating or purchasing the deployment can require additional resource-management and Marketplace permissions. If your team has already provisioned it, ask for the resource and deployment names rather than creating another resource.

For Entra ID authentication, install the Azure CLI as well. On Windows, follow Claude Code's documented Git Bash or WSL requirements. This walkthrough uses PowerShell syntax for the configuration steps.

Confirm the CLI is available before debugging Azure settings:

claude --version

If it is missing, follow the official installation instructions, then open a fresh terminal if the installation changed your PATH.

Start with two exact names

Before changing any terminal settings, collect two values from Foundry: your resource name and your Claude deployment name. They answer different questions. The resource identifies where the request goes; the deployment identifies what should answer it.

In the Foundry portal, look under Manage > Project details for the parent resource. Then open your Claude deployment under Models + endpoints and copy its deployment name. Portal labels can evolve, but the distinction between these two values is the important part.

The two cards below show the common mix-ups: using a URL where a resource name belongs, or using a catalog model identifier where a deployment name belongs.

Most failed setups are a typo or the wrong name in one of these two.

Set ANTHROPIC_FOUNDRY_RESOURCE to the name alone, such as <foundry-resource-name>. Do not put https://, a project path, or /anthropic into this variable. Claude Code constructs the resource endpoint from that name.

A URL-based configuration is also supported through the separate ANTHROPIC_FOUNDRY_BASE_URL variable. That does not make a URL valid inside ANTHROPIC_FOUNDRY_RESOURCE. This walkthrough uses the resource-name approach so the two are not mixed.

For the model, copy the deployment name exactly. It may happen to match the model's catalog identifier, but do not assume it does. An incorrect resource name can lead to a DNS error such as ENOTFOUND; an incorrect deployment name can lead to a not-found response.

Authenticate with a badge, not a shared secret

Once you know the destination, decide how to authenticate. Claude Code supports Microsoft Entra ID and a Foundry API key. For an enterprise setup, Entra ID is the recommended starting point because Claude Code can use your Azure CLI credentials without asking you to copy a long-lived API key into a terminal.

The next diagram contrasts the two approaches. On the top path, you sign in and Azure checks what your identity may access. On the bottom path, a key acts as a credential that must be protected and rotated.

Entra ID means no secret in the terminal; your role decides access.

Sign in with your Azure identity

az login

az account show

Check that the account, tenant, and subscription are the ones associated with your Foundry resource. If the resource is in another tenant, use az login --tenant <tenant-id>. Claude Code uses the Azure CLI session for this authentication path; you do not sign in with an Anthropic subscription through the client's /login command.

Authentication is not authorization. Successfully signing in proves who you are, not that you may invoke this deployment. The diagram uses Foundry User as an example role; the applicable role and assignment scope must grant the required access on your actual resource. Ask the resource administrator to verify the appropriate data-plane permissions rather than assuming any similarly named role is sufficient.

If you use an API key instead

Obtain the Foundry key through an approved process and supply it through ANTHROPIC_FOUNDRY_API_KEY. Do not confuse it with an Anthropic API key. Keep the value out of source control, screenshots, copied transcripts, and logs. Prefer your organization's approved secret-injection method over typing a literal key into shell history, and do not persist it with setx.

Configure the connection and launch Claude Code

With the names collected and authentication ready, configure Claude Code in the terminal you will use to launch it. The diagram groups the core settings into three switches: enable Foundry, identify the resource, and select the primary model deployment.

Three settings point Claude Code at your deployment; the launch flag removes ambiguity.

In PowerShell, replace both placeholders with the values you copied:

$env:CLAUDE_CODE_USE_FOUNDRY = "1" 
$env:ANTHROPIC_FOUNDRY_RESOURCE = "<foundry-resource-name>"
$env:ANTHROPIC_DEFAULT_SONNET_MODEL = "<claude-sonnet-deployment-name>"

claude --model "<claude-sonnet-deployment-name>"

The first variable enables the Foundry integration. The second identifies the resource. The third maps the Sonnet model role to your deployment. Passing the deployment name explicitly with --model makes the intended model for this session clear.

The three-switch diagram describes the core connection, not every model role Claude Code can use. If your workflow uses Haiku for fast operations or Opus for reasoning, ensure the corresponding deployments are available and configure their names too:


$env:ANTHROPIC_DEFAULT_HAIKU_MODEL = "<claude-haiku-deployment-name>"
$env:ANTHROPIC_DEFAULT_OPUS_MODEL = "<claude-opus-deployment-name>"

Use names for deployments that actually exist in your resource. Specifying the primary model does not automatically provision deployments for other model roles.

PowerShell's $env: assignments affect the current process and programs launched from it. Set them in the same terminal that launches Claude Code. For future sessions, save non-secret configuration in your shell profile or use setx; changes made with setx apply to new terminals, not the current one.

Check the map, then prove the trip

When Claude Code starts, it is tempting to treat a healthy-looking settings screen as the finish line. It is not. A configuration check tells you how the client is configured; a real model request tells you whether the whole path works.

The diagram below makes that difference explicit: /status checks the map, while a test prompt makes the trip through name resolution, authentication, authorization, deployment selection, and model inference.

Configuration can look perfect and still fail; only a real reply proves it.

Inside the Claude Code session, run:

/status

Check the reported provider and model against your intended Foundry configuration. Confirm the resource setting in the launching shell as well. The exact fields shown by /status can vary with the client version, so do not assume every value will appear on that screen.

Next, send a small prompt that does not require repository access or tool execution:

Reply with exactly: Foundry connection successful

A successful model response, together with the expected provider and deployment configuration, is the practical end-to-end check. It demonstrates that this request reached an accessible deployment and received a response. The sentence itself is not independent proof of the provider: another model could produce the same words, which is why the configuration check matters too.

This smoke test does not certify every model role, private-network policy, or future repository action. It proves the path for the request you just made. Model calls also consume quota and may incur charges, so keep the first test small.

Troubleshoot one checkpoint at a time

If the test fails, use the error as a clue rather than changing every setting at once. The diagram maps common errors to the checkpoint worth investigating first. These are starting points for diagnosis, not a guarantee that every error has only one possible cause.

Read the error code, jump to its checkpoint, fix one thing.

Where to start when the connection fails

SymptomFirst checks
ENOTFOUNDCheck that the resource variable contains only the resource name. Look for an unintended base-URL override, then check DNS, VPN, proxy, and any private-endpoint requirements.
HTTP 401Refresh the Azure CLI sign-in and verify the tenant and account. If using a key, check that it is the correct Foundry key and is supplied correctly.
HTTP 403Check permissions and their assignment scope. Also consider resource network-access restrictions; signing in successfully does not guarantee access.
HTTP 404Check the exact deployment name, the selected resource, and the endpoint configuration. Confirm the deployment exists where the client is looking.
Wrong providerConfirm CLAUDE_CODE_USE_FOUNDRY=1 is set in the process that launches Claude Code, then restart the client from that terminal.
Missing model roleCheck the Sonnet, Haiku, and Opus mappings used by the workflow and verify their corresponding deployments exist.
HTTP 429Check quota and rate limits in Foundry. Reduce request frequency or size rather than repeatedly retrying the same request.

Fix the most likely layer, restart the session if its environment changed, and repeat the same small test. That keeps the investigation focused and makes it easier to tell which change actually helped.

Connected? Start read-only.

Once the smoke test works, begin with an approved sample repository and a deliberately limited request:

Analyze this repository and explain its structure. 
Do not modify files or run commands.

Treat that instruction as a starting point, not a replacement for tool permissions. Review the actions Claude Code proposes, inspect file changes before accepting them, and keep the developer in the approval loop. A successful connection is not permission to run arbitrary commands.

Claude Code is the helper. Foundry is the gate. Get the names and identity right, then verify with a real request.

The setup becomes much easier when you keep those responsibilities separate. Exact names prevent routing mistakes. Azure identity and permissions control access. A real response checks the connection. Careful review keeps the coding workflow under your control.

Further reading:
Configure Claude Code for Microsoft Foundry;
Deploy and use Claude models in Microsoft Foundry;
Claude Code Quickstart.

 
Read the whole story
alvinashcraft
43 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Expanding the availability of Copilot

1 Share

We've seen the transformative power Microsoft Copilot can have when it's embedded in an organization. More than 90% of the Fortune 500 companies use Copilot, and we want every employee to achieve more with Copilot, regardless of how or where they work. That's why today we're expanding the ways customers can purchase Copilot.

Starting December 1, you can now purchase Copilot without a Microsoft 365 subscription. It is the same Copilot — with models from leading labs like OpenAI and Anthropic, the power of Excel, PowerPoint and Word in Copilot, Chat for brainstorming and Q&A, access to Copilot Cowork, Code, and Autopilot, and enterprise-grade security. And, Copilot makes it easy to work with existing Google Workspace data with plugins for Drive, Sheets, Tasks, Calendar, and Contacts via our Copilot Plugin Catalog.

 

For those with a Microsoft 365 license, Copilot is even more powerful with Work IQ, Copilot in the full suite of apps, such as Outlook, Teams, and the Office apps, and advanced security capabilities. Work IQ grounds Copilot on context from your emails, meetings, chats, documents, business process in Dynamics 365, and insights from Power BI to drive your business outcomes. You can work with Copilot right in the apps you use every day, including Excel, PowerPoint, Word, OneNote, Outlook, Teams, and SharePoint, so AI becomes part of how you create, communicate, and collaborate, rather than a separate destination. And Microsoft 365 enterprise suites bring together the security, identity, and management capabilities organizations need to deploy AI confidently and at scale. That includes protecting sensitive data with Microsoft Purview, securing identities and access with Microsoft Entra, and observing, managing, and governing agents with Microsoft Agent 365.

 

Plus, Copilot is already the cost-effective choice for your organization. Based on a recent GigaOm report, for comparable quality, Copilot is 84% cheaper than Claude and 63% cheaper than ChatGPT for an everyday AI user. For an advanced AI user, Copilot is 68% cheaper than Claude and 35% cheaper than ChatGPT. Ultimately, the question isn’t just which companies have the most powerful AI. It’s who can make that innovation practical and economical enough to deliver real business results. We’ve designed Copilot to empower all our customers to do just that.

 

Today, it's easier than ever to unlock value in your organization with Copilot. Find the Copilot plan that's right for you. 

Read the whole story
alvinashcraft
56 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

A more powerful Excel: New functions and Copilot capabilities

1 Share

We just unveiled what's next for Excel at the Microsoft Excel World Championship. 

As AI takes on more complex work, what Excel can do matters more than ever. So we're innovating in two ways: making Excel itself more powerful and expanding what Copilot can accomplish with it. New entity and dot functions are rolling out to Insiders, and a wave of Copilot in Excel innovations are moving to Insiders and general availability. 

Build richer models with new entity and dot functions 

Every model is made of things: products, projects, recipes, workout plans, etc. In most workbooks, a thing is spread across columns and lookup tables. This means every formula must know where each piece lives. Change the thing, and you go hunting for everything related. 

Now anything can be a single value, built with a formula and passed through calculations, like any other type of value.  

Picture a coffee catalog. With new entity functions, each coffee becomes a single value that carries everything about it, including its supplier and the supplier's region, altitude, and certification, so your formulas don't need another lookup. 

 

 

Then, we have dot functions which show you what you can do with that value. Imagine a customer wants to add Harvest Decaf to their holiday gift box. The box keeps its coffees in one field, as an array. Type a dot after the box, pick .SetFields(), and add Harvest Decaf to the list. 

Starting today, entity, dot, and nine other new functions are rolling out to Insiders. Read our deep dive on these new functions here. 

Grounded on your data 

Even the most powerful formula is only as good as the data behind it, and that data rarely lives in one place. 

Ask about revenue, margin, or variance in plain language, and Fabric IQ, available in Insiders, answers from your organization's governed Power BI semantic models. Copilot can build a live, Fabric-connected PivotTable to back it up, using definitions your organization has already agreed on and staying current as the data refreshes. 

For data beyond Microsoft 365, reference it in your prompt or @mention one of hundreds of supported partner plugins. If you need a different source or data in a specific shape, just describe what you need and get data builds the Power Query for you. Once the data is in, clean data spots inconsistencies, like mixed currencies or uneven rounding, and suggests fixes. 

Wherever your data comes from, Work IQ layers in the context of your organization, so Copilot works with more than just the numbers. 

Trust your collaborators, both human and AI 

Once your data is in, it doesn’t sit still. Picture your whole team and Copilot working in the same workbook: you step away, come back, and something doesn't look quite like you left it. 

With change history, ask Copilot what changed, when, and by whom, and how those changes affected your workbook. Review human and AI edits and undo specific changes, without losing the work you want to keep. 

Streamline complex workflows 

With the right data in place and every change accounted for, it's time to put that data to work. Work usually requires more than a single prompt. It involves multiple steps, specialized knowledge, and established ways of working. 

That's where specialized pre-built skills come in. Accounting, finance, and capital markets skills help Copilot complete complex tasks like financial analysis, account reconciliation, and three-statement models, delivering results ready for your review. 

Copilot can also learn your way of working. With personalization, set your preferences once— from formatting conventions to how you like your work organized or analyzed— and let Copilot follow your ground rules. 

If there’s an entire process you want repeated your way, just hit record. Skill recorder lets you show Copilot how you do it once and save it as a reusable skill. If you’d rather tell Copilot what you want, use skill builder to create custom skills through natural language chat. 

That means less time repeating instructions and more flexibility to tackle complex work your way. 

Transform your data into beautiful, interactive experiences 

Once your analysis is done, the last step is sharing it. With interactive canvas, a prompt is all it takes to turn your analysis into a polished, dynamic experience. 

Build experiences with key takeaways, sliders, charts, and filters to communicate complex concepts. Since the canvas stays connected to your workbook, your visuals stay in sync as your numbers change.

Thank you to the Excel community 

As we look ahead to the Microsoft Excel World Championship finale, we want to thank the competitors, creators, MVPs, and fans who push Excel to its limits every day. 

Your creativity, expertise, and feedback show us what's possible, what's missing, and where to go next. Thank you for challenging us and helping shape the future of Excel. 

Don't miss the finale! Tune in to watch the world's best Excel competitors put their skills to the test.

Read the whole story
alvinashcraft
1 minute ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories