Tag Archives: Teams

Exploring agent development

I’ve been using AI to build software for a while now, including Keepit’s MCP server, a PowerShell module for managing Keepit, Flightmap, M365Mutator, and a variety of other goodies. Recently I’ve started digging into actually developing agents, and this has been an adventurous experience given my lack of experience with most of Microsoft’s developer-platform tools. I thought it would be useful for me to document some of what I’ve learned along the way.

One of the first things I had to get straight is understanding how agents are identified and get access. Within Microsoft’s Agent 365 and Entra Agent ID model, there are three basic access patterns. They differ in whose identity the agent uses and how persistent that identity is.

Delegated agents

A delegated agent acts as you, using your delegated permissions, so it can only reach what you can reach. Its access is ephemeral and tied to the request. If you ask Copilot or Claude to organize your inbox, you’re using a delegated agent; the agent does its work using your identity, governed by whatever policy is attached to your user account. The agent can never do more than your user account can. In the real world, a travel agent is a good example of a delegated agent: she can’t spend more than my credit card limit, and in general can’t do things that exceed my own limits (like sending me to a country where I don’t have a visa).

Autonomous agents

These agents are the type people most often think about. They use their own agent identity, with scoped application permissions, and no user in the loop (although they may be built to require or allow human approval for some actions). For example, a background agent that generates reports on a schedule, or automatically triages support tickets, would fall into this category. For autonomous agents, the policy attaches to the agent identity (or its blueprint, something I’ll talk more about in a future post). Microsoft describes these as “agents operating behind the scenes.” To stay on my travel theme, the rebooking agents that United and Delta operate work this way: they have a policy that controls what the agent may do when there’s a flight disruption, and the agent will make changes to my flights within the bounds of that policy when there’s a delay, cancellation, etc. I may be able to review and approve the change, but I don’t have to trigger it, and the agent’s scope of actions have nothing to do with me as an individual flyer.

AI teammate agents

An AI teammate is an agent with its own Entra user account, which gives it a mailbox, calendar and Teams presence. It takes part in team workflows the way a colleague would, for example in Teams chats. The Planner agent in Microsoft Planner is a good example; I can @-mention it, assign tasks to it which it will try to perform, and so on, exactly as I might work with a real human. Microsoft’s docs say an AI teammate always uses the Agentic-User authentication. Its access is persistent and accumulative, and policy attaches to the agent’s user account. Microsoft’s partner agents from Zendesk, Genspark, Manus and others are deployed this way.

The short version

A delegated agent borrows your identity, an autonomous agent has its own application identity, and an AI teammate has its own user identity. Agent 365 governs all three from one control plane, but the access model, and so the risk profile, is different for each. In addition, you may build, deploy, manage, and monitor these agent types in very different ways, something I’ll have plenty to more to say about in the future.

2 Comments

Filed under General Tech Stuff, General Stuff, Office 365

Office 365 Exposed, Episode 19: Here Comes the New Book!

This episode marks a happy occasion: the upcoming release of the 2021 version of Office 365 for IT Pros. 

editor’s note: we are running a sale. Buy the 2020 edition now, get the 2021 edition for free!

Tony, Vasil, and I talk about the book creation process, why the book’s a subscription instead of a single-priced purchase, how the sausage is made, and why tech editing is so important. We close out the episode by choosing our “favorite” recent O365 feature– you may be surprised to hear our choices.

 

Episode 19, all about the 2021 book!

Leave a comment

Filed under Office 365, Podcasts

Office 365 Exposed, Episode 18: Live from Microsoft Teams

Tony and I had grand ambitions of recording a podcast but, uh, things have been a little busy, what with all the lockdown, working-under-quarantine, and so on. We did something a little different this time– we recorded this episode in a Teams meeting with guests in attendance. See if you can spot the difference!

(programming note: we originally recorded a section planned on the coming death of Basic Authentication in Exchange Online. As Microsoft has pushed this date back until sometime in the happy future, we took that segment out since most of it was us expressing certainty that Microsoft wouldn’t push the date back.)

 

Episode 18, live from the midst of COVID-19-topia

Leave a comment

Filed under Office 365, Podcasts

Microsoft Teams privacy bug: the cat and the camera

As longtime readers probably know, I have a cat. As cats do, he will sometimes jump on my desk.

Pancake, looking majestic

Pancake the cat on his royal pillow

Some of you may know that, because my job entails working with a worldwide team, I often have early-morning conference calls. To make this easier, I have a small workstation in my bedroom where I can work and be near the coffee machine. This machine is set up with a Logitech c920 webcam and a Blue Snowball USB microphone.

Most of you probably don’t know that I tend to pace when on telephone calls.

So picture the scene. I’ve straggled out of bed to grab a cup of coffee, yawn and stretch, and get on a call. I’m pacing around and speaking. Suddenly the gentleman I’m speaking to (my long-suffering counterpart, Tony Sterling, who owns our customer experience team) starts cracking up. “Dude, turn your camera off!”

Sure enough, somehow the Teams app had started showing Tony video of me pacing around in my boxers and T-shirt. Thankfully it was only him. I apologized deeply, turned off the camera, and removed Pancake from the keyboard. After the meeting, I scoured the Teams documentation to find out what the keyboard shortcut for controlling the camera was.

There isn’t one. This made me a little nervous, nervous enough to put a Post-It note over the camera lens so Pancake didn’t accidentally turn on the camera one night when I was asleep or something.

Today I was in a Teams meeting. The cat jumped on the keyboard and… voila… I got a macOS permissions dialog asking me whether Teams should have permission to use the camera. He’d done it again!

It turns out that when you’re in a Teams meeting, hitting a key will act like a mouse click on whatever control currently has focus. By default, the camera on/off button has focus. Try it yourself: join a meeting, switch out of the Teams app and back into it, and hit a key.

This is, shall we say, not a great design. I appreciate that the Teams team has provided keyboard focus selection, which is great for accessibility, but having focus default to camera on/off is a recipe for unpleasant surprises.

Lesson learned: since I can’t keep my cat off the keyboard, I’ll keep my webcam covered.

 

Leave a comment

Filed under Office 365, Oops!

Office 365 Exposed, Episode 10

Tony and I decided to do a special holiday edition of the podcast to celebrate a banner 2017. In 2018, we have some big things planned– but until then, enjoy this episode where you can learn what our favorite new Office 365 features were, hear Tony fulminate about the Teams PowerShell extension, and find out whether we actually believe that Teams will kill off email (spoiler: nope.)

1 Comment

Filed under Podcasts