Microsoft Web IQ – Part 1 – Overview

Microsoft Web IQ – Part 1 – Overview

Welcome back fellow geeks!

I decided to slide one more post in before the end of the November to take my mind off the insanely dull certification exam I’m being forced to spend time on. To give my brain a small break from memorizing SQL DMVs (don’t get me started) you’re going to get a series on Microsoft Web IQ.

This one will get down and dirty with some API calls, code samples, and typical Matt Felton rants about feature gaps. Let’s get into it!

The Background

With the growth in AI applications and agents, the requirement for API-based access to search provider search indexes is almost universally common. Folks want to ground the answers generated by the models with multiple sources from the Internet in hopes of better quality responses (these hopes will likely dwindle as AI slop continues to pollute the Internet) or get more up to date information than is available within the model’s training data. The use case could be as simple as a fetching the next 7 days weather for an agent helping with a customer’s travel plans, or something more complex like an agent helping pulling current news to advise on stock trades.

Historically, Microsoft has provided programmatic access Bing’s search index through the Bing Search API. When AI started to kick, many customers used this API directly or the Grounding with Bing Azure resource which was built to optimize the experience for AI applications. Eventually, Microsoft introduced the Web Search Foundry Agent Service tool. Customers running an AI application or that had their agent runtime running on something other than Microsoft Foundry were blocked from using the Web Search tool because it was only reachable from the Microsoft-managed network agents running within Microsoft Foundry were operating in. This meant a big chunk of customers were still using the Bing Search API directly or Grounding with Bing resource. In early 2025 Microsoft announced the retirement of the Bing Search API. This left a lot of customers frustrated because their only option at that time was to build agents in Foundry, which until recently, had a lot of technical limitations that were breaking for enterprise customers.

In mid-2026 Microsoft announced the a new product called Microsoft Web IQ into preview (Microsoft’s new marketing gimmick is to add IQ to every product I guess to make it sound smart?). You can read the announcement for the marketing pitch, but for the purposes of this post, understand it’s the replacement for the raw Bing Search API with models on top optimizing the return from service. Hell, Microsoft is in the process of replacing the Web Search tool’s usage of the Bing Search APIs with Microsoft Web IQ so eventually you’ll be using this in some form or another.

Now that you understand how we got here, let’s take a 10,000 ft view of the service.

The Basics

Microsoft Web IQ is deployed as an Azure resource. This means you’ll need an Azure subscription and a resource group. It comes with its own resource provider called Microsoft.WebIQ, which means if you haven’t enabled the resource provider in your subscription, or you have policy filtering which resource providers can be enabled, you’ll need to get this one enabled before you can deploy it.

The top-level Azure resource is called an account and is managed using the Azure REST API (management.azure.com). You can think of this as the logical container the data plane components I’ll discuss next. Costs in the Cost Management API will be associated to this resource. As of 11/30/2026 the API for the Microsoft.WebIQ/accounts resource isn’t yet documented in the Azure REST API reference material (surprise surprise). There doesn’t seem to be a ton you can configure based the sample CLI deployment. There are however some interesting properties

{
"id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rgwebiqeus252j/providers/Microsoft.WebIQ/accounts/webiqeus252j",
"name": "webiqeus252j",
"type": "microsoft.webiq/accounts",
"sku": {
"name": "G3"
},
"kind": "WebIQ.Grounding",
"location": "Global",
"tags": {
"environment": "demo",
"product": "webiq"
},
"properties": {
"provisioningState": "Succeeded",
"endpoint": "https://apim-xxx-xxx-xxx.azure-api.net",
"internalId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"statisticsEnabled": false
}
}

In the above API object, we can see there is a top-level SKU. G3 seems to be the only option right now. There is also the properties.statisticsEnabled. The sample CLI sets to false, so I’m not sure what it does. The interesting property being surfaced is the endpoint. No, that’s the endpoint you hit. It seems to be simply the Microsoft-managed APIM (API Management) instance your specific calls to another endpoint we’ll discuss later are relayed through. I’m not sure why Microsoft is pushing that property to the customer. This is it for management plane stuff.

The account is the management-plane level container for the data plane components. Today, there are two data plane components you’ll want to be familiar with. The first is the Billing Account (billingAccount) object. As of 11/30/2026, there is a one-to-one relationship between the Microsoft Web IQ Account Azure resource and the Web IQ billing account. The billing account object has a list property called appProfiles. Each item in the list is referred to by the documentation as an AppID. No, this has no relationship to an Entra ID service principal application id. This is specific to Web IQ and has a special purpose.

AppIDs in the context of Web IQ can be thought of as control boundaries. Each AppID created in Web IQ is assigned a QPS (queries per second) and can be used to limit which Web IQ search endpoints can be used by the AppID. As of 11/30/2026, a default AppID is automatically created for you with 15 QPS and access to a number of different search endpoints within the service (more on this later). You can create API keys associated with Web IQ (please don’t do that) or you can associate one or more Entra ID service principals (do this). I’m not aware of a way to create a second AppID. I could have sworn I saw it in the FAQ, but couldn’t find it when I was looking when writing this post. The only way to create a second AppID is through a support request.

The other object (at least the ones that are exposed and documented today) that is a child of the billing account is called a scope. Scopes are a way for the caller (notice I said caller) to request to filter which domains, paths, and URLs are included or excluded from the query issued to Microsoft Web IQ. As of 11/30/2026, these scopes cannot be enforced as far as I can tell (well, not natively anyway as we’ll see in a later post) and have to be requested by the caller (be this an AI application or agent). This is a major gap in this old person’s opinion.

At a SUPER high level, the service hierarchy looks something like this:

Microsoft Web IQ Service hierarchy

The Endpoints

Microsoft Web IQ has a single multi-tenant endpoint at https://api.microsoft.ai. There is no private endpoint for this service at this time, so if you’re calling it, you’re going to need an egress point. Bonus of this is it makes it easy to mediate and inspect the traffic with your preferred security appliance.

This endpoint has two primary paths. One path /v3/ or Search API encompasses the search endpoints and MCP Service. You can interact with the Search API using the SDK, REST API, or MCP Server. I’ll demonstrate all three in another post in this series. The other path /v1/customer or Customer Management API is used to view which billing accounts and appIDs a service principal has access to or to manage scopes. I’ll dive into the Search API in detail in an upcoming post, so for now I want to focus on the Customer Management API.

So yeah, the Customer Management API is barebones at this point. You’d expect the Customer Management API to allow for things like managing AppIDs by adjusting QPS, adding or removing approved search services, or adding or removing associated Entra ID service principals. Unfortunately, none of that is available today. There is very little you can do with it beyond manage scopes. Before a service principal (and yes it’s service principals only because this API only supports the client credentials flow) can can interact with the Customer Management API it needs to be onboarded.

For all the real administration, you’ll be working with one Microsoft’s most favorite things in the whole wide world… drum roll please… yes yet another service-specific portal. This one is called the Web IQ Developer Portal (https://webiq.microsoft.ai/) and boy will you folks who manage the service get to practice your point-and-click with how the service is built today. In this Portal you’ll be creating API keys for AppIDs (don’t do this), associating Entra ID service principals to an AppID (do this) or granting access to the Customer Management API. This reliance on a portal for most administration activities makes the service pretty rough to work with right now if you’re a programmatic-first organization. Positive is the APIs will likely be expanded in the future to support this.

All endpoints support Entra ID authentication. The Search API supports API keys but I know you know better than to be using API keys in 2026 when there are other options.

Microsoft Web IQ endpoints and their function

Logging

By default, all queries (along with other operational telemetry) you send to Microsoft Web IQ are logged by Microsoft for Microsoft’s purposes described in the prior link and are not available to the you as the customer. You do have the option of disabling query logging using a functionality the service calls Zero Query Logging. This is enabled on a per AppID basis using the process described in this link. As of 11/30/2026, there is no way for you as a customer do disable this. It must be requested and disabled by Microsoft.

There are no platform diagnostic logs at the Azure resource level that I’m aware of today either.

Summing it up

Okay, this post should give you a super high level understanding of the pieces that make up the service and what piece does what. You’re likely already seeing the pain points of the service in its current form such as lack of support for programmatic administration, many seemingly common administrative tasks requiring a special request to Microsoft, lack of customer-owned logging, lack of enforcement around scopes providing search filtering, and no out-of-the-box integration with AI Content Safety. While we can’t do anything about the gaps in programmatic administration and no one should be surprised given the newness of the service (yes sorry, I wish we could be!), we can address these other gaps as we’ll see in a future post with the industries favorite new architectural component they are slowly bastardizing the original meaning of, the AI Gateway.

In the next post I’ll walk through setting up the service, onboarding an Entra ID service principal to both the Customer Management API and Search API, creating a scope, and interacting with the Search APIs using REST, the SDK, and the MCP server. I’ll also demonstrate how to connect to it using a Foundry Toolbox. In the last post in this series I’ll walk through some patterns I’ve been thinking about, and how you can supplement some of the gaps in the service using an AI Gateway (architectural component, not a specific vendor product).

Microsoft Foundry – OpenAI Stateful API Calls and APIM

Microsoft Foundry – OpenAI Stateful API Calls and APIM

This is part of my series on Microsoft Foundry:

  1. Microsoft Foundry’s Evolution
  2. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 1
  3. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 2
  4. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 3
  5. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 1 – Overview
  6. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 2 – The GUI Experience
  7. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 3 – The programmatic experience
  8. Microsoft Foundry – OpenAI Stateful API Calls and APIM

Hello again geeks.

Today I’m going to give you a brain dump of a neat little feature I learned about in APIM (Azure API Management) while it’s still freshly floating around in the chaos that is my brain. We’ll be getting a little bit nerdy, so grab your favorite caffeinated beverage and prepare to talk some APIM and API calls.

The challenge

If you’ve followed my ramblings over the past two years (oh man, what is wrong with you?), you’ve read some of my posts about AI Gateways. One of the primary functions of an AI Gateway is to provide some level of load balancing across multiple model API endpoints to maximize requests and TPM (tokens per minute). Packing a whole bunch of requests and TPM behind a single endpoint is typically the first use case my customers have to talk about using an AI Gateway.

Load balancing with an AI Gateway

In the olden days of last year, customers would establish a single endpoint and pack a whole bunch of Foundry resources stretched across a whole bunch of subscriptions and bask in the stateless nature of the ChatCompletions API. Sure, you had your batch use cases, but they were largely handled through a single dedicated Foundry resource for applications that required it. Times changed with the introduction of the responses API and its introduction of server-side storage of messages (and whole bunch of other cool features). Suddenly, multi-turn conversations with the models no longer required maintaining the message array locally.

When you send a request to the responses API, the response is cached by default for 30 days. While you can turn this off by modifying the store property of the request to false, it’s unlikely this will occur often. First, store is set to true by default and most folks are pretty lazy about modifying defaults, and second, there is a real benefit for developers to offload storage and compaction of the conversation to the service vs doing it themselves.

What this means for you central IT folks is if you were relying on the stateless spraying methodology you had with ChatCompletions, your system breaks down. Whether you like it or not most of your user base is going to be living in the Responses API world. This means you need to figure out how to deal with state. APIM historically didn’t support sticky sessions, so what is a poor central IT peep supposed to do?

APIM Backend Session Affinity

Now I was asking myself this same question today. WTF am I supposed to do without session stickiness? Whenever I need to brainstorm around APIM challenges, I call my bestie Shaun Callighan to pool our brain power (about 1.5 brains counting Shaun’s full brain). We went back and forth and talked about what we typically see, which is the dedicated backends for stateful operations like batch. Shaun then remembered coming across a piece of documentation that held the solution to our problem.

Unbeknownst to me, the APIM PG (Product Group) slipped in a new session affinity property in APIM’s backend pool. For those of you folks who don’t have a ton of time smashing your keyboard working with APIM, a backend is logical APIM resource that points to some endpoint hosting some service. You reference these backends in your APIM policy and APIM forwards requests along to them. In the olden days, you had to incorporate your own logic into your APIM policy to load balance across multiple backends. A few years back, the PG introduced the concept of circuit breaker logic for backends and the concept of a backend pool. This allowed you to slap a bunch of backends configured with circuit breaker logic into the backend pool thus creating a load balanced pool. Below, is an example of a backend with a circuit breaker and a backend pool.

The left image above is a backend pool with two backends behind it. You’ll notice the sessionAffinity property. If I configure this property on a backend pool like above screenshot, APIM will return a session cookie to the client. If the client returns that session cookie in additional requests APIM will redirect that request to the same backend from the pool thus supporting the stateful responses API!

from openai import OpenAI, NotFoundError, DefaultHttpxClient
from http.cookies import SimpleCookie
import json
received_cookie_values = set()
cookie_checks = []
# Function to report if cookies are present
def report_cookie_exchange(response):
sent_cookies = SimpleCookie()
sent_cookies.load(response.request.headers.get("cookie", ""))
reused_names = sorted(
name for name, cookie in sent_cookies.items()
if (name, cookie.value) in received_cookie_values
)
received_names = set()
for header in response.headers.get_list("set-cookie"):
response_cookies = SimpleCookie()
response_cookies.load(header)
for name, cookie in response_cookies.items():
received_names.add(name)
received_cookie_values.add((name, cookie.value))
cookie_checks.append({
"received": bool(response.headers.get_list("set-cookie")),
"reused": bool(reused_names)
})
print(f"\nCookie check: {response.request.method} {response.request.url.path} ({response.status_code})")
print(f" Sent cookie names: {sorted(sent_cookies) or 'none'}")
print(f" Received Set-Cookie names: {sorted(received_names) or 'none'}")
print(f" Previously received cookies sent back with matching values: {reused_names or 'none'}")
# Create the Azure OpenAI Service client
#
client = OpenAI(
base_url=FOUNDRY_MODEL_APIM_ENDPOINT,
api_key=token_provider,
http_client=DefaultHttpxClient(event_hooks={"response": [report_cookie_exchange]})
)
first_question = "What is the capital of New Hampshire?"
first_response = client.responses.create(
model=LLM_DEPLOYMENT_NAME,
# Store responses server-side
store=True,
instructions="You are a helpful assistant.",
input=[
{
"role": "user",
"content": [
{
"type": "input_text",
"text": first_question
}
]
}
]
)
# Use the prior response id as context for a follow up question
follow_up_question = "What is the population?"
follow_up_response = client.responses.create(
model=LLM_DEPLOYMENT_NAME,
# Store responses server-side
store=True,
instructions="You are a helpful assistant.",
input=[
{
"role": "user",
"content": [
{
"type": "input_text",
"text": follow_up_question
}
]
}
],
previous_response_id=first_response.id
)
flower_question = "What is that state's official flower?"
flower_response = client.responses.create(
model=LLM_DEPLOYMENT_NAME,
store=True,
instructions="You are a helpful assistant.",
input=[
{
"role": "user",
"content": [
{
"type": "input_text",
"text": flower_question
}
]
}
],
previous_response_id=follow_up_response.id
)
flag_question = "What are the colors of that state's flag?"
flag_response = client.responses.create(
model=LLM_DEPLOYMENT_NAME,
store=True,
instructions="You are a helpful assistant.",
input=[
{
"role": "user",
"content": [
{
"type": "input_text",
"text": flag_question
}
]
}
],
previous_response_id=flower_response.id
)
print(f"User: {first_question}")
print(f"Assistant: {first_response.output_text}")
print(f"User: {follow_up_question}")
print(f"Assistant: {follow_up_response.output_text}")
print(f"User: {flower_question}")
print(f"Assistant: {flower_response.output_text}")
print(f"User: {flag_question}")
print(f"Assistant: {flag_response.output_text}")
print(f"--------------------------------------------")
print("Cookie received:", any(check["received"] for check in cookie_checks))
print("Cookie sent back with matching value:", any(check["reused"] for check in cookie_checks))
# Dump the raw JSON of the responses for debugging purposes
print("Response API call response:")
print(first_response.model_dump_json(indent=2))

If I run the code above, I get returned the output below showing the openai client receiving the cookie and passing with each multi-turn response. Each follow-up question includes the referenc eot the prior model response giving the model context to the entire conversation. Without session affinity, I’d end up getting round robin-ed across the backends since they’ve been configured with the same priority causing the API to spit back an error because the backends don’t have access to the per instance cached server-side response.

Cookie check: POST /openai-account/responses (200)
Sent cookie names: none
Received Set-Cookie names: ['SessionId']
Previously received cookies sent back with matching values: none
Cookie check: POST /openai-account/responses (200)
Sent cookie names: ['SessionId']
Received Set-Cookie names: none
Previously received cookies sent back with matching values: ['SessionId']
Cookie check: POST /openai-account/responses (200)
Sent cookie names: ['SessionId']
Received Set-Cookie names: none
Previously received cookies sent back with matching values: ['SessionId']
Cookie check: POST /openai-account/responses (200)
Sent cookie names: ['SessionId']
Received Set-Cookie names: none
Previously received cookies sent back with matching values: ['SessionId']
User: What is the capital of New Hampshire?
Assistant: The capital of New Hampshire is Concord.
User: What is the population?
Assistant: Concord, New Hampshire has an estimated population of about **44,000–45,000 people**.

You’ll notice in the docs an additional APIM policy snippet. This snippet is specific to the assistants API (since the path includes the thread ID) and isn’t required for the responses API. The issuance of the cookie comes from the sessionAffinity property on the backend, not the APIM policy in link.

Now while this is cool for your stateful operations, what about the tried-and-true ChatCompletions? You may still be using the ChatCompletion for some use cases where you don’t need the stateful functionality or advanced features available in the Responses API. Now the rub here is the sessionAffinity property on the backend causes APIM to always return a session cookie which clients like the OpenAI client will use and reply meaning you’ll be pinning yourself for stateless operations like ChatCompletions to a specific backend losing some of the benefits of the stateless spray.

To work around this you can create another backend pool for stateless operations. In the APIM policy you could toss in some simple logic (taken from my Terraform template) like the below to send your stateful stuff to the stateful backend and the stateless stuff to the stateless backend.

    <when condition='@{
        var segments = context.Request.OriginalUrl.Path.ToLowerInvariant().Split(&apos;/&apos;);
        return segments.Contains("responses") || segments.Contains("batches") || segments.Contains("files");
    }'>
        <set-backend-service backend-id="${module.backend_pool_msfoundry_instances_openai_accounts_stateful.name}" />
    </when>
    <otherwise>
        <set-backend-service backend-id="${module.backend_pool_msfoundry_instances_openai_accounts_stateless.name}" />
    </otherwise>

Summing it up

So yeah, this was news to me. I don’t think I have any customers using this feature, but I’m def gonna bring it up next time I chat. If anyone has a more elegant way to handle the stateless operations within a single pool (vs. two) please comment below.

Your takeaways for today are:

  1. The documentation has the API version wrong in the sample. You need to use version 2025-09-01-preview.
  2. Enabling this session affinity property will cause APIM to return session cookies and will make your stuff sticky if your client is sending that session cookie back to APIM. Do your own testing before you enable to ensure don’t blow up your backend and piss off your user base.
  3. Figure out a way to keep stateless operations like ChatCompletions stateless and sprayed across backends evenly. I will put money you still have a lot of folks using ChatCompletions in your environment and are benefiting from the spray technique.

That’s it for me. Hope this helps some poor soul out there!

Microsoft Foundry – Publishing Agent to Microsoft Teams – Part 3 – The Programmatic Experience

Microsoft Foundry – Publishing Agent to Microsoft Teams – Part 3 – The Programmatic Experience

This is part of my series on Microsoft Foundry:

  1. Microsoft Foundry’s Evolution
  2. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 1
  3. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 2
  4. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 3
  5. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 1 – Overview
  6. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 2 – The GUI Experience
  7. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 3 – The programmatic experience
  8. Microsoft Foundry – OpenAI Stateful API Calls and APIM

Updates:

And I’m back again with the third post in my series on publishing agents built in the Microsoft Foundry Agent Service to Microsoft Teams. I started the series by walking through the benefits of publishing a Foundry agent to Teams and explained the purpose Bot Services serves today in the flow. In the second post I walked through the GUI experience, the workflow occurring under the hood, and why the GUI experiencing publishing flow won’t work for most customers. For this third post we’re gonna jump down into the weeds and dissect the programmatic approach using raw calls to the Azure REST API.

Let’s get to it!

What used to be required?

Back when I published this initial series way back in the olden days of May 2026, the only option to publish a Foundry agent to Microsoft Teams when the Foundry account was locked down was quite complex. My very smart peer Graeme Foster put together a stellar blog post on the topic. I’m not going to go into deep detail on the original flow because you can grab those details from Graeme’s original post. Instead, we’re going to hit the key challenges of the old method.

As I discussed in my last post, most large enterprises have requirements around controlling and governing inbound traffic to their Azure resources. For resources deployed to Microsoft Foundry, like an model deployment or an agent, that control is exercised through the service firewall native to most all Microsoft PaaS services. The typical configuring is to disable inbound public network access and restrict access through a Private Endpoint. Restricting to a Private Endpoints means the traffic needs to be routed through the customer’s virtual network. With Microsoft Teams traffic, this is not possible today and that traffic requires the service be exposed in some manner via a public IP address.

Foundry with inbound public network access denies Teams traffic

In the above diagram you’ll notice a Bot Service. As I covered in my last post, as of today, if you publish via the GUI process to a Foundry account were public network access is enabled, the automated process will create a customer-managed Bot Service. As we’ll see in soon, this customer-managed Bot Service is optional with the introduction of a new property.

We got a problem here right? Teams cannot reach the Private Endpoint in the customer virtual network. The solution around this problem has historically been to funnel that traffic in through a firewall, reverse proxy like Application Gateway, or a publicly exposed API Gateway like API Management by modifying the activity endpoint on the Bot Service resource. Which ingress solution you picked depended on your risk tolerance. It’s unlikely your security team is willing to allow all IP addresses through the firewall or reverse proxy, so you’d probably filter with a firewall rule or WAF (web application firewall) rule. Teams is a multi-tenant service, so you may want to evaluate the headers in the incoming request to check if the incoming header matches your Entra ID tenant ID. While those controls are nice, the real thing you very much want to do is validate the JWT (JSON web token) being passed in the request is from a Bot Service in your Entra ID tenant. Like I mentioned in my last post, Bot Service uses its own STS which uses a common signing certificate for the service holistically (from what I’ve seen) so validating the claims within the JWT is a must as Graeme covers in his post.

Below is an example of an authorization header generated by Bot Services and the x-ms-tenant-id header that would be validated by the customer in the old method.

[
{
"TraceRecords": {
"Authorization": {
"header": {
"alg": "RS256",
"kid": "PNDitLKaGJW-60l42Kz7-4RqwWM",
"x5t": "PNDitLKaGJW-60l42Kz7-4RqwWM",
"typ": "JWT"
},
"payload": {
"serviceurl": "https://smba.trafficmanager.net/amer/6c80de31-d5e4-4029-93e4-XXXXXXXXXXX/",
"nbf": 1788568132,
"exp": 1788571732,
"iss": "https://api.botframework.com",
"aud": "be377583-32aa-4263-b657-7ec426f9f6fc"
}
},
"X-Forwarded-For": "52.112.116.181:46080;10.0.8.4",
"x-ms-tenant-id": "6c80de31-d5e4-4029-93e4-XXXXXXXXXXXX",
}
]

This inevitably led to some variant of the complex architecture seen below for most complex and regulated enterprises. It was a lot of complexity, extra infrastructure, potential bottlenecks, and possible extra latency.

In addition to this inbound flow, you also needed to account for the outbound flow from the agent back to the Bot Service. As I described in my first post in this series, the reply message to the user is a separate TCP call initiated by the agent to the Bot Services. That outbound flow required you had had a firewall rule allowing traffic to smba.trafficmanager.net.

Option 1

This design is still supported and some customers may still prefer if it they absolutely require inspection of the inbound flow and are not comfortable with shifting the responsibility of securing this inbound flows to Microsoft.

There is a new more simple option that I will discuss next.

Your new option

A few months back the Product Group introduced a new option that requires less infrastructure and overhead on the customer’s part and eliminates the need for a customer-managed Bot Service.

The public documentation gives some good detail on exactly what has changed. In my simple brain terms, Microsoft has created an alternative path to the activity endpoint (other Foundry and agent endpoints are not available through this path) of the Foundry agent that has been published to Teams. Instead of the customer having to do IP filtering, Microsoft performs it. Instead of the customer having to crack open the JWT issued by the Bot Service, Microsoft does it. This new configuration shifts responsibility for these security controls from the customer to Microsoft.

This is accomplished through a new property of the agent called enable_m365_public_endpoint which must be set to true.

Note that the requirement for the outbound flow initiated by the agent runtime to the smba.trafficmanager.net endpoint is still required. Ensure that you have this flow open in your firewalls.

The new option

Alright, so you’re celebrating a less painful flow now. Let’s bounce over to how we’d enable this programmatically.

Programmatically publishing an agent

The Product Group has done a great job creating a detailed write-up of the necessary Azure ARM REST API calls required to publish an agent programmatically. I’ll be walking through this using a Jupyter Notebook and some simple Python.

Before we can begin publishing we need to deploy an instance of Microsoft Foundry where inbound public network access is restricted and outbound traffic of the agent is controlled (using either VNet integration or managed VNet). The product group has published samples for both these scenarios in this the official samples repository. If you want to make your eyes bleed reading awful Terraform code, I have some samples in my personal repo. You’ll then need to deploy a prompt or hosted agent to Microsoft Foundry. The public documentation has a ton of examples of this, so I’m going to assume you’re successful in making that happen.

Once you have the environment setup up and agent deployed you can begin the publishing process. As a reminder, here is the general workflow to publish as it stands today.

Foundry agent general publishing workflow

n.

Create Bot Service (only required if you’re not using the enable_m365_public_endpoint option)

One of the big changes introduced in early November was the removal of the requirement for the customer-managed Bot Service resource when using the enable_m365_public_endpoint option. You no longer need to perform this step if you’re setting that property. If you’re using the original option because you have a hard requirement to inspect inbound traffic or you’re not comfortable with offloading that responsibility of securing this flow to Microsoft, you’ll need to perform this step. .

The customer-managed Bot Service will service as the intermediary between Microsoft Teams and the activity endpoint in the agent and creating it will allow you to set a custom messaging endpoint to push the traffic through a customer-managed proxy for inspection. Before we can create the Bot Service we need to get the agent’s Entra ID Agent Identity Blueprint’s principal id. We can do this like seen below:

import os
import json
import requests
from dotenv import load_dotenv
# Load environmental variables
load_dotenv(override=True)
# Function that gets the agent object
def get_foundry_agent(account_name: str, project_name: str, agent_name: str, token: str):
"""This function retrieves a Foundry agent by name from a Foundry project
Args:
account_name (str): The name of the Foundry account
project_name (str): The name of the Foundry project
agent_name (str): The name of the Foundry agent to retrieve
token (str): The authentication token to use for the API request
Returns:
dict: The Foundry agent details if found, otherwise None
"""
response = requests.get(
f"https://{account_name}.services.ai.azure.com/api/projects/{project_name}/agents/{agent_name}?api-version=v1",
headers={
"Content-Type": "application/json",
"Authorization": f"Bearer {token}"
}
)
if response.status_code == 200:
return response.json()
else:
logging.error(f"Failed to retrieve agent: {response.status_code} - {response.text}")
return None
# Grab the principal_id of the Entra ID Agent Identity associated with the Foundry Agent
foundry_account_name = os.getenv("FOUNDRY_ACCOUNT_NAME")
project_name = os.getenv("FOUNDRY_PROJECT_NAME")
agent_name = "hosted-azure-expert-agent"
agent = get_foundry_agent(foundry_account_name, project_name, agent_name, user_token.token)
agent_principal_id = agent.get("instance_identity", {}).get("principal_id")
print(f"Foundry Agent Principal ID: {agent_principal_id}")
print(json.dumps(agent, indent=2))

In addition to the principal id of the blueprint, we’ll need the Entra ID tenant ID, and the activity endpoint. The activity endpoint will look something like: https://FOUNDRY_ACCOUNT_NAME.services.ai.azure.com/api/projects/PROJECT_NAME/agents/AGENT_NAME/endpoint/protocols/activityProtocol?api-version=2025-05-15-preview. Once you have those inputs you can create the Bot Service resource. I have a Terraform sample of how to structure the resource located in this repository.

Enable Activity Endpoint

You’ll next enable the activity endpoint on the agent and set the authorization scheme for the activity endpoint. There are two options for the authorization scheme used with the activity endpoint: BotServiceRbac and BotServiceTenant. If you set it to BotServiceRbac the user calling the agent from teams will need the appropriate Azure RBAC permissions on the Foundry Project where the agent lives. For example, you might grant them the Foundry Agent Consumer role. If you choose BotServiceTenant all valid users in the tenant will be able to call the agent. If you’re also making the agent available via the responses endpoint, you’ll need to configure a second authorization scheme object set to Entra (or AzureRbac) to support it.

Lastly, you’ll need to set the enable_m365_public_endpoint property to true to use the new network flow I described above.

In the code below I have my agent available both via the activity endpoint and the responses endpoint. I configure the BotServiceTenant authorization scheme for the activity endpoint since this agent will be available to all valid users in the Entra tenant. I also configure the Entra authorization scheme to support calls to the responses endpoint.

import os
import json
import requests
from dotenv import load_dotenv
# Load environmental variables
load_dotenv(override=True)
# Function that enables the activity protocol for the agent and configures the required Bot Service authorization scheme
def enable_agent_activity_protocol(account_name: str, project_name: str, agent_name: str, token: str):
"""This function enables the activity protocol for a Foundry agent and configures the required Bot Service authorization scheme
Args:
account_name (str): The name of the Foundry account
project_name (str): The name of the Foundry project
agent_name (str): The name of the Foundry agent to retrieve
token (str): The authentication token to use for the API request
Returns:
dict: The updated Foundry agent details if the update was successful, otherwise None
"""
#
body = {
"agent_endpoint": {
"protocol_configuration": {
"responses": {},
"activity": {
"enable_m365_public_endpoint": True
}
},
"authorization_schemes": [
{
# Entra authentication for responses endpoint
"type": "Entra",
},
{
# Allow all users in the Entra ID tenant to call the agent via Teams
"type": "BotServiceTenant"
}
]
}
}
response = requests.patch(
f"https://{account_name}.services.ai.azure.com/api/projects/{project_name}/agents/{agent_name}",
params={"api-version": "2025-11-15-preview"},
headers={
"Content-Type": "application/merge-patch+json",
"Authorization": f"Bearer {token}"
},
json=body
)
if response.status_code == 200:
return response.json()
else:
logging.error(f"Failed to enable agent activity protocol: {response.status_code} - {response.text}")
return None
# Grab the principal_id of the Entra ID Agent Identity associated with the Foundry Agent
foundry_account_name = os.getenv("FOUNDRY_ACCOUNT_NAME")
project_name = os.getenv("FOUNDRY_PROJECT_NAME")
agent_name = "hosted-azure-expert-agent"
enabled_agent = enable_agent_activity_protocol(foundry_account_name, project_name, agent_name, user_token.token)
enabled_agent_guid = enabled_agent.get('versions', {}).get("latest", {}).get("agent_guid", {})
print(f"Enabled Agent GUID: {enabled_agent_guid}")
updated_agent_endpoint = enabled_agent.get('agent_endpoint', {})
print(f"Updated Agent Endpoint: {json.dumps(updated_agent_endpoint, indent=2)}")

Next, I’m ready to publish the agent to Teams. For this I’m going to use the /microsoft365/publish endpoint of my agent resource in the Foundry API. Just like in the last post, I want to populate some information for the Agent 365 Agent Registry entry and the Team Store application.

In the example code below, I’m publishing the agent to Teams so it’s visible to all users.

import os
import json
import requests
from dotenv import load_dotenv
# Load environmental variables
load_dotenv(override=True)
def publish_agent_teams(
# Foundry stuff
agent_name: str,
project_name: str,
account_name: str,
# Bot Service stuff
bot_resource_id: str,
# Teams stuff
agent_display_name: str,
app_version: str,
publish_scope: str,
publish_as_autopilot: bool,
short_description: str,
full_description: str,
developer_name: str,
developer_website_url: str,
privacy_url: str,
terms_of_use_url: str,
token: str
):
"""This function uses the Foundry API to publish a Foundry agent to Microsoft Teams
Args:
agent_name (str): The name of the Foundry agent to publish
project_name (str): The name of the Foundry project
account_name (str): The name of the Foundry account
bot_resource_id (str): The resource ID of the Bot registered in Entra ID for this agent
agent_display_name (str): The display name of the agent to show in Teams
app_version (str): The version of the Teams app to publish
publish_scope (str): The scope to publish the Teams app to, either "Shared" (available to you) or "Tenant (admin must approve)"
publish_as_autopilot (bool): Whether to publish the agent as an Autopilot in Teams
short_description (str): A short description of the agent to display in Teams
full_description (str): A full description of the agent to display in Teams
developer_name (str): The name of the developer or organization that created the agent, to display in Teams
developer_website_url (str): The URL for the developer's website, to display in Teams
privacy_url (str): The URL for the privacy policy for this agent, to display in Teams
terms_of_use_url (str): The URL for the terms of use for this agent, to display in Teams
token (str): The Entra ID access token with the scope of https://ai.azure.com/.default to authenticate the API request
Returns:
dict: The response from the Foundry API if the publish was successful, otherwise None
"""
body = {
"agentDisplayName": agent_display_name,
"botServiceArmId": bot_resource_id,
"publishScope": publish_scope,
"publishAsAutopilot": publish_as_autopilot,
"appVersion": app_version,
"developerName": developer_name,
"developerWebsiteUrl": developer_website_url,
"fullDescription": full_description,
"privacyUrl": privacy_url,
"shortDescription": short_description,
"termsOfUseUrl": terms_of_use_url
}
response = requests.post(
url = f"https://{account_name}.services.ai.azure.com/api/projects/{project_name}/agents/{agent_name}/microsoft365/publish",
params = {
"api-version": "2025-11-15-preview"
},
headers={
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": f"Bearer {token}",
},
json=body
)
if response.status_code == 200:
print("Agent published successfully! Status code: 200")
else:
logging.error(f"Failed to publish agent: {response.status_code} - {response.text}")
return None
AGENT_DISPLAY_NAME = "FHA - Azure Expert - Teams"
APP_VERSION = "1.0.1"
PUBLISH_SCOPE = "Tenant"
PUBLISH_AS_AUTOPILOT = False
SHORT_DESCRIPTION = "FHA - Azure Expert"
FULL_DESCRIPTION = "FHA - Azure Expert published to Teams from Microsoft Foundry"
DEVELOPER_NAME = "Carl Carlson"
DEVELOPER_WEBSITE_URL = "https://www.example.com"
PRIVACY_URL = "https://www.example.com/privacy"
TERMS_OF_USE_URL = "https://www.example.com/terms"
publish_response = publish_agent_teams(
# Foundry stuff
agent_name = os.getenv("FOUNDRY_AGENT_NAME"),
project_name = os.getenv("FOUNDRY_PROJECT_NAME"),
account_name = os.getenv("FOUNDRY_ACCOUNT_NAME"),
# Bot Service stuff
bot_resource_id = os.getenv("BOT_RESOURCE_ID"),
# Teams stuff
agent_display_name = AGENT_DISPLAY_NAME,
app_version = APP_VERSION,
publish_scope = PUBLISH_SCOPE,
publish_as_autopilot = PUBLISH_AS_AUTOPILOT,
short_description = SHORT_DESCRIPTION,
full_description = FULL_DESCRIPTION,
developer_name = DEVELOPER_NAME,
developer_website_url = DEVELOPER_WEBSITE_URL,
privacy_url = PRIVACY_URL,
terms_of_use_url = TERMS_OF_USE_URL,
token = user_token.token
)

Once publishing is complete, I’ll then need to approve it using the Microsoft 365 Admin Portal as seen in the last post. Poking through the Microsoft Graph APIs, I couldn’t find a specific API endpoint for the Agent Registry to programmatically approve and push it to the organization’s Teams store. The APIs for Agent 365 in general are not great right now. Vasil Michev did a great blog post on the topic. Unfortunately, the state of the APIs are much better months after his post. You can poke around the Agent Registry API which is really badly named the Copilot Package Management API if you want to poke around programmatically. If you can get the https://graph.microsoft.com/beta/copilot/agentRegistrations/{agent_registration_id} endpoint working without it throwing an unauthorized response, please drop a post in the comment and tell me how you did it. You will be my hero.

I’ve put a sample notebook here if you want to muck around with the programmatic publishing process.

Summing it up

So yeah, this new publishing process is just a TAD less painful for us poor central IT folks. It will likely get even easier in the very near future so keep an eye out on the public documentation for updates. Maybe that pesky Bot Service resource gets removed? 😉

So key takeaways:

  1. For most organizations you’ll need to do the programmatic publishing process because it’s unlikely you’re cool with public inbound network access. You need to make the choice if you’re comfortable with shifting the overhead of managing the security of the inbound flows from Teams to the agent to Microsoft or you want to maintain those flows, and the infrastructure to support them, yourself.
  2. Today (11/11/2026), the GUI still creates a Bot Service. This experience will likely change in the future to remove the Bot Service creation and usage in this flow.
  3. The enable_m365_public_endpoint pattern shifts the responsibility of securing the flow to Microsoft and removes the burden of the customer having to deploy the infrastructure to provide those security checks.
  4. The original pattern where you create a Bot Service and proxy it yourself is still valid.
  5. Keep an eye on the Agent 365 API documentation. If the APIs are documented somewhere that I don’t know about, educate me. You’ll be my best buddy!
  6. Keep a close eye on the public documentation for upcoming changes that will further simplify this process.

Microsoft Foundry – Publish Agents to Microsoft Teams – Part 2 – The GUI Experience

Microsoft Foundry – Publish Agents to Microsoft Teams – Part 2 – The GUI Experience

This is part of my series on Microsoft Foundry:

  1. Microsoft Foundry’s Evolution
  2. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 1
  3. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 2
  4. Microsoft Foundry BYO AI Gateway (BYO Model) – Part 3
  5. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 1 – Overview
  6. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 2 – The GUI Experience
  7. Microsoft Foundry Publishing Agent to Microsoft Teams – Part 3 – The programmatic experience
  8. Microsoft Foundry – OpenAI Stateful API Calls and APIM

Update 11/11/2026 – A Bot Service resource is no longer required when using the enable_m365_public_endpoint option

Hello again fellow geeks. While I typically like to stick to one post every few weeks for sanity sake, I want to get this series down and recorded before I get distracted by something else and forget what is fresh in my mind. You know the feeling, right?

This post will continue my series on publishing agents built in the Microsoft Foundry Agent Service to Microsoft Teams. In my last post gave a brief over of the Foundry Agent Service, why you would publish an agent to Teams, and the role of the AI Bot Service in the process (at least as that role stands today). For this post my focus will be walking through the GUI-based experience for publishing an agent, where it works, where it doesn’t work, and the high level workflow of what happens when you hit the publish button.

Where the GUI process works

As it is today? Pretty much no where in my opinion. Sure muck around with it your lab, but any real enterprise environment it ain’t gonna work. Why? Well because of this big blue blurb in the documentation.

Let me dig in a bit into exactly what this blurb means. For any Azure-based PaaS service there is inbound traffic. Inbound traffic is when some endpoint initiates a connection to the Azure PaaS instance. For example, an inbound flow to Foundry might be an endpoint making a connection to a model endpoint to make an inference.

By default, every Microsoft PaaS service has a hostname in a public DNS zone that will resolve to a public IP (exempting some compute-based services where you can disable this) and every PaaS service allows inbound traffic to that endpoint by default. Whether or not traffic is accepted over the public endpoint is typically controlled by a property of the resource named publicNetworkAccess. In the case of Microsoft Foundry this setting is set at the Foundry account level. Below is an example of a Foundry account that has inbound public network access disabled.

{
"id": "/subscriptions/97515654-3331-440d-XXXXXXXXXXXX/resourceGroups/rgmsfcusg5b111/providers/Microsoft.CognitiveServices/accounts/msfcusg5b111",
"name": "msfcusg5b111",
"type": "Microsoft.CognitiveServices/accounts",
"location": "centralus",
"sku": {
"name": "S0"
},
"kind": "AIServices",
"tags": {
...
},
"properties": {
...
"publicNetworkAccess": "Disabled",
}

When the publicNetworkAccess property is set to disabled for Microsoft Foundry, all inbound traffic to the public endpoint will be denied by the service firewall. This means no IP exceptions and no exceptions for service endpoint traffic. It can still support inbound traffic to the public endpoint for its specific set of trusted Azure services. I go into the gory details of how the PaaS service firewall works, what the trusted service exception is, and the other types of exceptions you can use for the service firewall depending on the PaaS service and all that other fun nerd stuff in my series on Network Security Perimeters if you want to dig in. It’s worth a read if you’re a heavy service firewall user today, because Network Security Perimeters on are track to replace that functionality (and they do a WHOLE lot more).

For the purposes of this post, know the service firewall exists and it is the thing denying inbound traffic when we set publicNetworkAccess to disabled. If you attempt to publish a Foundry agent that has publicNetworkAccess (often referred to as PNA) set to disabled, you’ll receive this error:

Error when using GUI-based publishing process if PNA is disabled

All of that was a long and overly wordy way of saying the GUI process as it is today will not work for any customer that disabled inbound public network access, which is pretty much every large enterprise customer. Where it may work is for sandbox-like environments where security controls are minimal or if your specific org isn’t subject to strict security controls and inbound PNA isn’t a problem.

How does the GUI process works

You may be saying, “Why should I care if I can’t use it?” Valid question, but for quick proof-of-concepts or sandbox like environments it has a role. It’s also helpful to get a feeling for the overall publishing workflow. While it may be more compact and simple via the GUI process, the programmatic steps don’t differ all too much. There simply are more and you have more configuration options.

Before you run these steps you’ll need to ensure you have the specific set of permissions, primarily the Foundry User role over the Foundry project. Today (and I may be updating this in the very near future) you need the Azure Bot Service Contributor role, Contributor, or Owner at the resource group or higher level. This is because the GUI-based process automatically creates a Bot Service in the Foundry account resource group. Additionally, you’ll require the Foundry User role on the Foundry project.

Let’s assume we have a new Foundry account, PNA is enabled, we got the permissions mentioned above, we’ve created a project, and we’ve created a new prompt agent. In the top right hand corner we have pretty white button that says Publish. The option we’re interested in is the Teams & Microsoft 365 Copilot option as seen below highlighted in red.

If you’ve disabled inbound PNA on the Foundry account, you’d see the error I posted above when you click this.

First step in publishing to teams

In the next Publish to Teams and Microsoft 365 window you’ll be prompted to enter some information. Many of these inputs will be used to populate properties in the Agent 365 Agent Registry for the agent and will be used for the manifest file that is created for sideloading into Teams or pushed to the organization’s Teams App Store.

Populating information about agent

Notice that the Azure bot services field is populated automatically. This is because unbeknownst to you, clicking the Publish button created a Bot Services resource in the same resource group as the Foundry resource in the background. This is where the requirement for permissions over Bot Services comes into play. This behavior the requirement for a Bot Service resource may be going away (hooray) at some point in the near future.

Bot Service automatically created

You begin to see why this process isn’t very usable for an enterprise. This probably just triggered a crapload of Azure Policies you’ll now have to deal with around naming conventions, missing tags, PNA enabled for the Bot Service, and likely others.

Next, you’ll click on the Next: Publish options button. This will advance you to the Publish options screen. In the Direct Publish section you can choose to install this Teams app for yourself (essentially sideloads it from my understanding) or you can install it for the entire organization. The latter will trigger a request process in the Microsoft 365 Admin Portal in the Agent 365 Agent Registry window as we’ll see a bit later.

The Download & customize section allows you to download a ZIP file with the generated manifest in it if you need to further customize what the workflow has created.

Publish to Teams for just you or the entire org

I complete the workflow by clicking Publish.

Before I jump to the next section, I decided to be nosey and see if I could determine the endpoints being called to process the various API operations. It turns out that there are specific API endpoints behind the Foundry Portal that trigger the backend orchestration of the various API calls we’ll perform when we do it programmatically in the next post. Some of the endpoints of note are:

  1. Press Publish to Teams and Microsoft 365 button
  2. Press Next: Publish Options
  3. Press Publish

If I pop over to the Microsoft 365 Admin Portal I can see the agent is pending approval in the Agent 365 Agent Registry where I can publish it to the Teams store to make it available to the wider organization I can outright reject it.

Before approving it, I can explore the information populated for the agent within the agent registry. I can see that the information I populated within the Foundry GUI populated the information in the registry. I also see that it has been assigned an Entra ID Agent Identity created from the Entra ID Agent Identity Blueprint created for the agent. I can also review permissions the agent requires (this will be primarily OAuth permissions via Entra as far as I can tell), any tools it has (haven’t messed with the Agent 365 Tools Registry yet), and information about the security of the agent consolidated from Purview.

Registry details of agent awaiting publishing

When I hit the Publish to store button I trigger the final process. Here I can choose which users or groups can install the agent in Microsoft Teams and which have the agent pre-installed. I can apply an Agent 365 Policy Template (requires Agent 365 license) which can enforce specific conditional access policies, give it Entra ID access package, and assign custom security attributes (custom security attributes are an underused feature so I’ll dig more into this in future). Lastly, if the agent is requesting any permissions I’m able to accept them or deny the push to the store.

After I run through the workflow and publish it, I get the image below.

Agent publishing is complete

It can take a fair amount of time for the agent to appear for your users in the Teams store for your users to install. Sometimes it’s 15 minutes and sometimes it seems like forever. Typical joys of Teams caching and Microsoft’s seemingly random timers. Eventually the agent will appear as a Teams app your user can add.

Agent available as app in Teams Store

Once the user adds the agent they can begin chatting with it. The first chat they send they’ll need be prompted to sign into Foundry. This sign in is required to validate the user has appropriate permissions to call the agent.

User prompted to sign-in to Foundry

If the user doesn’t have the Foundry Agent Consumer role or equivalent permissions on the Foundry project the agent is in the user will receive an authorization error like the below.

Once user is granted the role on the Foundry project, the user can now converse with the agent!

Authorized user conversing with the agent

At this point you’ve got an agent created in Foundry, which has an entry in the Agent 365 Agent Registry, and has been published as a Teams to the organization’s Teams store for authorized users to consume. Seems so simple right?

The reality

Now all of that went so perfect because the product group wrote some great orchestration that got executed automagically via calls to specific endpoints in the Foundry Portal. This only worked so perfectly because inbound PNA was enabled. While inbound is a big piece, there were also outbound network flows from the agent to a variety of endpoints I’ll walk through in my next post. In this setup we didn’t lock down outbound traffic so our traffic that is sent back to Teams (which is a separate initiated flow where the agent runtime initiates it) wasn’t blocked or filtered in any way. Effectively, we had something similar to the picture below. Public network access for inbound and outbound traffic is grand ain’t it?

PNA enabled and no outbound traffic control for agent

If we look at the end to end publishing flow, it looks something like this flow diagram.

Workflow for publishing an agent

The harsh reality we face with this GUI experience is there are way too many show stoppers to ever use it in a real enterprise environment with even basic security controls. That will lead us to the more complex path of programmatic publishing, which does come with a unique benefit in certain configurations for the Bot Service requirement. I’ll explain that in the next post.

Summing it up

What I want you to take away today are GUIs are pretty, but GUIs rarely work in a real enterprise environment because GUIs tend to rely on simple environments with “less” restrictive security controls. There is a lot of complexity to this workflow today and unrestricted network access can be very effective at hiding those complexities and making a really clean GUI-based publishing experience.

There are other points worth paying attention to which will be relevant in the programmatic experience and are just good to let sink into your brain in general:

  1. Today, when publishing a prompt or hosted agent via the GUI process a Bot Service will be automatically provisioned.
  2. Users calling the agents must have appropriate permissions to call the agent, even through Teams. Using the built-in Azure RBAC role of Foundry Agent Consumer can be an easy path to accomplish that.
  3. Get familiar with Agent 365. Whether you like it or not, you will be interacting with it if you’re building agents in Foundry or doing anything with any agent in the Microsoft clouds.
  4. When you see demos at Ignite or any other conference, it’s usually done in an environment where public network access for inbound and outbound traffic is completely unrestricted and the user has Owner or Admin-level privileges over the service they are interacting with. It will also look easy in those demos. Don’t expect that ease when you go and deploy it to your complex regulated environment.

Well, I’m burned out. Time to let the brain veg out with some classic Mr. Bean.