Luca Spolidoro from the Microsoft Entra AI Innovations team joins us to unveil the new Microsoft MCP Server for Enterprise. We discuss how this innovation allows admins and AI agents to interface with their tenant using natural language, bridging the gap between LLMs and the complexity of Microsoft Graph. We also talk about the technical challenges of token limits, the patented “three-tool” solution that optimizes queries, and the roadmap for write operations and PowerShell script generation. Subscribe with your favorite podcast player or watch on YouTube 👇 About Luca Spolidoro Luca is a Product Manager on the Entra AI Innovations team at Microsoft. Formerly working on advanced queries for Microsoft Graph, he now focuses on enabling AI agents to interact securely and efficiently with directory objects and tenant data. LinkedIn - https://www.linkedin.com/in/lucaspolidoro/ 🔗 Related Links * Microsoft MCP Server for Enterprise - https://aka.ms/mcp/entra Sponsored by: Shadow IT and SaaS sprawl are outpacing IT teams It can feel impossible to tackle these app governance challenges:📦 Entra ID isn’t secure by default💥 SaaS adoption & sprawl isn’t slowing down⌨️ Citizen Development keeps rising (hello, Copilot Studio!)🗑️ Vendors often don’t remove apps after uninstall🔃 Offboarding is inconsistent or doesn’t happen at all🥔 App governance is passed around like a hot potato ENow AppGov Score shines a light on lurking risks, providing a free App Governance Benchmark Report for your Entra tenant. Reclaim control and protect against breach & disruptions. Free upgrade to Standard Tier for 7 days once you get your score. Secure & Govern Entra Apps Now 📗 Chapters 03:36 The Hackathon Origin Story 05:55 What is the Model Context Protocol? 09:22 The Token Limit Problem 15:45 Microsoft’s “Secret Sauce” Solution 19:54 Current Limitations & Future Scope 23:57 Future: Write Operations & Scripts 30:12 Security & Admin Controls 42:43 Security Copilot vs. Standalone MCP 50:21 Getting Started Podcast Apps 🎙️ Entra. Chat - https://entra.chat 🎧 Apple Podcast → https://entra.chat/apple 📺 YouTube → https://entra.chat/youtube 📺 Spotify → https://entra.chat/spotify 🎧 Overcast → https://entra.chat/overcast 🎧 Pocketcast → https://entra.chat/pocketcast 🎧 Others → https://entra.chat/rss Merill’s socials 📺 YouTube → youtube.com/@merillx 👔 LinkedIn → linkedin.com/in/merill 🐤 Twitter → twitter.com/merill 🕺 TikTok → tiktok.com/@merillf 🦋 Bluesky → bsky.app/profile/merill.net 🐘 Mastodon → infosec.exchange/@merill 🧵 Threads → threads.net/@merillf 🤖 GitHub → github.com/merill Get full access to Entra. News - Your weekly dose of Microsoft Entra at entra.news/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00From the latest hacks to cool updates, join the ride, don't be late.
SPEAKER_01Hey folks, welcome to another episode of Entra Chat. Today I have Luca Spolidoro. Is that right? Did I pronounce your name? Yeah, yeah. Cool, okay. Italian name. Yes. I have Luca from the Entra AI Innovations team. I've worked with Luca for many years now and Luca is always fun, knows so much about Graph, especially people working on Graph PowerShell. Luca is Like he knows inside out, like I go to him asking about OData and, you know, various queries when I'm stuck.
SPEAKER_01Today, we're going to talk more about something special called the Model Context Protocol Server that we launched. And Luca was the PM for it. Welcome to InterChat, Luca.
SPEAKER_00Yeah. Hey, Meryl. Very happy to be here.
SPEAKER_01Yes, so good to have you here. I should have had you on earlier, but we wanted to wait till we launch this so we can have this chat, right? Cool. Awesome. Do you want to tell us a little bit about yourself, how you came to be in the team?
SPEAKER_00Yeah, yeah. So before I was working for advanced queries, that is a part of Microsoft Graph, especially for directory objects where you can add, you can use more advanced capabilities for, for example, filtering, counting and sorting objects in the directory. Correct. And then when we had the SFI initiatives where the team was fully concentrated on security,
SPEAKER_00for me as a PM, I didn't have a lot of things to do. So I was finding other opportunities around and I saw a security co-pilot that was using AI to transform natural language into Microsoft Graph Query. I thought that was Very interesting. And I also thought the way that we were doing things before was not optimal and they had new ideas. So I started bugging the team, say, hey, can we try this?
SPEAKER_00Can we try that? I did some hackathon and that's how I went into the team.
SPEAKER_01Nice. Okay. So, yeah. So for anyone who's written in Graph PowerShell, you had to type in consistency level, eventual, and all those headers. So Luca knows all about it. If we have time in the end, we'll chat about that. But you worked on this whole idea of, just for context, right? So MCP... I'm sure most of people who follow me know a little bit of what MCP is and so on. But let's talk about this whole concept, right? Like how do you tell something in natural language,
just in plain English?
SPEAKER_01Like, you know, how many users do I have in my tenant or how many conditional access policies I enable in my tenant? You tell something in English and then get an answer which is accurate without having to write code and rest apis and powershell or you know all those things so that's the concept right like how do you make it more approachable for people to work with their tenant and manage their tenant now i remember you worked on this way before all this ai stuff and way before we had mcps before llm or gpt
even became popular
SPEAKER_01like this is like a I think four years, like many years back.
SPEAKER_00Yeah, that was four years back was of my hackathon project where I had this idea when first the first GPT 3.5 was released as an API to use that as a base to transform a natural language query into a series of Microsoft Graph call. And the first prototype, of course, was very pair-born. I was using the few-shot prompt technique to help the AI to
learn about Microsoft
SPEAKER_00Graph APIs, to then understand all data and produce congruent Microsoft Graph APIs. At that time, we didn't even have a function calling, so we could only do one prompt, one query, direct. And then after function calling feature came out, then it was really the breakthrough because with function calling, you let the AI call your transformation as many times as the AI
deems necessary to
SPEAKER_00satisfy the user prompt. So at that point, we were able to do intent breakdown. We were able to have multiple graph calls executed one after another with, for example, the input of the previous call, sorry, the output of the previous call being the input of the next call and do some sort of chaining and all these complex things. that are now exposed through an MCP server. So all the knowledge,
SPEAKER_00all the experiments that we did in these past four years, now they are all in the power of the customer and we are very happy about it. Nice.
SPEAKER_01Yeah, when I first saw your hackathon, like it was so interesting, I went and watched the video in the internal side and I tried as well. But yes, at that time, like, We didn't have access, like even the whole Microsoft Foundry and none of that existed. The LLMs were even not that great as well compared to like the newer ones, especially ones like Claude and so on. So it worked, but it wasn't like this, you know, this aha moment of look, it's doing very complex things.
SPEAKER_01Cool. Okay. So... Explain to us, maybe for people who are very new to this, right? What is MCP? Like it stands for Model Context Protocol. What does it really mean? And why did Microsoft build an official one for calling, you know, into all of graph? It's called MCP for Enterprise. Yeah. So I always keep the name mixed up.
SPEAKER_00So as a company, we are fully invested in the MCP protocol. We've seen GitHub releasing its own MCP, Azure releasing its own MCP,
SPEAKER_01Microsoft Learn has an MCP.
SPEAKER_00Yeah, Learn has an MCP and then clients. So we'll have M365 Copilot being able to add MCP directly that will be released soon. And there's a company really from our AI, Core AI team. we are fully invested. And that means that MCP is the way that we talk to AI application, to AI agents, and we want to empower AI agents to use our product.
SPEAKER_01And before MCPs came, like... It wasn't that intelligent, right? Like you could just chat, ask questions.
SPEAKER_00Well, it was MCP enabled the fact that a function that you could expose to an AI application or to LLM could be exposed through a third party. So before you could have functions, but the function had to be written inside the AI application. And there was no way for API provider or content provider to release their own interface to their own product to other third-party
applications or third-party agents.
SPEAKER_01Yeah, when I first used the N365 Copilot also, I was able to ask questions and I asked like, you know, what is the maximum number of conditional access policies you can have in a tenant? And it was able to find the answer. By browsing probably. Yeah, it got the answer. But at that time, I was like, okay, this is cool. What are the policies that I have in my tenant? So I asked it because I was signed into M365. I thought, yeah, it should, you know, in my mind, it was like, yeah, it should be able to figure out. But then I realized until someone in the dev team for M365
Copilot goes and does
SPEAKER_01some additional work, it was never going to be able to call into my tenant and get me things specific to my tenant. So So I was like very disappointed. I was like, okay, we had to wait for someone at Microsoft to write and, you know, add the feature to it by Copilot. And then I thought like, that means like third party LLM. If I like Claw, if I like ChatGPT, there's no way they would even be able to connect. And like, it felt very complicated. So I sort of gave up on that when I first,
you know, two years ago when all of this started.
SPEAKER_01So it felt to me like, okay, LLMs are good. They're a bit of toys to just ask questions and maybe format English, make your, you know, when you're writing emails, make it more polished and things like that. So that was where I put them at the beginning. But then things changed, right? With MCPs, as you're saying.
SPEAKER_00Yeah, LLM by themselves, they're great at language stuff, but when you couple them with functions that can do actions, NCP became the de facto standard, the community, AI community. really took on the standard and there are already thousands, tens of thousands actually of MCP servers out there that any MCP client that follows the latest standard can connect to.
SPEAKER_00And our MCP server of course, follows the latest standard for OAuth and authentication. We want to give the power to the admins to choose if they want to enable this because we understand that there are some concern, of course, giving access of the tenant data to random LLMs. And so we want to have the admins to really decide and have granular control of which kind of data is the MCP server allowed to access,
SPEAKER_00which kind of operation they would like to access and so on. So we really designed this system to be fully controllable and fully auditable and secure, of course.
SPEAKER_01Nice. Yeah. So that brings in all of the governance and mitigation, right? You can safely use and deploy MCPs for Microsoft and the Microsoft enterprise in the tenant, but have a lot of governance over who can access what LLMs or what apps can be used and et cetera. So before we come into that, how does the MCP server work? Because I know you've done some smarts. It's more than your average MCP that people might find for the
MCP server for
SPEAKER_01enterprise, you know, the one that uses graph. Can you tell us like what does the standard MCP do? How does it work? And then tell us about the special source that you included in the version that's coming from Microsoft. Yes, so a standard MCP usually have a lot of tools that are specific with certain operations.
SPEAKER_00And these tools are functions that have parameters. And the LLM would need to first fit the tool, fill out the parameters, and then the tool goes.
SPEAKER_01So what happens, let's say I ask a question, right? Let's take an example. Like if I ask how many conditional access policies do I have in my tenant, right? So that's my prompt. Can you explain like how it works with MCP?
SPEAKER_00For a normal MCP server, that would... need to choose the conditional access count or list tool. And then with that, the conditional access tool would execute the Microsoft Graph API that has in its code, its own code that is programmed manually. And then return the response to the AI that might not be optimized for the actual
SPEAKER_00question because you ask the count, but if the available tool was only the least one, then it would return the entire list and then the poor LLM had to count by itself how many are there. And it would waste tokens as well, right? Absolutely, waste tokens there. But the problem is that with surface like Microsoft Graph APIs, you will have an explosion of tools and various parameters that will definitely get
SPEAKER_00the LLM confused.
SPEAKER_01I think how many APIs does Graph have? It's very hard to count.
SPEAKER_00It's like gazillions. And it also depends on how granular would you expose your tools. I think the GitHub MCP server has something around 84 tools. The Azure MCP server has 174 tools. Wow, yeah. So those are already over the 128 recommended limit for choosing the correct set.
Because every time I ask a question, when you use with MCP, what happens is the client, right?
SPEAKER_01If I go into like VS Code or Cloud Desktop and ask this question, it sends my question to the LLM. And because the agent is dumb, right? It is just like sending stuff to the LLM in the sense the client. So I ask a question, it sends that question as well as all the tool, that entire list of all the tools is sent to the LLM. With all the descriptions that are in the context window.
SPEAKER_00Right. Right. Many of the MCP servers today would cut into your context window for the LLM almost by half. And so the LLM to respond only has half of the context window to actually reason and produce a response to you.
SPEAKER_01So in that way, Graph, it was out of the question to have all the Graph APIs individually as a tool, because I think we'll just finish the context window itself, just sending the Graph list of APIs. And really, realistically, over a certain amount of tools, the LLM is not able to today to really discern which one is the best one for picking the right one and
SPEAKER_00filling out the right parameters and so on. And we've seen this issue, this very issue in security copilot, because security copilot will have not just the tools for Entra, will have the skills, they're called there, for Sentinel, for Defender, and so on. The customer can even add their own custom tools over their own custom skills. And they had to pick among like 700 of them.
And they had to build a custom orchestrator to really go and pick the right tool
SPEAKER_00because the LLM itself was too confused to choose among the 700 ones. So how did you solve this? We solved all of this with just three tools. So by using something called few shots prompting, we can use intent extraction from the customer question plus the chat eventual that it has to have the LM really understand what is the question that the customer is asking. And formatted in a kind of normalized way.
SPEAKER_00So if I were to ask, how many users do I have in my tenant? The extracted intent will be count the number of users. That's it. And then we take that phrase and we use embeddings to compare with semantic similarity. on a database of samples that our product team, our API teams are maintaining with the extracted intent, so our retrieval text and the corresponding Microsoft Graph
query to satisfy that
SPEAKER_00intent. So in this case, the count number of user will get referred to the user slash dollar count query. And then we return to the LLM, the top five most similar intent by semantic similarity. And at this point, the LLM reason, because we know that retrieval, our RAG, the retrieval augmented generation is not reasoning. So we get the opportunity for the LLM to go through the examples,
SPEAKER_00see which one is fitting the best and come up with its own. So we do have some parameters in these examples We might not have the full list of properties that we want to select, but the LLM can reason through that and say, oh, look, this example is the one that is the most appropriate. Oh, but I need to add this property that I know because the LLM is pre-trained on
SPEAKER_00Microsoft Graph documentations, knows roughly the Microsoft Graph schema. It knows OData very well. We use that pre-trained knowledge. to help when something is missing in our rack, in our database of examples. And then we also have the third tool that is helping the LLM to explore the current Microsoft Graph schema to get a list of, for example, properties for an entity or the properties of a complex properties
to really understand what kind of items may be missing if the rag examples are not good enough.
SPEAKER_00So we have that covered too.
SPEAKER_01Right. Okay. So that's a lot of magic sauce in there. Yes. And that's why it can... And it's patented, this system. Cool. Nice. Yeah. So that is why it is able to figure out what API is useful than just being given the whole graph API and then, you know, it trying out on its own strategy. Based on the training that it had before, you are now augmenting that with... Absolutely.
SPEAKER_00And that was you were using with Loca, right? Yes. You were allowing the LLM to come up with the query by itself. But the short comments of those that all the new APIs that were after the knowledge cut off, were not present. There was something in the documentation that frankly was too detailed or too nuanced for the LLM to understand. While we as API owner, we know best what are the optimization and what are the most
efficient way to
SPEAKER_00execute a query. And so all these things are added into the LLM grounding knowledge so that the LLM can pick the best and generate the best query for the question. 100%. Yeah.
SPEAKER_01So that way, and if you, in your, that rag that you have of all the existing stuff, you're continuously updating it, right? And expanding it to, today, does it work for everything like Intune to... other services today we do have uh we have a focus on entra apis we already have in tune apis there but they're only in our dev environment to finish testing we we
would like to import into we would like to import windows auto patch and all the
SPEAKER_00other workload from microsoft graph they would need to sign off, of course, to be on MCP server because we would like to give the power of choosing to expose their APIs to AI agents to the workload themselves. We, as Entra and Micrograph, we always need to ask for permission to expose stuff for AI agents because not all APIs are AI ready.
SPEAKER_00There are certain APIs That might be okay for scripts and normal application. They are okay to, for example, download a lot of data and do filter at client side, but this is absolutely not sufficient for an AI. We had some experiments and tests back then. We were trying to send 50 users in the context window.
SPEAKER_00with all the properties selected. And if you know a little bit on graph, you know that the user object has a lot of properties, very verbose. It has all the details for the license assigned to the user, a lot of IDs in its schema. So even just 50 users, window of GPT 4.0, that is 128K tokens. But for GPT 4.1, that has a 1 million tokens context window, it was okay.
SPEAKER_00And then we want to see with all this JSON that we put in there, if it was able to count how many users were there without the OData count property. And we had disastrous results because the LLM was really confused on the JSON format on all the parentheses open and close. Yeah, where does the user start? One user finish. Yeah, exactly. One start, the other end. So, like, we had results that were saying after giving 50 users that were
SPEAKER_00three users in the tenant or something like that. So we really need to be careful on the API quality to be able to provide a good answer because one of the biggest detractors that we might have is that if a customer will ask a question and then maybe we come up with the right query But then the data is too much and the LLM can interpret it in not a very good way and returns an answer that is not correct.
Yeah, it's better to not get an answer than get an incorrect answer, right?
SPEAKER_01It's better to say the MCP is, you know, it can't give that answer. And today the way you control it through is through permissions, right? You are curating what permissions you are exposing and And then that means you're reviewing the APIs as they come on board, doing all that work to do the RAG and improve that. So it's not just like throwing together an existing set of APIs and just giving people, hey, here's my MCP, which is what the open source version of the MCP did.
SPEAKER_01It just... Just give all access to the API, which can result in, like, you know, it's good as a toy to try and test things, but not something you can really rely on when you're building things. And that is even more important when we are going to enable write operations,
SPEAKER_00because for now, we only support get calls, but we are working today. Well, not today, because almost Thanksgiving. Yes. As soon as Thanksgiving is finished, we will start working on right operations to provide a good level of confidence for the customer that when they ask to add users to a group or create new users and do these kind of batch operations, those are all executed reliably.
SPEAKER_00And we are concerned a little bit. for operation that would involve hundreds of objects because the LLM would have to generate each individual call to then get executed. And so we're also thinking of implementing something called code execution that Anthropic recently released as a part of the MCP standard where you could make the LLM generate a script instead
SPEAKER_00And then the script will call the MCP tools. So in this way, we will give the power to do for loops, to do joins that are complex for an LLM to really understand if you have a lot of data. Complex and the token, right? Avoiding all the token issues and limitations that we are currently facing. Now, the LLM today,
like the newer model, have 200,000 tokens context windows.
SPEAKER_00Some of them have 1 million, 2 million context window. And we know that six months, one year, we'll have infinite context windows LLM. But today, we have to deal with this. And we really don't know.
SPEAKER_01Yeah, we don't know how it will evolve, right? Whether it will plateau at some token size. And there's time as well. Like you had to wait for all that. Like a simple example is I was thinking what are the ways we can replace PowerShell, right? So I was like, whenever something I had to do, I was like, let me use MCP for this. So I tried initially things like adding my version of the graph MCP and then adding an MCP that could write to the file system. And I said, you know, get all my users and write,
SPEAKER_01create a CSV because that's a very common admin task,
SPEAKER_00right? Like creating various reports with, you know, various properties and writing it to a CSV.
SPEAKER_01That failed miserably because it has to, like, all the queries, the data has to go back to the LLM. And then the LLM has to call the other MCP and then write it. And even with a small tenant with 30, 50 users, it would, like, take forever. And it was not really reliable at all because the LLM is sitting in the middle and everything is going back and forth,
SPEAKER_00right? Like every object and all the properties. But we have a solution. also for this one, because you are talking about now generating PowerShell scripts and the system that we architected that would return to the LLM Microsoft Graph call can be tweaked to instead of returning Microsoft HTTP endpoint, can return PowerShell commandlet. So you may have noticed that in Graph Explorer, You can have any call with the various code snippets that you see.
So you have the HTTP endpoint, the C-sharp SDK, PowerShell SDK, and so on. We are using the same system that converts automatically an HTTP endpoint to a PowerShell SDK to have this experiment under the hood that I can't wait to release,
SPEAKER_00where we could generate entire PowerShell scripts for the customer to just copy, paste and use in their own environment. And this will be grounded with all the work that we already did for the HTTP APIs. So this will be really a minimal effort for us to enable this. And I think it will be a very good value added for customer.
SPEAKER_01I see. It will be very useful because like half the time a lot of us admin spend is... converting from the REST API ways to PowerShell and doing the whole splatting and all this back and forth sort of thing, trying to understand PowerShell for people who are new to PowerShell. Yeah, that will be really cool to see that coming through. Let's take a quick pause to talk about AppGovScore from E-Now Software as seen on intro chat.
SPEAKER_01If manually managing risky apps in Entry ID feels overwhelming, this free tool gives you instant visibility into your app risk profile. In minutes, you'll get a benchmark score and insights across 24 key checks, plus a free seven-day upgrade to identify specific governance gaps to take action on immediately. So take the stress out of keeping Entry secure. Visit appgovscore.com and click try for free. That's A-P-P-G-O-V-S-C-O-R-E dot com. Cool.
SPEAKER_01So let's jump into the admin side, right? Like now my devs asking to use the MCP. Before we come into that, just for the release that is there in public preview today, you cannot use any MCP client, right? Like the promise of MCP is... You have an MCP server and you can plug it into any LLM or desktop client that works with the MCP protocol. So that means there is Cloud Desktop,
is even M365 Copilot or Cursor and VS Code and various sorts of clients could be
SPEAKER_01used. People use, you know, the CLI as well. Like Gemini, using Gemini CLI to call an MCP and so on. So there are various clients, et cetera, that are supported. But the MCP server that's in public preview right now doesn't allow any client, right?
SPEAKER_00Yes, so the biggest restriction that we have today is that we don't support the dynamic client registration that is a DCR. And dynamic client registration is a feature where the MCP client would automatically get registered into the Entra tenant with a set of permissions where The admin really didn't have full control over it.
SPEAKER_01Yeah, and that means who just heard you say that go like, what? Some MCP is going to add a new app into my tenant? Really decided not to support this standard and instead to support another standard
SPEAKER_00that is probably going to replace that. It's called client ID metadata. So with that standard, we will be able to have a more secure environment and have the opportunity to register ad hoc with these clients. So today, what you will need to have is to, first of all, register an app. on your own tenant.
SPEAKER_01So just before we get into that, right, so the way the current world works with DCR and, you know, Chat Cloud and, you know, all the other things that support them, and a user is using a new MCP, like just at runtime, like even VS Code supports it with various other MCPs, just not for this one, or Entra doesn't, right? It's more an Entra thing than that. So when someone uses an MCP that needs to auth,
SPEAKER_01just when I add the MCP and I sign in, it goes and creates a new app In the tenant and then asks for whatever the permissions, et cetera, that's needed. And that gets dynamically added and it works that way. So that is the typical flow. Every new MCP and I think even a new instance of an MCP that you configure in VS Code. Let's take VS Code as one example. It would create like a new client ID and a thing on the
enterprise server.
SPEAKER_01That's how you sort of differentiate and you would see it show up. And you would need admin consent, of course, to create these applications.
SPEAKER_00To add them.
SPEAKER_01So tell us what you did, what is there with VSC? That's not there, right? So it's not supported by ENTRA, that DCER, Dynamic Line Registration Protocol, or even the newer CAMD one is not supported by ENTRA yet. So today with ENTRA for this MCP, people will still continue doing what they already know about how to manage clients and give permissions to resources. Yeah, if you can explain.
SPEAKER_00So there are two main ways. One is special for Visual Studio Code because Visual Studio Code has a particular handling on ENTRA authorization and authentication. So with Visual Studio Code, you could provision the app ID of Visual Studio Code in your tenant. At this point, your tenant knows about Visual Studio Code and you could
associate the permissions
SPEAKER_00of the MCP server, the one that you want to grant to the Visual Studio Code app that is there, actually the service principal that is now registered in your tenant. And after you do that, you can add the MCP, configure the MCP server in Visual Studio Code. Visual Studio Code recognize that is already present in the tenant. And so it would continue the login flow normally. While for ChatGPT or Cloud,
you actually need to specify a client ID, an alternative client ID. And that alternative to client ID could be a new application registration that you are doing.
SPEAKER_00Like a custom app that I... Yeah, a custom app, or you can reuse... an application that you already have with adding two things. One is the reply URL specific to ChatGPT or Cloud. And of course, the permissions for the MCP server that are different from the permission to graph. They are different in sort of, they have a prefix.
SPEAKER_01Yeah, that's interesting thing. Like why is that? Why couldn't I just say directory.read.all and
SPEAKER_00There are all these graph permissions, right? Why is now there are new permissions called mcp.directory.read and mcp.user.read and all that? We wanted to go with that route first. We wanted to have the standard graph permissions and then only a new permission to access MCP. We didn't use that for two reasons. One,
SPEAKER_00it's technical, is because our login system still doesn't support sending the scope that one is for graph, one is for MCP, to one application that is our MCP server, because our MCP server would need these two scopes within the graph scopes and the MCP scopes to be present. And that are called audiences. So our login system still doesn't support sending multiple
audiences to a single application. And the second reason that is actually more practical is because we would like the tenant admin to really choose if they are going to reuse an application that they already have,
SPEAKER_00that have granted graph permission, not to give broad access to everything they have, but we wanted the admin to really say, okay, it's a new thing. I shouldn't really just allow NCP in its totality. But I need to think and see through and decide which granular scopes I can give to the application to satisfy the least privileged principles and so on.
SPEAKER_01So that one, if you didn't have that, if I had, say, for example, I had a Salesforce app or some other app and I had given it user.read.all and various permissions for that app to work. If you didn't introduce this new MCP, then whoever wrote the code, they could potentially call the MCP, access to the MCP,
SPEAKER_00right? If you just add the MCP.access to that application, they could call MCP on all the graph permissions.
SPEAKER_01All the endpoints that they already have permission. They already have permission for. As the admin, you didn't really consent to that when you initially gave it permissions, right? Exactly. So now there's a lot more granular control for admins to decide. There is MCP and I'm only going to give certain apps access to it. Just because they previously had user.read for the app doesn't mean they can use that with the MCP.
SPEAKER_00Because you need to understand that everything goes through an LLM. And we know that many algorithms are not okay with this. So maybe they will be okay if the list of apps are going through an element, but not the list of users, because the list of users can contain PIIs and so on.
SPEAKER_01Yeah, like if I have PowerShell, right, and I'm using PowerShell, which has a lot of permissions already, and if it was just that other way where I just gave one MCP permission scope to PowerShell client, then suddenly now it can call all the permissions that's already granted to PowerShell, which you as the admin, it was not the intent when you gave the PowerShell access to that client. Cool, okay, so that makes sense.
So it's not like it's just enabled in all tenants and everyone can start using MCPs.
SPEAKER_01The admin has to consciously.
SPEAKER_00So first of all, you need to purposely provision the MCP server service principle in your tenant. And that will grant the permission of associating permission to another app. And then you are going to create your own app or provision Visual Studio Code to then associate those permissions.
SPEAKER_01Okay, so there's a lot more control than something that a lot of had been saying, like, oh, this got turned on in my tenant and I need to do work.
SPEAKER_00Yeah, we know it's not plug and play, right? We know it requires a little bit of thinking and we know that this friction would not increase our usage so much, but we really thought through it. We prefer to make it more secure on the safe side, not to enable this by default, not to surprise any admin with access that they didn't grant.
SPEAKER_00The operation to enable MCP are straightforward. Their server, other clients, associate the permissions, and they have full control.
SPEAKER_01That was most important. Right. And so all of this, getting the permission, granting it, and then the admin can also decide, can they decide who of their users can use MCP?
SPEAKER_00So on that grid test, probably can, because you can consent for not all principle, but for, you know, can give the output permission grants to certain users. But I think if you're an admin, if you do an admin consent, it's for all.
SPEAKER_01Yeah.
SPEAKER_00Yeah, but... I don't know if a user can ask for permission today. We would like to have this granular control where you also have incremental consent. So maybe you start with just the basic permission. And then as soon as you start asking questions, if you don't have permission to ask that question, you will get a prompt saying, okay, ask your admin questions. to grant consent for you specifically for this scope so that
next time you will be
SPEAKER_00able to, you know,
SPEAKER_01And today, if admins want to do like one group of users, one permission for MCPs versus another group. And they can create custom apps, right? Like they can say, this app has these permissions and I'll give to, you know, my IT team, which might have a lot more versus to some dev team or like some custom app or another agent. Yeah. create a different app and then give the permissions scoped only to that app. And then also go to users,
blade for that service principle and then limit who can use that.
SPEAKER_01And they can also use conditional access.
SPEAKER_00for establishing who can access. Oh, nice. Yeah,
SPEAKER_01because these apps will show up in, the app that they create will show up in conditional access. And yeah, that's even better, right? You can say, use it only within this network and so on. So you have a lot more visibility. And then logging, all of that is included. I saw in the, like in the very first page itself, all like the audit logs, what gets logged, how it's logged is all included in there. So you can monitor for that. Cool. Nice. So there's lots for admins compared to like, you know, learn MCP.
SPEAKER_01I have no control. Anyone can use it and access it. So with this MCP server, there's a lot that the admins have control over and choose how they want to allow it within their tenant. when it comes to, you know, this usage. Now, security copilot also has this feature, right, where I can ask a question and it will give the answer. Is it calling your same MCP when that happens, when I ask? Because a lot of people will get this E5 license and now
suddenly they can go to security corporate and ask questions and they're like oh I don't want this hassle of you know doing all this VS code and setting it all up I just want to open the browser and you know ask a question I have you know now that they have which gives
SPEAKER_01SCP compute and so on can I Just use that? Is it going to be using your new MCP?
SPEAKER_00Yes, so we have planned to rationalize all of our integrations with the security copilot because before we had to add code in the security copilot code base to do all this operation and it was kind of duplication. Now that we have the protocol that allows us to hold our part of the code and be separated with the security copilot itself, We will do that because it's much more efficient.
SPEAKER_00It will allow us to iterate more quickly. And so the answer is yes, definitely customers can go with security copilot and use the same feature that our NCP server has. We will expose the similar features in the Entra portal with the embedded chat. And now the difference would be, why would I use security copilot if I can also have the MCP server for free? Because our MCP server is free.
SPEAKER_01You still need to pay for VS Code or GitHub Copilot.
SPEAKER_00Yeah, but also that is...
SPEAKER_01There is a free tire.
SPEAKER_00Yeah, yeah.
SPEAKER_01This is something like what you're speaking today. Anyone can go to their tenant and use VS Code in your dev tenant. Like I would say every admin should 100% try it in their dev tenant. Because this is a big part of what I see the future of a lot of the admin work. that will happen. And there's no cost, right? Like VS Code, GitHub Copilot, just with a free tier. I think there's a daily token limit like they give for free. So you can just go in and set this up,
try asking questions, and it works. But the more you ask, it'll hit the limit for the day and then you need to pay.
SPEAKER_01But paying also is like, what is it, $15 a month, I think? Something like that. Yes, that is very little.
SPEAKER_00But my point, it was... I wanted to do earlier is that with Security Copilot and Entra Copilot, you will have a full embedded solution that is not just talk with MCP. You will have also other MCP that will be fully integrated into the chat, like the MS Learn MCP that could be used as fallback when you ask questions about how do I do things in the Entra portal.
The LearnNCP could also be used to browse the current documentation to come up with
SPEAKER_00new queries as well. And Sentinel and other things as well, right? And also like when you ask a question, there are better ways than always graph.
SPEAKER_01Like if you can do a KQL and, you know, get to that same data, like you can query and do various, you know, snazzy things, which... In Graph, you'll be like writing a massive script to do. And in Copilot, it's all integrated. So it can pick up the best thing to answer your question and get you the answer like, you know, a lot faster than giving up or, you know, taking a long time. With just only Graph.
SPEAKER_00Graph MCP is just a part of the piece that you want to enable with the AI integration in Entra is the fundamental part because only with Graph, you can do writes. You cannot use KQL, you cannot use any other thing. So that's why we started with Graph. We started and trying to make that very, very reliable and solid. so that we could add all the other parts to really have a complete system to chat
SPEAKER_00and use agents. Because frankly, chat is just the initial scenario. We would like to have full-blown agents that are going to create actions and basically replace the admin jobs for all these kind of complex operations.
SPEAKER_01Yes, I would rephrase it as like taking away mundane things, right? Like when I was working as an admin, right? Like we would do an MFA rollout and then the stakeholders would come and ask like, okay, I want a daily report of, you know, how many people have registered, how many people have this thing, then like various different things and send me this report. Because When they did this big launch and they want to know that, oh, they're doing a passkey rollout and they want to know who
hasn't set up the initial
SPEAKER_01prerequisites before they start enforcing. And then every day, like you need to, as an admin, go, you know, maybe you write a script and just, you know, run it and take that and send it to them. And like, then they might ask some other question about, oh, why is this group this and why is this other use of that? You can now use an agent. An agent can eventually do a lot of those mundane tasks, like just reporting to people and so on. And then you are doing, you're free to think and do,
SPEAKER_01you know, the actual admin work of enabling and securing the tenant and things like, you know, routine things, which didn't really add value to your work. I feel a lot of that you can, in this future world, you can get done a lot faster. Like even now, things that took so long in PowerShell, et cetera, to do with LLM, it gives me at least a good starting script. And then I can refine it because it doesn't always get it right. Like it can just do parts of it. So for me, that's where I see a lot of this value of
moving you know all these basic things out to other admins to other like agents and llms in the future so we can focus more on okay my conditional access policies itself is a mess right you know how do i make it better things like that yeah for that we have specific agents that are targeted on correct condition access policies
SPEAKER_00but as the LLMs would get smarter and smarter, the cool thing about this MCP server is that it's not restricting the LLM to really think through which queries are possible and how to build the next steps. We feel that As the ILM progress into intelligence and expanded the token limit with the same MCP server that we have today,
SPEAKER_00they will be able to do even more complex and greater things.
SPEAKER_01Yeah, absolutely. Cool. Awesome. So what's your one takeaway to everyone on the MCPs? What should... Someone do, like they've heard this, what's the next thing they should do if they're really keen on trying it out?
SPEAKER_00Definitely go to the GitHub MCP registry and install the MCP server. Provision that in your demo tenant. If you have a demo tenant, play around with questions. Try to understand the limitations because Microsoft Graph has limitations. LLM has limitations. So it's not that we can do everything. But the admins get a good grasp of what's possible, then start building and make your life easier and make your job easier.
SPEAKER_01Nice. And yeah, demo tenant is what you can do today. But because this is an official server from Microsoft, you can very well use it in your production and other tenants. This is a production.
SPEAKER_00Still a private, sorry, public preview. Public preview. But it's officially supported as any other public preview. And we'll go to GA soon.
SPEAKER_01Cool. Awesome. Yeah. So it's very, very exciting time to see, you know, the birth of like a new service from Graph to MCP. And I really like the part that admins have a lot of control over how it's getting deployed and they can use all the things they have today with conditional access and service principles and users and deciding who can do what. I think it's a good A step before it's suddenly like available to,
SPEAKER_01you know, all sorts of clients and people to use. And as admins and intra stakeholders, it's a good thing that you can start getting used to. And I think when you go up the level, like if you are an intra, like a manager managing a whole team and you don't have time to write PowerShell scripts and things anymore. You can now easily use VS Code and plug this in and things you had to ask someone to run a script, etc. You can now try to use LLM to use it yourself and get the answer.
SPEAKER_00And not just that. I think this is also... very, very useful for developers that wants to learn about Microsoft Graph, wants to learn how to construct queries because this system, it will not just return data, it would also return the query that is used to return data. So if you ask, hey, what's the query to do this, it would tell you with a very reliable grounding data. So if you want to learn Microsoft Graph,
I think this is the best way you can do it.
SPEAKER_01Yeah, I mean, I use it today that way because I build a zero trust assessment and I have the MCP added in my code because when we are testing things, et cetera, right? Like instead of using Graph Explorer, like I can reason through chat and try to make it run things and see the responses that come. A lot more natural way to interact with And then I can convert that to Graph PowerShell. But today I do that manually. So in the future, once you add the PowerShell side of it,
it'll be good when I start getting PowerShell and I can just plug that into my
SPEAKER_01script. So I use it today to help write my script and validate things using the MCP itself. So that's a neat way to just have that MCP on. And you never know, like sometimes when I have some issue with a tenant, And I'm writing script and it doesn't work. And I ask the LLM like, why is this partial script giving this error? The LLM is able to, if I have that MCP enabled, the LLM is able to just call into that tenant and figure out. And then it tells me like, it's because it's a data problem in this tenant or like,
SPEAKER_01you know, what the reason is. And then it's able to give suggestions to my script to improve it. So just by making it available to the LLM, it's like having someone else and they suddenly like are thinking on their own end. giving suggestions and trying it out. So even to write PowerShell scripts, it's a very powerful thing to have on the side if you're dealing with graph because you can get to the right type of graph API query immediately. Absolutely. Cool.
SPEAKER_01Awesome. Thanks so much, Luka. This was really fun. And yeah, we waited so long to record this one because we wanted to do it after we hit public preview. I need to bring you on for another day to talk all about why do we have this consistency level eventual and all this stuff in Entra. I think that it's a good deep dive into how how the underlying architecture is for graph and why things work one way and not the other and so on. So I want to bring you on.
SPEAKER_01Maybe in the future we'll do one to talk all about that. Cool.
SPEAKER_00Thanks so much. Thank you for having me here. Cheers.
Microsoft is moving millions of users off SMS and onto passkeys, and most admins now have to decide which kind of passkey each group of users should get. Nishant Kaushik, CTO of the FIDO Alliance, the industry body...
AI agents are arriving in every Microsoft 365 tenant, and the questions admins ask first are what they cost to run and what it costs to secure them. In this Workplace Ninjas US special, four of the event’s speakers...
Most SaaS vendors connect to your tenant with one multitenant app and one credential, shared by every customer. Kelvin Tegelaar, founder of CyberDrain and creator of CIPP (used by well over 10,000 MSPs), sees it from...
Most Conditional Access gaps aren’t exotic. They come from reading policies the wrong way: as firewall rules with an “allow”, as a list of platforms that seems complete, as an MFA exception for the office that made...
Most tenants have the same problem: hundreds of app registrations and service principals, client secrets that were set to expire in a hundred years, permission grants nobody remembers approving, and test tenants that...