Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Entra.Chat

Entra.Chat artwork

If You Manage Entra Permissions, Watch This Before Deploying Agents

May 9, 202645 minAudioEpisode 58
ShareXLinkedInFacebookWhatsAppEmail

Microsoft Entra Agent ID Just Went GA Here’s What You Need to Know About Agent Permissions If you’ve been waiting for the dust to settle on Microsoft Entra Agent ID before diving in, the wait is over. Agent ID hit General Availability on May 1st, and in this episode of Entra Chat, Erin Greenlee, a PM in the the Entra AuthN team joins to break down one of the trickiest parts of the new model: how permissions actually work. The three-tier model you need to understand The biggest mental shift with Agent ID is moving from the familiar single app registration model to a three-tier hierarchy. Here’s the short version: * Agent Blueprint → the template for your agent. Think of it as a souped-up app registration that lives in one tenant and defines how the agent behaves. Every agent needs one, even if you’re only ever creating a single instance. * Blueprint Principle → the identity that represents the blueprint inside each tenant it’s deployed to. This is the middle tier, and it has a superpower: permissions granted here cascade down to all current and future agent identity instances automatically. * Agent Identity → the actual running instance of the agent. This is what authenticates, what shows up in your tenant logs, and what can hold its own individual permissions on top of whatever it inherits. Required Resource Access is a hint, not a grant One thing that trips people up early: adding permissions to the blueprint’s Required Resource Access (RRA) doesn’t actually grant anything. It’s a signal to admins adopting your agent. A polite list of “here’s what this agent will need to function.” The real grant happens later, either upfront during adoption or dynamically as the agent needs it. Expect agents to lean more on dynamic consent than traditional apps have, since agents evolve and request new permissions as tasks change. Inheritance only works if you set it up Permissions granted on the Blueprint Principle will only cascade down to agent identities if the resource app (e.g. Microsoft Graph) is explicitly marked as an inheritable resource on the blueprint. It’s an easy thing to miss, and if you skip it, your Blueprint Principle grants won’t flow through to your instances. A free tool to visualise all of this Erin built an interactive web app - using GitHub Copilot, no less - that makes all of the above click visually. It has a no-sign-in tutorial that walks you through the object relationships, a permission matrix view, and even generates the PowerShell or Graph API scripts to apply your configuration in real life. No changes are made to your tenant unless you explicitly ask it to. The source code is being open-sourced too, so you can fork and customise it if you want. Watch the full episode to see Erin walk through the tool live, including how permission inheritance works in practice and a real-world debugging scenario that inspired the whole thing. Subscribe with your favorite podcast player or watch on YouTube 👇 About Erin Greenlee Erin is a member of the Entra AuthN team working on AI and Agent ID at Microsoft. She previously joined Entra Chat to discuss app permissions and consent, and she loves building tools that make complex identity concepts easier to understand. LinkedIn - https://www.linkedin.com/in/eringreenlee/ Sponsored by: Find App Access Gaps Before They Break Workflows In Microsoft Entra ID, small visibility gaps lead to outages and delays. Expired secrets break integrations, while unclear ownership and excessive permissions slow access decisions. Teams still struggle to answer: * Which apps access Microsoft 365 data? * Is that access still justified? * Who owns it? AppGov Score helps you quickly identify these gaps. ENow App Governance Accelerator then exposes app-specific credential risks, permission issues, and ownership gaps before they disrupt operations. Start with your AppGov Score, then upgrade to a 7-day free trial to take action. 🔗 Related Links * https://aka.ms/erins-agent-helper 📗 Chapters 01:11 Agent ID General Availability 04:14 The Agent ID Visualizer Tool 05:35 Defining the Agent Blueprint 08:06 Understanding the Blueprint Principle 10:57 Agent Identity Instances Explained 13:37 Required Resource Access (RRA) 24:07 Inheritable Permissions and Cascading 30:18 Applying Changes with Scripts 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.

Intro chat with Merrill's life Digging deep where techs thrive From the latest

SPEAKER_00hacks to cool updates Join the ride, don't be late Hey folks,

SPEAKER_03welcome to another episode of Entra Chat. Today I have Erin Greenlee with me. Erin, welcome to the show.

SPEAKER_01Hi, nice to be back.

SPEAKER_03Yes, yeah, Erin is here. She's our second time on Entra Chat. We spoke all about consent and stuff the last time. Erin, you have been working on all of the AI and Agent ID. You're part of the Authent team and you built something really cool. And as soon as Erin shared, I said, yeah, you need to come and, you know, share and explain this. So I'm really, really excited for you to show us what you built to help everyone and, you know, like why you built it, like the origin story of it.

SPEAKER_03Yeah. So go ahead.

SPEAKER_01Yeah. Yeah. That sounds great. Yeah. Thanks again for having me back. I love watching these chats, so it's fun to be on the other side every once in a while and show what I've got. Yeah. I guess backstory, you have probably, or everybody watching has probably seen by now, we went generally available last Friday. or May 1st, which also was my birthday. So that was a double exciting day for me. We went GA with Agent ID and A365's SDK to make agents, all of that good stuff.

SPEAKER_01And so our team has been working really hard on that. And I think one thing about Agent IDs is it's really cool, but it can be hard to Hard to grok when you first start. I know that that's how I felt when I first joined the team. I was like, what's an agent? What's a blueprint? All of that good stuff. And so I had been working with partners and customers, trying to get them all set up for the GA. And I thought, I think there might be a way that one, I can try out like GitHub Copilot and creating my own app through

Github Copilot and like VS Code and all that stuff and maybe quell some of the fear

SPEAKER_01on like what the heck's happening, what are these agents, et cetera. So how do I even like what is the authorization platform for agents, et cetera, et cetera. So I made a little with GitHub Copilot. There's nothing special about me like anybody could have made it. So I think the only thing separating me is like I had the inside scoop on like how agent ID works. So this is a shout out to everyone trying to use GitHub Copilot. You could make this too.

SPEAKER_03Yes yeah that's true like I love tinkering and like you it's like you got superpowers all of a sudden right and you feel like you're new from the matrix and you you just download all these things and now suddenly you can do stuff you couldn't do before absolutely it's yeah it is uh it's intoxicating build something and what you've done is something I've been thinking of like the whole thing even without agents in Entra we have the

permissions and consent and

SPEAKER_03app permissions and delegate and I always try different ways different ideas on explaining these concepts because a lot of people struggle with it and a lot of people who come into the space they're doing other stuff they are not identity people they are like devs or they are IT admins and they struggle a lot with understanding just even OAuth and like I love watching an OAuth explainer video there are lots new popping up which just teach the basics because I try to

See how they explain it so that I can, you know, learn from some of them and explain it. So when agent ID came and the blueprint came, like it's, oh my God, that's like 10x.

SPEAKER_01Yeah. More complex than what we had with just the like app permission and delegate

SPEAKER_03permissions, they look so simple now compared to all the new things that we have. So I really like this tool that you build that teaches people these concepts and you have two parts to the tool. So let's start off with, you know, the tutorial because I think the tutorial is a really good way to explain.

SPEAKER_01Let me go ahead and share. All right. Also shout out GitHub Copilot. You can literally say, make it cute and it will add like sparkles and stuff.

SPEAKER_03Nice. I love those sparkles.

SPEAKER_01That's exactly what I did. But yeah, so this is, it's just like a simple web app. There's no server. So I just want to like be, I guess, it won't make any rights unless you absolutely tell it to. and there's no sign in required so if you want to try it out before you adopt the actual app which is just like signing and using OAuth that's completely fine so don't have to sign in here and I'll supply the the URL for you as well but you can

pop in to the tutorial here and it gives you a just a view of the relationship

SPEAKER_01between all of the different objects for an agent identity so You might know that an agent ID or an agent identity is the identity of a AI agent within Entra. So the tutorial starts out just popping through the different objects that you'll see when working with agents. So the first one is an agent blueprint. I'm gonna commit a faux pas right here to bring it a little bit back. It's kind of like an app registration,

very similar to an app registration, but don't

SPEAKER_01Let anybody say that I said that. But an agent blueprint is essentially the template for an agent for any organization. If it's a multi-tenant agent, it can be used. There's only one. So the blueprint is a one. It's hosted in a tenant and it defines how the agent behaves, governs. It gives all of the goodness that an app registration does. It's kind of like a buffed up app registration.

SPEAKER_03And even if you create a single agent with just one, if you are like, the typical flow I think is you can have hundreds of agent identities of a blueprint. But even if you want to create one, you're building an app and you're just going to have just one agent, you still need a blueprint that's tied to it. It's like the parent of an agent identity. Yes, exactly.

SPEAKER_01That's a great point. Yeah, so you definitely need a blueprint no matter what for every for every agent in Entra. So first thing we'll start out is, and this whole tutorial is focused on showing everyone how permissions work. So a lot of what I'm gonna talk about is permissions in this tutorial, but the agent blueprint has a required resource access. So you might be familiar with this for apps,

SPEAKER_01but a required resource access is something that a developer can put in to their blueprint and it just essentially lists out the permissions that you think your agent will need for like a functional baseline you could technically list everything and anything that you think your agent might need but it helps just communicate like hey at the very bare minimum or like at startup I'm gonna need these permissions and I might request some more later but

I'm going to need these permissions to work at like a fundamental level so that's what an RRA is and it's on the blueprint and you'll see later so what does RRA stand for that's the required resource access access right the next object is it's

SPEAKER_01going to be it's called the blueprint principle and it is identity that represents the blueprint inside each tenant so blueprint exists in one tenant and when you adopt an agent a blueprint principle will be created in your organization if it's a multi-tenant situation if it's Your own tenant, you're gonna have Blueprint, Blueprint Principle, and then eventually an agent identity instance, which we'll talk about a little bit later.

SPEAKER_03In the same tenant, right? So this is really made, like you have these different levels, mainly because Microsoft builds its own applications, which could be agents. Like you build it in the Microsoft tenant, but then the agents can be created in every customer tenant. And the same with various ISVs and partners, like ServiceNow could have their own intratenant where they create the blueprint, but every ServiceNow customer would have the agent identity

running in each

SPEAKER_03customer's tenant.

SPEAKER_01That's a great analogy.

SPEAKER_03All these complex concepts are there, but if you are just building it only in your company, they're all just going to be three different things in your one tenant. And you'll go like, why do I have three different things? But it's because this is architected to be like, you know, multiple tenants. And even if you're a big enterprise, you might still have lots of other tenants that you manage. So you might want to put all your blueprints in one tenant and deploy from there to the different tenants.

SPEAKER_01Absolutely, that's a great idea if you wanted to have like a hosting tenant and then pop over the blueprint principles when you need. The interesting thing, so this is this three tier approach is something new with agent ID. And so this kind of like middle tier blueprint principle is interesting because it's not used for authentication, at least at this point in time, May 7th, 2026. So if you're all- Yeah, with the disclaimer, right? yeah two years later I don't know don't don't don't come after me but so it's not

used for authentication at this point but it's cool because you can grant this permission or this principle permissions and those permissions will cascade down to all of the different instances so like let's say you want to have different instances of your agent maybe like you want one for merrill and you want one for

SPEAKER_01aaron and maybe the sales team wants it an instance of this agent etc but you want to preload every single instance so current instances and future instances of this agent with some permissions you can grant it on this principle and all of that will cascade down so we'll get into inheritance a little bit later in the tutorial last object is an agent identity so that's the actual instance of the agent so that's the one that will be used for

like auth that one will be like you can assign it its own individual permissions when you see like an agent interacting in your tenant it's likely going to be this agent identity object right and over time like say if say Tom and Mike they have

SPEAKER_03their own agent identity instances they are working with the different agents could diverge right like they could have one could have more permissions than the other and that's the whole reason behind like supporting all of this we want to enable those sorts of scenarios where each agent can have I'm thinking a lot of people are just starting building very basic agents and if that's the case it might be the same permission across all the agent identities and so you just set it up

SPEAKER_03in the principle, right? I'm getting ahead. I think I know you're going to explain all that. Yeah, yeah.

SPEAKER_01No, no, that's a good point though. Like I think the nice thing, and we've wanted, like myself and customers have wanted like a multi-instance of a lot of applications because it's nice to be able to segment like data. Like you want to be able to use like an app or an agent and maybe like Me using it and giving it access to my mailbox I don't want it I don't want you to have access to my mailbox as well if you're using the same agent so it's nice to have it segmented and like you said maybe one agent will have

more permissions than the other so that's this nice thing of having this like last tier which can have multiple so we could continue to add identities here so it would be one blueprint one blueprint principle per organization, and then n number of identities.

SPEAKER_01So that's kind of the model here. Let's take a moment to talk about AppGovScore from E-Now Software, featured on EntraChat. In EntraID, limited visibility makes it hard to track app access to Microsoft 365. Expired credentials and unclear ownership often surface only after disruptions.

SPEAKER_02AppGovScore benchmarks your environment in minutes, then upgrade it to a free seven-day trial to uncover credential risk, permission exposure, and ownership gaps. Visit AppGovScore.com, that's A-P-P-G-O-V-S-C-R-E.com, and click try for free.

SPEAKER_01Cool. So, given that this is a permissions tutorial, obviously one of the first steps is going to be adding a permission. So permissions can kind of be associated with any one of these objects. So adding a permission on an agent blueprint is in this tutorial, like adding it to the RRA or the required resource access, that doesn't actually grant authorization. It just tells, it's a hint that you can give to people adopting your agent,

SPEAKER_01what permissions you need.

SPEAKER_03Right, it's like if I'm at service now, if I use that example, I might say so for this ServiceNow agent that I'm building it needs let's say mail.send a simple like you know be able to send emails just because they put it in there right yeah tickets etc and just because they define it in their tenant it doesn't mean like it's available in every tenant because you the admin of the tenant that agent is deployed will need to agree to that to consent to it so this

SPEAKER_03is just the app developer telling You know, this agent when it runs would need these permissions.

SPEAKER_01Yes, exactly. It's like a, it's a polite hint to everybody in other organizations just saying like, Hey, if you want to grant all of the needed permissions upfront, this is what you need to grant. So it's nice. And to all the developers out there, it is nice to fill out that required resource access because it helps customers adopt your agent without having to see multiple consent prompts. because you can always request consent dynamically, which is kind of like at the moment you need a permission,

SPEAKER_01you can request for consent. But sometimes it's nice to preload all of that thinking for those big organizations that have like more of a process to granting consent.

SPEAKER_03Correct, yeah. In most enterprises and security, like they want the security teams, they'll go through multiple reviews. and they don't want to see like every consent come up. So this is just the hint. So this is why it's RRA is like different from the previously where you would just define it in a service principle saying you wanted the set of permissions and the admin consent. So what's the difference between that process and the RRA type, the new type of RRA?

SPEAKER_01Yeah, yeah. So app registrations do have RRAs. So it's very similar in that situation. We expect agent IDs to be using a lot more dynamic consent because they're way more modular or sorry I should say they're way they they grow right like we expect AI to like be like oh I need this permission I need this permission like you've asked me to do something new like I realize that I need to request for this new permission

SPEAKER_01so we totally expect agents and agent identities to be requesting more using dynamic consent. So that will be a big difference. This is, I guess, Aaron speaking, not Entra speaking, but I expect that to be dynamic consent to be more used when we're seeing agent identities. In the past app registrations, usually the required resource access would hold kind of all of

the permissions that a developer expects that they need because we don't expect apps to really like change.

SPEAKER_03Yeah, they're static, right? They're built with a certain functionality and...

SPEAKER_01Exactly, yeah. Yeah, so I expect, I expect for those of you like trying new agents and everything, I would expect more dynamic consent requests coming your way. The developer again, like They can try and preload as much as possible, but there's that balance, right? Between like, you don't want to request everything you might possibly need upfront because then it's like an overprivileged problem. Like you're requesting for a bunch of stuff that maybe nobody

will ever need.

SPEAKER_01So striking that balance, I don't envy our ISV friends because they have to find that balance, but it's a hard line to walk for sure.

SPEAKER_03Right. So when they put it in required resource access Does it mean when the admin is onboarding that agent, do they have to consent to all the permissions and then it's immediately granted to all the agent identities or is there like a different...

SPEAKER_01Good question, good question. Yes and no. So if you adopt a agent through, like for example, the Microsoft Admin Center or A365, they are gonna show you the required resource access You could technically instantiate an agent without consenting to everything and then consent to what you would like. It depends on how you're instantiating the object.

There are some customers that I work with that just say yes to the required resource access and then revoke immediately the permissions that they don't want. I wouldn't super recommend that because there's a reason why the developer is

SPEAKER_01putting it in their required resource access so you might have a degraded experience but there's some push and pull that you have. Yeah because they could say well we are not using that part of the app or we don't

SPEAKER_03want the agent to ever do something like you know with that permission.

SPEAKER_01Totally.

SPEAKER_03I think it's a good thing like even for the ISVs and app devs to now make build their agents to be resilient right if he doesn't have the permission to gracefully say you know you don't have it because of this and you know reach out to admin kind of thing yeah totally yeah

SPEAKER_01exactly yeah and I expect that like agents in different the same agent in different organizations might have wildly different like needed permissions right like they might say like oh I actually want to use instead of service now I want to use this other ticketing system and the agent will be able to react this is again a little bit hand wavy because this is Aaron talking not Entra talking but I'm really excited for this like era we're in because things are again moving so quickly

that I'm just like scrambling to keep up but it's really cool because so much is happening right yes yeah so much I mean the fact that I created this app is like mind-blowing to me yes

SPEAKER_01It's been like how many years since I got my computer science degree? Like 13 and I haven't coded in a really long time. So it's fun to dust off the dust. No, but it's amazing because you had this idea in your mind and I've tried to visualize

SPEAKER_03this concept of the blueprint and all of that. I've done PowerPoint diagrams, but this is a lot more interactive and like you took it to the next level of I'm excited when you come to the permissions.

SPEAKER_01So yeah, let's open it up. So here is an add permission view. I preloaded each, like when you open the app, it's going to have all of the Microsoft Graph permissions because that's what a lot of people are going to use. So in this situation, let's just add a couple permissions to the list. It doesn't really matter. I ask in the tutorial to add two. You can also import some.

So if you're signed in, you can import resource apps that exist in your organization.

SPEAKER_01Or if you're just using the like non-signed in version, you can kind of create some like dummy permissions.

SPEAKER_03Right. So this is if I have my own API that my organization has built and I want the agent to call into that, then I can use those custom or import it from, if it's already in the tenant, I can just import it to play around. Exactly. So you can import it in here and then you can, you know, add it, add it in this list.

SPEAKER_01So when you import it, it'll be one of these like dropdowns, essentially. Again, I kind of preload most of the graph permissions. I might go a little outdated every once in a while, so you can obviously feel free to import Microsoft Graph and get the latest and greatest. But after you pick a couple of permissions, it's going to ask you where you want to add it. So again, there's those three objects. You can add it on any of these. The first one is the required resource access on the blueprint. The second is granting it on the blueprint principle,

SPEAKER_01which will, again, inherit and cascade down to all current and future instances of that agent in your tenant. And then lastly, if you want to give a permission to a specific instance, so like, for example, Aaron's instance, you can do that in here as well. But for the tutorial's sake, we're gonna grant it on or I shouldn't say grant it because adding it to the required resource access does not grant anything authorization but we're gonna add it to the required resource access right and so here you can

see on the flow diagram it's added to this agent blueprint nice yeah it shows the permissions as

SPEAKER_03well that's that's cool exactly and then we'll talk a little bit about inheritable resources a little bit later in this tutorial but we're gonna switch views the flow diagram is nice for like visualization but it can kind of suck to add permissions so this matrix view helps

SPEAKER_01you understand like these are the required permissions this is where I'm granting them so you can make sure to like go through the list of what you need or maybe what you want to add to different identities, et cetera. So matrix view.

SPEAKER_03Oh, so if I sign into one of my tenants and pull up something that's already there, I can see all the permissions that have been there.

SPEAKER_01Oh, that's nice. I'll go back and sign in and add or look at one of my blueprints as well. But okay, this is a new concept that people might not be familiar with. So we have this new concept called like inheritable resource apps or inheritable permissions. And this is essentially deciding what permissions that are granted on that blueprint principle are able to be cascaded down.

SPEAKER_01So I know that doesn't really make a ton of sense.

SPEAKER_03Are they all inheritable?

SPEAKER_01Good question. You have to, as the developer, you have to set the resource app as inheritable. So in this situation, we added a bunch of Microsoft Graph permissions. In this tool, I kind of auto add the resource app because I assume you want it to be inheritable. But that in like real life, I guess, outside of this tool, the developer has to add them. It doesn't like auto add.

SPEAKER_03Okay. So what happens? If you add it and if it's only assigned to the blueprint, it doesn't really do anything, right?

SPEAKER_01Good question. So the way that you declare inheritable resource apps is you add it to the blueprint. And then, so in this situation, we have it here, inheritable resource apps. We have Microsoft Graph as an inheritable resource app. And then here, if we grant it to the blueprint principle, it's going to cascade down so you can kind of see that it's like an orange highlight and that's just letting you know that like hey this is being this is being inherited by all agent identities here I can even show

you right here I'll create a new agent identity and you can see here all right it's like preloaded with

SPEAKER_01the permission right because it's inherited but if I wanted to grant Maybe I did this delegated permission. I know I ended up choosing the same permission, but just application and delegated, my bad. But you can grant it on a single identity here as well. So we can play around with this and let's say I uncheck Microsoft Graph as an inheritable resource. It's gonna show up here as like this resource. You probably can't see the tool tip at this point, but essentially

SPEAKER_01If I remove it from inheritable resources, this won't actually cascade down because then Microsoft Graph isn't an inheritable resource, which means that grants on the Blueprint principle from that resource app, Microsoft Graph, don't, they're not cascading down essentially. If you think, I guess, I guess,

how do we actually translate that into actionable stuff for everybody listening? If you want your customers or your users of your agent to be able to preload

SPEAKER_01permissions from a resource like Microsoft Graph, like maybe a internal resource app that you use, you should set that resource app as an inheritable resource on your blueprint. So like I keep using Baking as an example. But like let's say that you have you want to bake a cake and you want you you're

making a recipe and you're like I need eggs flour and I don't know oil right and you're sending people to the grocery store to go and buy this stuff well you

SPEAKER_01probably want to let them buy eggs, flour, and oil, right? So on your grocery list or your inheritable resource list, make sure that you have like Bob's Red Mill flour or whatever, I don't know, whatever brands you want. I don't know if that analogy really worked out, but long story short, Blueprint Principle Grants will only work if the resource app is on the inheritable

SPEAKER_03resource list. Can I have a question can I grant a permission that's not in the blueprint say can I go to for example agent 2 and like explicitly grant it mail.send like my part yes great question so if it's not in the required resource access let's say we just want to grant it to the blueprint principle and the tutorials in the way but this

SPEAKER_01last row is mail.send right Yeah, so if it's not in the required resource access, you can grant it to either agents, instances itself, or the Blueprint principle. The only caveat about the Blueprint principle is, again, the resource app has to be marked as an inheritable resource. In this situation, mail.send is Microsoft Graph. We have Microsoft Graph as an inheritable resource.

SPEAKER_03Right.

SPEAKER_01So we're all good.

SPEAKER_03So you can take an existing resource, say a company has built their own something for HR. They built their own API and they've not been using it with agents, but now they want to give agents access to it. If they want to use it here and make it inheritable, they need to go and do something to the app registration they have today.

SPEAKER_01They need their blueprint. One second. Okay. For each agent that wants to use it, the agent will have to request and add that resource to their inheritable permissions list, essentially. Cool. Okay. So in this situation, let's say we have our little matrix, all of the permissions set where we want them,

SPEAKER_01the permissions that we want to grant in each place. You can go back to the flow view. It's going to show the same information. And then How do we make it reality? We've done all this planning. We've just been reading. We haven't actually made any changes. And I promise you, if you sign in and you're clicking all of these different buttons, I'm not changing anything until it's explicitly asked, I promise. But let's make it reality. So how do we do that? So there's a couple of these different tabs on the bottom.

SPEAKER_01So we can open the blueprint tab. for example, and it will pop out. Let's say you don't want to give this app any permissions. I totally get it. The permissions I request are pretty hefty. So instead you can do it through PowerShell. All of these scripts will work for you. You can look at, I have a different page for each of the objects. There's Graph or PowerShell. So whichever one you prefer, if you'd like to do it yourself, right?

SPEAKER_01So these will pop out all of the different things that you need to do. If you preload a blueprint in and make a couple changes, it'll just show those couple changes in these snippets. It won't make you recreate everything by yourself. The caveat is there are some placeholders. So let's say you start from scratch, but you want this to apply to a specific blueprint. You can add in the client IDs here.

lastly if you're lazy like me maybe you want it to just all be done for you in this situation we'll request this app will ask you for additional consent I preloaded this consent with this app so we actually haven't like essentially I asked for

SPEAKER_01application.read all the read permissions but this is where you would consent to write permissions if you'd like or you can supply an access token if you just want to do like a one-time thing but here like for example it's gonna I know this operation is scary so I make it a little more scary than it probably should be and it will go and do everything you need so everything now this this blueprint actually exists all of the

IDs are now here so everything's all filled in right yeah and then we just it pulls okay so it created it and also shows all the IDs exactly in the view i just xed out of the tutorial but we just essentially the last one was like you did it so it's not anything we saw and then i can show you here i'm signed in already but if you did the same thing sign in with microsoft it will ask you to like add the app to

SPEAKER_01your tenant and we can look at any Blueprint in my tenant here and it will show you how it's already set up. Right now I just have a Blueprint Blueprint Principle, but I could like add an identity here, like make a bunch of changes to the grants and then it will do the same thing. So it'll show you what's changed on the principle and identity. Yeah, so the script only gives the changes, the delta of what you made to the existing object.

SPEAKER_03Nice. Yeah and so this is all like again this is all like things that you can do there's nothing like special or internal of like what I'm doing this is just to help you like visualize and plan some some of the permission granting because now there's that like tiered approach and there's different objects that you're granting

SPEAKER_01different things So like a real world example is like maybe again maybe you have a ServiceNow agent and it's requesting all of these different permissions maybe for like the higher risk permissions you want to grant it on the identities themselves but the like lower risk permissions like user.read maybe you want to just like preload so nobody has to like request that from you when they want to create their own agent Yeah, if you don't want to sign in,

SPEAKER_01if you don't want to grant admin consent, that's completely understandable. You can use an access token. So if you go to Graph Explorer, you can essentially get a token, pop it in here. I will not like I don't save these anywhere so don't worry about that and then again you if you want to just no sign in required you can do the tutorial and then just take the snippets and do what you'd like with them as well that works yeah so

this is just to help out I already have some like updates I want to make to it one

SPEAKER_01of them including a dark mode because Some of my teammates have threatened to disown me if I was just very light white. I know my non-developer side is showing. Yeah, I hope this is helpful. I hope this kind of demystifies some of the agent blueprint, agent blueprint principle lingo. Yeah this I think is going to do a huge lot to explain like understand like in my

tenant I have I might have so many agents and already in there right and with something like this I can go and explore and sort of visualize like I am a person who learns a lot from visualizing like I built this whole conditional access

SPEAKER_03visualizer so this is what I think will help a lot of people quickly understand because yeah you can read through the docs and try to build your own mental model of all of this but why do that when you can take like a real agent that you have someone built in Azure like AI Foundry and they deployed it and it's in use you can now go visualize and look at how it's set up and what permissions it has.

SPEAKER_01Absolutely I feel like this like idea came to me when we were we were trying to set up one of the like I was working with an ISV and I was trying to help them debug why their agent was working in One tenant, but not the other. And we were trying to like piece together all of the, okay, well it was granted on the principle and then on this identity and all of these things. And this is your required resource access. And I was like, why can't I see this all in one area? I've been there because you go look at the different blade and

then you jump to another blade. And then by the time your mind has lost track of like what you looked at a minute ago.

SPEAKER_01Exactly. So yeah, I also like, Like all of this being said, like the UX in the portal, like a bunch of people are like working really hard on making sure that you can grant permission. So that's going to be something that we're working on post this post GA. So post last Friday. so the nice thing about this app is like it's Erin kind of going off on her own so I have no I have I I cannot claim that this will always work or

not error out or anything like that and yeah point in time but like for me the tutorial itself is like the the bigger part and I think yeah exactly yeah and honestly like if you if

SPEAKER_01if like anybody watching if you're like wow this is great but I want this one tweak or something like feel free to reach out to me and then if you're like I I hate this I want to do it my own way github copilot in vs code will be your friend like it yes it did everything for me and when I was stuck it helped me figure out like how to host this etc etc so yeah that's really cool the llm scanner I love it that the scroll bar is also it also has a

cute gradient yes oh my god I was literally like I hate it make it look cute and it was like okay I'll add sparkles and like a gradient yeah the sparkles I've never seen a scrollbar do like that being done to a scrollbar it's really neat yeah it's it's awesome so I

SPEAKER_01I've had a lot of fun I might make a couple different apps helping with the permission space. Yeah, I think permissions and consent can never not do enough to try to explain it in different ways and for people to understand it because it takes a while to build that whole mental model and there are always new people coming into Entra and learning so it's always good to be able to have these sorts of

tools and aids for

SPEAKER_03people to easily like gently understand folks who can read the docs and quickly get what it's saying that's very few I'm like you I'm a visual learner so I need the I need the whiteboard I need the the flow diagram so hopefully this helps some people out but yeah yeah I'm super excited thanks for having me on yes yeah anyone feel free to

SPEAKER_01reach out if you have like

SPEAKER_03Will you be putting, I mean, putting this on like the open sourcing it?

SPEAKER_01Yeah, I plan to just expose my GitHub repo that has all this code in. I'll probably add it just saw that like top layer maybe like down here or something just to be like if you want to do this yourself here you go yeah it's no guarantees like we do that with all of our software if it's not working here you go make it work yourself yeah and that's the thing like once you have the code you can use the github agent like just in the github itself like you fork it in

github in the web

SPEAKER_03you can just tell it and it can do stuff like if you have tokens to burn I've pointed the agent at like a site and said just build that site for me and it goes ahead and it does a really good job rebuilding the same thing so Even if you are not going to open source it, someone can point the agent at it and say,

SPEAKER_01but yeah. Yeah, there's no hiding anymore. It can be remade. So yeah, but I'll try and make it easy and just give you all the information.

SPEAKER_03Yeah, like waste tokens and you know, hurt the environment.

SPEAKER_01Yeah, I think about that a lot.

SPEAKER_03Exactly, we can just share what's already there. Erin, so thank you so much. This is an exciting thing for me. Like I love these sorts of tools and helping people learn to quickly get up to speed because there's a lot changing and a lot happening in the AI space and the agent space, even between public preview and now GA. There's a lot that has changed like I at one point gave up I'm

like I can't keep up with this it's like changing so much and I was like let me wait till GA and then look at it because at least I'll get the you know the final picture the painted picture yeah so that's what I've been doing because I've been focusing on the zero trust assessments yeah I mean there's there's no shortage of stuff to to learn

SPEAKER_01about recently Yeah hopefully like for everyone who kind of took the route that you did obviously I could not because I was working on it but but for everyone who just kind of tuned out until GA this at least explains the permission side there's a lot to learn about like all the different There's a ton more than just permissions for agent ID. Yes, yeah.

SPEAKER_03So I'm actually, today I'll be recording with Vince and we're going to talk like the big picture of, you know, all of this stuff. We'll do the big picture with Vince and then jump into this as well.

SPEAKER_01Awesome. Amazing. Yeah. Vince will answer everything. He's the guy. So it's awesome.

SPEAKER_03Cool.

SPEAKER_01We had a bug bash and he won our little, we had a little trophy. that he won. So you should ask him about that. It'll be great.

SPEAKER_03It is an exciting time. We had the recent party as well, right? The GA party as well for Agent ID. Yeah, it's crazy the speed at which Microsoft built Agent ID compared to, I think, when we did the original, I mean, I wasn't there when the original OAuth and things were built, but I'm sure that like took months and a long time before it went out to GA.

SPEAKER_01Absolutely. Yeah. Yeah. It's cool. It's a cool time to be involved. So I'm loving it.

SPEAKER_03I'm super excited for the future. Awesome. Thanks, Sarin. I'm sure like I know I'll definitely be bringing you on this consent about apps and consents. Like I can never have enough because for me, it's a very big part of what all Entra admins deal with daily. Like we have teams in large orgs that only do apps and consent and permissions. So it's a huge part of Entra compared to like we talk about conditional access. It's big, but then it's like in terms of day to day work,

SPEAKER_03it's a lot less compared to what people deal with apps and permissions. So it's close to my heart when talking about and explaining this to people because they really struggle with it. So everything helps. So thank you so much for the amazing effort you put in and building this I'm looking forward to more tools like this from you yeah this if people like this one that'll just make me hungry to make more so looking forward

to the feedback

SPEAKER_01also thanks for having me on I appreciate it

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Which Passkey Should Your Users Get? The FIDO Alliance CTO on Passkeys and Post-Quantum Cryptography

    Nov 14, 202645 minAudio

    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...

    Credit the people on this episode

  2. Free AI Agents, the E7 Bill and AD vs Entra: The Workplace Ninjas US Special

    Nov 7, 202625 minAudio

    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...

    Credit the people on this episode

  3. Entra Multi-Tenant App Mistakes Every SaaS Builder and Admin Should Know, with Kelvin Tegelaar

    Oct 31, 202643 minAudio

    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...

    Credit the people on this episode

  4. Conditional Access Gaps and the App Back Door, with Brandon Colley

    Oct 24, 202639 minAudio

    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...

    Credit the people on this episode

  5. Stop the Bleeding: Cleaning Up Apps, Secrets and Consent in Microsoft Entra

    Oct 17, 202651 minAudio

    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...

    Credit the people on this episode