Entra. Chat Podcast - https://entra.chat In this insightful episode, Nathan McNulty, Senior Security Solutions Architect at Patriot Consulting, shares his extensive experience deploying and securing Microsoft Entra environments. With a background spanning civil engineering, education, and critical infrastructure, Nathan brings practical wisdom from managing environments with 50,000+ users and 90,000+ devices. Subscribe with your favorite podcast player or watch on YouTube 👇 The conversation explores realistic approaches to securing BYOD, building effective conditional access policies using a "castle" framework, and leveraging administrative units to partition permissions efficiently. Nathan reveals his innovative "operational groups" automation technique that helps classify users by authentication methods, enabling granular security controls without manual effort. The episode also covers authentication methods migration strategies, extension attributes, and modern cloud automation approaches that replace traditional server-based scripts. Whether you're looking to improve your conditional access strategy, smoothly migrate authentication methods, or automate Entra management tasks, Nathan's field-tested insights will help you secure your environment more effectively while reducing administrative overhead. Nathan McNulty * Web - https://nathanmcnulty.com/ * LinkedIn - https://www.linkedin.com/in/nathanmcnulty/ * Bluesky - https://bsky.app/profile/nathanmcnulty.com * X - https://x.com/nathanmcnulty Related Links * Operational Groups scripts - https://github.com/nathanmcnulty/nathanmcnulty/tree/master/Entra/operational-groups * Maester DevOps - https://maester.dev/docs/monitoring/github * Authentication Methods Migration - https://learn.microsoft.com/en-us/entra/identity/authentication/how-to-authentication-methods-manage * Administrative units - https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/administrative-units * Restricted management administrative units - https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/admin-units-restricted-management 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_01What was the phrase you used?
SPEAKER_02There's an unrealistic expectation that we can secure BYOD. And we just, we can't. We can't secure BYOD. You can limit risk. Yeah, so administrative units, very neat. I always like to say it's like having an OU and a group had a baby. Yeah, so we can put three types of objects in it currently, users, devices, and groups. And then they just introduced a really cool one called a restricted admin unit. So if you remember back to group policy, we can restrict inheritance, right? And so something like that, directory-wide privileges don't apply to those accounts.
SPEAKER_02I might put break glass in there or VIP accounts. We'll match those up with what's in authentication methods so that you're not making any real changes, right? And then we'll just migrate complete. What we've found is there's about a five minute replication delay. So if you go, if you're really quick, Because you know what you're doing. And you can make those changes in both those places and then come over here quickly and change that to complete. You can actually lock it before it makes the changes on the backend. Just, hey, let's grab all the existing SMS users, right? So we're just going to query that mobile method.
SPEAKER_02Let's put them all in a group. And then now I can target that security group and then say no new registrations. But anybody who already had it can keep using it.
SPEAKER_03Intro chat with Merrill's life, digging deep where techs thrive. From the latest hacks to cool updates, join the ride, don't
SPEAKER_02Hey, I'm Nathan McNulty, senior security solutions architect here at Patriot, recently actually intra-practice lead, so that's pretty fun. I worked in several fields, civil engineering education for about a decade, critical infrastructure as well. Worked at help desk, moving up to endpoint admin, client cloud architect, security architect, all that fun stuff. Spent about a decade administering securing an environment with about 50,000 users, 90,000 devices, building a security program primarily around the E5 security suite. So that landed me over here at Patriot, where I've done everything from Intune to Purview to Azure Security,
SPEAKER_02Intra, of course, and Defender. So I've dropped Purview and I've dropped Azure mostly at this point. And so now it's just Intra, Defender, and Intune.
SPEAKER_01Awesome. So good to have you. It's like every time you post something on Twitter, it's so insightful. And I learned tons from all those threads you do. And I know you started on LinkedIn as well a bit more now. So I really, really wanted to chat with you and sort of, you know, pick your brains because you have this breadth, not just on Intra and all the other sort of the suite of things. And lots of real world experience on deploying. So I really want to get you on here to come tell us,
SPEAKER_01you know, the deployments you've done, what you learned from them. Ideally, we want to learn things before we do it ourselves and, you know, learn from your mistakes and, you know, all the wins. So that's the whole point of this podcast. So where shall we start first? What's been the most exciting thing you've been working on recently?
SPEAKER_02Yeah. I mean, so conditional access path keys and identity protection have been a lion's share of the work for sure. Everybody's recognizing, right? MFA is not enough. So especially at this point, if you're just starting the MFA migration, I mean, it just makes sense. Give them the temporary access pass, let them sign into the Microsoft Authenticator app. You have a pass key already. Same experience as they would have gotten the push. And so You know, it's a little bit more communication up front. We're playing with some concepts around terms of use, actually, to give kind of the guide.
So we're capturing the users in and let them selectively set it up as they walk
SPEAKER_02through the PDF kind of thing. And some other scenarios that are kind of, we're just testing things out, but... Yeah, pretty neat. I think the biggest difficulty that we run into, I've yet to run across the customer where, hey, it's just like perfect cut and dry. We did all apps, all users, MFA. We did all the perfect CA policies and everything just worked perfectly and they didn't want any exceptions. They didn't need any... anything weird.
SPEAKER_02So that just never happens. So we're typically finding, you know, what are the exceptions that we can do, right? Okay, we've got users that travel. Well, when they're out, maybe they have to use their own device. Maybe, you know, like they can't use a personal device. It's always got to be a company-owned one that has a root of trust to us. And then that's okay that it bypasses geofencing or, you know, other controls. If you're at home, you have to use phishing-resistant, you know, authentication, different things like that. So...
SPEAKER_01Yeah. So there's this tweet you made recently, right? What did you say? Bring your own device is... What was the phrase you used?
SPEAKER_02There's an unrealistic expectation that we can secure BYOD. And we just, we can't. We can't secure BYOD. You can limit risk, right? Hey, we're going to require phishing resistant authentication. We're going to make you connect to an AVD or some sort of virtual desktop environment. But you're not really going to secure BYOD. You didn't start from a secure baseline. You don't have that clean source principle, right? We didn't set that device up. We're not actively monitoring for the history of the device. We don't know how it's been tampered with, and we truly don't know if it's the user or an attacker on the other end.
SPEAKER_02sophisticated attacker bringing an already compromised device in, like there's, you know, that's hard. So I think there's an unrealistic expectation. That's really what drove that conversation. It wasn't so much that don't do it, right? I mean, there's sectors where you just have to.
SPEAKER_01Yes. And to be clear, there is a nuance in there, right? So there's the mobile side of things, and then you have the PC and the Mac side of things. On the mobile side of things, it's mostly not an issue.
SPEAKER_02I mean, it depends on the attacker. Yeah, so Root of Trust on Apple is fairly good, right? And on Android, unfortunately, they use Google Play Attestation or Google Play Integrity API, which isn't as strong as their attestation API. It allows for some vendors who are struggling to meet the requirements, right, to kind of meet those for their Play Store accreditation and all that kind of stuff for OEMs. So unfortunately, it's not as strong as it should be. And even on iOS,
it's possible to jailbreak and then spoof details and things like that.
SPEAKER_02And so, yeah, cat and mouse game, right? Yes. I think it's less of a risk, probably, if we're like threat modeling, right? For the level of quality of an attacker that most people are concerned about, they're not doing that kind of stuff for most organizations, right? We're still dealing with weak passwords and attacker in the middle scenarios and things like that. Attackers aren't bringing in iOS devices that are rooted to gain access to information and stuff for most of us.
SPEAKER_01And that's where you would have layers of these, right? So you might have... completely managed devices that the company owns and they issue those devices and they know that it only has things that they put on it from the birthright of when it boots up for the first time. And those devices get the privilege of having apps, maybe access to customer data and so on, which you would not put on a BYOD device.
SPEAKER_01And then others would allow BYOD to be, okay, you just get access to Teams and email and you can use MAM on those, but you're limited to maybe just those productivity applications. But some go to the extreme of saying, no, even email and Teams, it's going to be only on a company should manage the device. And it all depends on the risk factor and what the company is, right? Whether it's a bank or would have a different posture to someone in,
SPEAKER_01for example, in Australia, we have mining, the mining sector and the folks who manage that. So it would obviously depend on the type of data you hold in the company and what you're trying to protect.
SPEAKER_02Absolutely. Yeah, I actually had a good conversation on that around like Okta or some of the other federations that we do, right? ADFS, whatever that might be. I mean, if you're not doing conditional access, we have no way to differentiate who the quality of user is. Is it an admin? Is it a regular user? Is it whatever, right? You're only doing that sign-on policy at the identity provider. So now when we're saying, well, under this scenario, right? Home device, I want to allow these users to have teams, but not these users or any of that kind of granularity, you just can't do it without conditional access. And so that is the beauty of it, right?
SPEAKER_02With that authorization tool, we can divide up those scenarios as the company needs and we can secure them further too, right? So you need to travel outside. We have a lot of government where like, hey, we're based in the US. There's not really any reason for us to just accept anything from anywhere. Super easy policy, especially education, right? Who's very prone to compromise um we'll just make exclusions when students travel or whatever have requests and um well if you're on a company issued device you know you're traveling over there but we we know a lot about that device right and
you're using hello we know it's locker encrypted and all these things and so yeah we get some great scenarios um to create those safer exclusions then just well we gotta open everything and now we can't have any controls and you know that's what we fight
SPEAKER_01with mostly Yeah, and so how do you, let's talk about the conditional access policies and how do you end up carving things out, right? So there are different approaches I know that people take when they define the CA policies. So when you go about building your CA policies, what sort of approach do you take when you go and maybe if you were doing something new versus you're picking up an existing bunch of policies and you've been asked to fix things up.
SPEAKER_01What's your approach? How do you go about working on them?
SPEAKER_02And we typically do a lot more of the, we're new to conditional access. We do a lot of SSO migration as well, right? And so they're coming from a different identity provider. And so it's the first time they've ever dealt with conditional access and it may operate differently than they're used to. And so we can't just kind of, you know, there's great frameworks, there really are. And we've done some things where it's like, hey, we're going to tag all of our apps with custom security attributes and do filter for apps and all these great, but to explain that to somebody who has never seen conditional access for, is it's very jarring, right?
SPEAKER_02And it's like, oh, this is too complicated. I can't do this. And so, yeah, we typically say, or I do, and I know some of our other engineers, We say, treat it like it's a castle, right? You're building a secure foundation and we'll get to the moats. We'll get to the other things, the drawbridge, whatever it is. But we're basically building a secure foundation. And so, you know, a lot of those templates that are already in there, those are great templates, right? And I know that a lot of those came from partners in Microsoft discussing and putting them in docs. And then now we've got the templates, which are awesome. But yeah, so, hey, those are our secure foundations, right?
SPEAKER_02And we build on top of that. We've got all these little turrets all over the place. Those are just different. Hey, for the admins, if you're getting into that center area of the town, we have stronger controls if you're going to go to the king's chamber or whatever. So I kind of view it as that. We talk people through and it makes a lot more sense to, hey, we're going to make these things more secure for admins. So identity protection is a great example. Typically, I recommend five policies. I love that we now have that integration into conditional access because it used to be on or off, right? Or target a security group, no exclusions, no anything else.
SPEAKER_02It made it really hard with licensing and with Well, what if I want to apply stronger controls to some people? And so like on admins, I don't want them to follow my regular productivity users where, hey, on a medium or a low risk or something like, or I guess a high or medium, I could remediate with an MFA, right? On a sign-in risk, on my admins, I want it blocked. I don't want that risk, right? And so... Anyway, we'll set up like five or so policies to kind of target those different scenarios. And so we kind of take them scenario at a time.
SPEAKER_02Your apps that are risky, your VPN, right? Credential vault access, maybe more privileged ERP, things that have sensitive data. We'll definitely take those. And okay, so we have app-specific policies for those kinds of things. Maybe sign-in frequency applies to some of those. Right.
SPEAKER_01Just stepping back on the admins, how do you go? Do you pick a bunch of the specific roles or do you select all the admin roles that are available? How do you approach that when you are working with a customer?
SPEAKER_02So that's a tricky one. I actually do both groups and roles because there's actually a caveat. Hopefully people are using administrative units. I just don't see it very often and it's kind of a bummer. But if you use administrative units, those roles, those are the directory-wide roles only. They don't cover administrative units. So we've seen some gaps there where people think, oh, if I
SPEAKER_01So just before we get into that, for people who don't know what administrative units are, do you want to just share? Because I feel these are some of the things that people don't use it quite a lot. And I know you use that heavily. For someone who really doesn't know, how would you describe it?
SPEAKER_02Yeah, so administrative units, very neat. I always like to say it's like having an OU in a group had a baby. Right. Yeah, so we can put three types of objects in it currently, users, devices, and groups. So those are the three object types that we can put in there. And then they just introduced a really cool one called a restricted admin unit. So if you remember back to group policy, we can restrict inheritance, right? And so something like that, directory-wide privileges don't apply to those accounts. I might put break glass in there or VIP accounts or other things where even though
that's a user administrator or a group administrator or something at the directory level,
SPEAKER_02I don't want them to have access to those objects. And so only the roles assigned inside of that administrative unit can have access. So it's kind of like an OU, but it's more like a group because we can add devices to multiple administrative units or users to multiple administrative units. But it's a way to delegate those permissions right across those.
SPEAKER_01So you would partition. So how do you use that with conditional access? How do you apply that when you're building out the CA policies?
SPEAKER_02Yeah, so a few things. Restricted admin units are great for groups that should be governed maybe by access packages, preferably by access packages, right, in entitlement management. And so anyway, but we want our groups that are more sensitive or that could cause outages, could cause security gaps. If somebody was a groups admin, didn't know what it was for, right, and made modifications to that. We want to make sure those are protected. So we like to put those in restricted admin units for sure. Outside of that, if we're doing delegated roles, it's really nice to be able to say, hey, like Asia Pacific,
SPEAKER_02right? They've got their administrative users over there in their AU and now they have access to their users, but not the ones in the US or wherever, EMEA.
SPEAKER_01So it's a way to carve up the intra kingdom into like when you're One example is when you're working in a multinational, you can break it out by region and let people have user admin on those users, but not on users in a different region. I know, for example, one place I worked in, they had a different team that helped out all the execs from, you know, the CEO and the leadership team. And you didn't want like the level one help desk having use admin access on those users.
SPEAKER_01So they had different team that would manage those execs. And with administrative units, you could break it out so that the standard help desk team didn't have the ability to manage the you know, the leadership team or, you know, high risk users. There was a dedicated team that could do that. And that exec support team didn't need access to everyone's user admin, right? Like be able to reset the password of anyone that they didn't manage. So this is a way to carve out the intra-kingdom into like
smaller kingdoms and give
SPEAKER_01like local privilege access over the global one. So how does that help with conditional access and the roles that we were talking about? Yeah, so outside of protecting groups, that's not so much useful that I'm aware of. But where it does come into play is in conditional access when we target a role.
SPEAKER_02And I don't know, would it be helpful if I shared my screen?
SPEAKER_01Yes, yeah, absolutely. I mean, we'll still explain it because for those who are listening only, but yeah.
SPEAKER_02Yeah, absolutely. Yeah, so that, there we go, neat. So that administrative unit, right, and we can come in here, we've got users, devices, and groups, and then we can also do them based on dynamic queries. Of course, you're limited to one or the other, but. Yeah, so unfortunately, if we're applying permissions at this level for an administrative unit, when we come over to our conditional access to create a policy, and we select that dropdown for our target users, and we're saying, hey, this is gonna be, You know, select users, directory roles.
SPEAKER_00Yep.
SPEAKER_02Yep. Come in here. And of course, if you're trying to do the select all and you downspace, downspace.
SPEAKER_01People keep asking me, how do I pick all the rules? You need to, you know, you need to click each one to, you know, add the different roles into the CA policy.
SPEAKER_02Yep. Exactly. And so here is our most important thing, right? That warning right there. Conditional access policies do not support users assigned a directory role scoped to an administrative unit. Womp womp. And so if we come through here and we check all of these and then maybe we're expecting for PIM, right? We've got an authentication context tied to this. When somebody goes to PIM up, it's coming to this. It's checking, oh, well, you're not actually a target of this because you have an AU target and not a directory wide target. And so, you know, we have issues with that.
SPEAKER_02Or if I'm requiring phishing resistant MFA and I select all those roles, administrative unit, you know, it doesn't apply. So I typically recommend that we do both, right? We're going to come and do all our directory roles and we'll also have a security group that is maybe all of the admins. So part of that operational collection, right, thing or operational groups, I guess we'll call it, that I was building, that there's an is admin in that report, right? And so cool, let's pull some of that. I don't know if it ties into administrative units, but, you know, we can iterate through the admin units graph as well and populate groups.
SPEAKER_02So yeah, that's,
SPEAKER_01So you pick the roles when you define the CA policies, you pick the roles, but you also pick the groups that have those users. But there's this overhead to maintain, right? You make sure that you add all the admin units and the groups of those users having those roles and then apply the CA policy. So you have a script that helps. You've been working on something that helps with that to keep these things in sync.
SPEAKER_02Yeah, absolutely. So Azure Automation, or wherever you would like to run it, could be a server with a scheduled task, right? But yeah, operational groups is what I'm calling them. But right now, 29 or so, and then building out some more around risk-based details, some about device details. So anything that is an attribute that doesn't tie back to the user object, so we can't use it in dynamic user queries, like group queries, right? I'm looking at building out operational groups that are maintaining that,
SPEAKER_02so I might want to know if I have a device that has risk. This will actually be helpful for even if you've got a third-party EDR. I want to know, hey, I've got a list of all the devices that had security incidents. or I'm scraping graph security API for different things. I can populate some of these groups based on some of the details and then also leverage that in an automation, maybe a different one, right? That reads that group membership and then adjust permissions and conditional access to block those specific device object IDs, right? Things like that. So trying to... branch out and build kind of the basics underlying blocks for a
lot of those capabilities.
SPEAKER_02But yeah.
SPEAKER_01Right. So the script, what is the script? The script that you have right now, you published it on GitHub, right? Yeah, I did.
SPEAKER_02Yeah, just a basic script. So it's just standalone automation. So intro and we'll call it operational groups here. And yep. So authentication methods, right? We're just ripping through those various methods and creating security groups for all of them. Then we're going to come down and all the is admin or is MFA capable, self-service password, registered, all that stuff, right? We'll build out groups for those. A lot of times people are just like, okay, well, we do have a report, right? We can go into Intra and I can come under my authentication
methods down here and
SPEAKER_02we've got this beautiful report. It's fantastic. We live in this. But yeah, so we can say, hey, oh, one bit of feedback, though, is when we go and select this, of course, I can't select apply. So if we can fix that dropdown so that we don't have to figure out. Yeah. But anyway, so that's a tricky thing. But yeah,
SPEAKER_01so what you're doing is with authentication methods, we have different people registering different auth methods. And then maybe you want to create a CA policy that targets users that have only SMS. And today there's no out-of-the-box capability to do that, right? Where I can just say, okay, anyone who's just using SMS, I want to limit them to something or I want to apply an auth strength. So what you've done is created a script that will go through, find all the users that have,
SPEAKER_01you know, the auth strength. And do you tag it as an attribute or do you add the user into the group itself in your script?
SPEAKER_02Yeah, so just group membership right now is all that it's doing. I'm keeping those in sync. I don't have batching, so we're just doing 20 at a time at the moment. So individual graph calls, right, to update that membership with up to 20 added at a time. So we'll get batching later.
SPEAKER_01So you add those users into those groups, and then you can then use it for lots of things, right? You can target them... for conditional access, maybe you want to send, you want to add them to a special M365 group. I guess you could add them there using a dynamic group as well. Lots of cool things you can do, but it's sort of like ready-made and up-to-date grouping of users based on that script. And you can just chuck that into Azure Automation or GitHub,
and it runs daily or more to...
SPEAKER_01keep that group up to date. So it's sort of like a feature you're building for Intra, but using the API is nice.
SPEAKER_02Yeah, yeah, absolutely. Yeah, I'm hoping with a member of, we might be able to do things like, you know, when we look at this report, one of the problems that we oftentimes run into is if we go back to that authentication methods report that we're looking at, the registration details. A lot of times if we filter on, I want to know who my SMS users are, right? Well, when I've got 50, 60,000 users, it's kind of hard to go through this giant list and find all the users. Oh, I just unselected the only one. But it's hard to go through this list and find all of these. Well, do they have other options available, right?
SPEAKER_02I know they're using phone, but what else do they have? And I want to know the people who only have phone. And so trying to create those queries, trying to identify that, exporting to CSV, and then parsing in Excel. Anyway, so the goal was, hey, what if we had automated groups management at the underlying piece? Now we use member of and dynamic groups. Now we can actually populate groups that say, hey, these users have better options available. We could remove them from being eligible for that authentication method we really want to get rid of, right? Or we want to move this person up to temporary access pass,
or sorry, pass keys. But we don't want to like issue the temporary access pass and go through that workflow. And so, hey, what if we make sure that they have Microsoft Authenticator push, you know, set up?
SPEAKER_02And then once they have that, now we know that we're ready to go ahead and interrupt them for a passkey workflow or something like that. So those are just some basic ideas, but it goes broader into device attributes and other things as well that we can leverage this for identity protection and whatever else.
SPEAKER_01Yeah, right. I mean, that's a neat, neat idea. Like you're already giving me more ideas on how to like, you know, build a framework around that. But I mean, just the script helps do these groupings, right? Because every time someone goes to do a project on Entra, right? Like whether you are trying to move people up into more strong authentication and in large orgs, you can't just send an email out and just do it. You'll need to you know, roll it out in phases, work on the groups. And a lot of the time is spent on creating these reports, right?
SPEAKER_01And there's a lot of manual work. Someone runs a script, every day and then puts it all together, then sends out this email and then, you know, add people into the conditional access policy. And it takes time to go through all of that when you are doing those sorts of deployments.
SPEAKER_02Yeah, absolutely. And I know something else is like, well, how do I communicate with all of my users that we're discontinuing this method or, you know, something else? Right now in the scripts, they are set to mail-enabled as false, but we could definitely make those mail-enabled security groups. Now you have an easy email address to hit all of those users that are whatever the condition is of the group, right? So that's kind of a cool piece too. Yeah.
SPEAKER_01Awesome. We should put in that as a feature request to the intro team as well. Yeah. To get these sort of ready-made groups available that you can target.
SPEAKER_02For sure. Yeah. So speaking of authentication methods, have you worked on any recent migrations?
SPEAKER_01Because we had this deadline that the auth method. So just to take a step back, the authentication methods, it came from the old Azure AD. There's this old legacy screen where you define the complete auth methods. And then Microsoft many years ago introduced a custom new experience for defining authentication methods. Today, by default, is a combination of those legacy settings and the new settings
that define what
SPEAKER_01authentication methods the tenant uses, whether it's SMS and things like that. And the settings in the old legacy portal, they will override everything else. So if you enable mobile phone and SMS there, and if you have it as no in the auth methods blade, The tenant is enabled for SMS because that is sort of the superset. So you need to first turn it off there and then configure it here. And Microsoft has come up with a timeline.
SPEAKER_01I think when was that? It's going to go away. The old portal settings are going to go away at some point. And we've been trying to get people to move. and migrate into the new authentication method. So once you do that, settings will be really simple. Because even yesterday, I noticed someone posted a query on, was it on Reddit or on Twitter? They were like, oh, it was on the Discord chat. I did the setting and it's still prompting,
it's still allowing people to register SMS.
SPEAKER_01I configured everything. Why is this happening? I just want to turn this thing off. Or they were talking about the OAuth setting. And they couldn't figure out why. And then I can see if about five hours later, he must have spent time troubleshooting. He's come back saying, oh, yeah, I figured it out. I had it on in the legacy setting. And he's gone and done that. So it's always messy when you are in this state. And we recommend moving over. There's this nice green tick on the migration status that says...
SPEAKER_01Once you do that, you go through it in phases, right? So tell me, have you worked on a customer that you helped move over? What are the issues you faced and what prompted them to do this in the first place?
SPEAKER_02Yeah, yeah. So many migrations on this. Lots of kind of interesting takeaways, right? Yeah. So yeah, typically what we have people do, because it's so simple, is, well, I know you have future goals. You would like to get rid of SMS, and maybe you didn't intend to have SMS, but we want to minimize the impact on our users, right? We don't want to risk turning off SMS in both places, come to find out that was the only method for some user, and now they're stranded out there. They don't have... an MFA method they can use anymore and whatever it is. So typically we guide clients through like,
SPEAKER_02hey, let's make sure that these all match between whatever you had enabled in password reset, right? Whatever you had enabled here, whatever you had enabled in the per user MFA. So we'll come on over under users and there's a new blade. I actually don't have to go to that old portal anymore, which is great. But under server settings, if we come down to the bottom, it should list them out unless you've already migrated, they'll be gone. And then you can check the boxes for the different methods that you want to turn off. But we'll match those up with what's in authentication methods so that you're not making any real changes, right?
SPEAKER_02And then we'll just migrate complete. What we've found is there's about a five minute replication delay. So if you go, if you're really quick, Because you know what you're doing. And you can make those changes in both those places. And then come over here quickly and change that to complete. You can actually lock it before it makes the changes on the back end. And so then we've had issues where like, hey, every time I try to edit any of these, I always get errors. And you'll see the little dialogue up here. It throws an error and it won't save any settings and things. And then if we go back and check like five minutes later,
SPEAKER_02we'll notice that, oh, well, SMS, it's all grayed out, right? In the old method in password reset or wherever, but we can't uncheck it anymore because now it's all locked, right? So you have to come in here, put back to in progress, then go over, unselect, save, wait a few minutes, then come over and change it back. So we'll typically go match them up. We'll then go do something else, right? Talk about something. And then we'll come back here towards the end and and change it. And then that way we're sure we don't lock that weird. But then at that point, yeah, we totally see what all we can do to fine tune.
SPEAKER_01So if you match them up, like you go and see what's enabled and then you make sure that it's enabled on the new blade and it's set to all users, you're not excluding anyone. So that's how you match them up. And if you hit save, there's zero impact to users, right? They don't see any new MFA problems or they're blocked from... signing in yep right yep yeah and then you're you're moved over you're cut over but there are some methods that are not yet available uh or why not
yeah security questions i think is the only one that hasn't come over and um i think it's it's a really difficult one to get rid of because we do have education right and like
SPEAKER_02students don't have devices they don't have any other way to really And so there are some scenarios, disabilities as well, where security questions might be the only option that we have. And that's okay. We as admins are supposed to be making those decisions for our users. And so just don't use it if you don't think you need it. But it's kind of stuck there. And we didn't bring that over to the authentication methods area yet. So maybe that's something that'll happen in the future. But for now, yeah, it's still over here for SSPR. So yeah, getting that migrated is important. I think it was supposed to be September.
SPEAKER_02It was September of last year. And I think it got pushed to this September, right? 2025. Yeah. And so, yeah, it's a really easy migration. No risk of impact as long as you match those policies up and then migrate over. And then if you want, like, I believe there's a new wizard.
SPEAKER_01Sorry, go ahead.
SPEAKER_02No, no, you're good. There's a new wizard. Yes, there is.
SPEAKER_01I believe there's a new wizard that helps. Like you don't need to do the matching yourself. It will look at all the settings and it'll apply, configure it for you. So it makes it a bit more simpler.
SPEAKER_02Yeah, there is a wizard. I don't know if I want to back out and go to it. But yes, the wizard, what we have seen, though, is it does try to make some recommendations. And it says, these are strong, these are medium, these are weak, that kind of thing. And so I've seen some admins think like, oh, well, I definitely don't want SMS. But then they don't realize that they actually had users doing SMS.
SPEAKER_00Right, exactly.
SPEAKER_02And then they've ended up like, oh, I just forced like 40 users or whatever to re-register a new SMS and we got tickets and whatever else. And so that's the one concern that I have with that is just make sure that you're paying attention to what you're doing in the wizard if you're following it that way. When I register security information, that's stored on my object, my user object. I'm always registered for SMS. Even though SMS is set to no here, I'm technically still registered for SMS, right? But I can't use it because the policy here says it's not allowed. And so now if I was relying on SMS and I disable it here,
SPEAKER_02suddenly I go to log in the next time and, well, I have no eligible MFA anymore. So then it's going to capture me back into the wizard and say, hey, let's set up Microsoft Push and go through that whole process. But now I can't do the SMS that I used to have. which could be a problem if you had a reason that that user was using SMS, like non-smartphone or certain countries or restrictions. China can't use Microsoft Authenticator or whatever that might be. Yeah, you have to be careful with that for sure. And I do have a script. And that's one of the things with that operational group where it was born out of
SPEAKER_02that idea was, hey, let's grab all the existing SMS users, right? So we're just going to query that mobile method. Let's put them all in a group. And then now I can target that security group and then say no new registrations. But anybody who already had it can keep using it, right? So kind of a nice way to, and you could do it with OTP or whatever else, but those operational groups could easily be dropping replacements for that, right? We're just populating those groups on who registered. Now we just target those only and they can keep going until we're ready to nudge
SPEAKER_02them over, right? So there's the registration campaigns. It's great for that. And yeah, get them on over to the better quality.
SPEAKER_01Nice. That's cool. And we'll share the link for the operational group in the notes. So for those who want to try it out.
SPEAKER_02Yeah, totally. That feedback's great.
SPEAKER_01You have plans to improve that, like add more things? This is just the first thing, right? To group by auth methods?
SPEAKER_02Yeah, this is just for this specific reporting API, so I'm working on the risk-based ones right now. If you got P2, that's great. You know what your event was, but if you don't, you still know that you had a risk, but you just don't know what the risk details were associated with it. But it still might be useful to know as an admin, hey, I've got these users who do have risk. And I might want to apply just a little bit different restrictions to those users. Like maybe I'm going to lock down external access from non-trusted locations or
SPEAKER_02something for that user. Because they have a risk event. I don't know what it is, but I'd like to do something about it. And so that's kind of my idea there. And that's not going to be super helpful without knowing what the problem was. We don't want to lock users unintentionally. But I want to give some options for people that, you know, maybe certain user groups that is viable for. Or, hey, you can only use a company device when you have some risk. And unfortunately, we don't know what it is, but there you go. Yeah. Yeah. Well, that flexibility within them.
SPEAKER_02What's the detection method? If it's a medium, some of the mediums are kind of like, well, I might value that a little closer to high where there's some others where I might value that a little anomalous token, right? Well, that could be really bad, but also we've seen false positives. It's more prone to that. So I might not want to apply the same action to that as I do to other medium risks. And so I want to give some options for flexibility.
SPEAKER_01Awesome. Yeah, that gives you more ways to solve a problem, right? Like you have this tool as an intro admin, you have the different options. When people come to you saying, I want to do this, then if you have these groups running and created already, you can sort of reuse them in lots of scenarios. Yeah, and I don't think most people don't realize there's a member of for dynamic groups.
SPEAKER_02Oops, go to that. Right. And so once we have all these operational groups built out, we can actually use like, hey, I want a cross section of this group with this group with this group. We're excluding this group and that kind of thing. I'll have a bunch of examples, hopefully, of those that are some common scenarios that I can think of. But anybody that wants to contribute would be awesome. But yeah, like, hey, I want all my users who have a medium risk that also had a device with an incident within the last six months, right? Cool. Well, we could probably populate that based off of a Graph Security
API and that kind of thing.
SPEAKER_01Nice. Yeah. One way I used to do licensing was to use the attributes. We would create extension attributes that say, this person needs M365 or E3 versus E5. Sometimes you purchase licenses for just specific users. So what we did is we built this whole licensing engine because if it's a large enterprise, the billing model within the enterprise is different.
The business unit would pay for that person, so they go to the procurement site and buy it.
SPEAKER_01And we had this licensing engine which would not go and put people in groups, but it would apply a different attribute, because you would then use these dynamic groups, which would look at the attribute, and then you'd have licenses attached to them. I guess even this, you could potentially put those metadata, like the auth methods in an extension attribute, and then you can create any sort of fancy group that you want to combine
SPEAKER_02Yeah. And that's something actually Jeff Kizmer brought up as well. And I like the idea. I know we're limited to a certain number of them. And one of the other benefits- That's the only cache, yeah. You have, I think, 50 to 100 for a tenant and it's stored against the user. And if you have lots of scripts and they end up writing or writing each other,
SPEAKER_01you'd want only one script to manage. One attribute. And that's the catch with that.
SPEAKER_02Yep, yep. It gets tricky for sure, maintaining those. And so, but yeah, I could definitely see some use cases where like, hey, I have CrowdStrike. Defender for endpoint is really nice. I can use that in my compliance policy. And then when a device has an incident, that flows through. And there is a slight delay. If we actually were doing a webhook, right? Because there's a lot of opportunities here for like in near real time. a few minutes of ingestion time right um that we know that an event happened we could kick off the same azure automation workbook or if you wanted a full-blown
function app that's running all of these scripts and stuff you could totally go that route too but we might want to apply that extension attribute based on a risk event that happened in crowd strike and now suddenly we have this matching filter
SPEAKER_02where no, we're not issuing new tokens to that device. So I kind of like that we might be able to bring that functionality over. Nice. The group membership won't work for devices, right? But those attributes certainly would. So it would be, I'm going to build them as groups just so we have visually as an ad sysadmin. I loved being able to look at groups and say, who all is actually this going to apply to, right?
SPEAKER_00Right.
SPEAKER_02And so they're kind of nice logical containers to visualize things. But these extension attributes are usable. And so it might publish something that shows how to go ahead and change that. And it's going to be the same query. It's just we're changing what it's doing. Instead of adding to a group, we're setting an attribute. So pretty cool.
SPEAKER_01Awesome. Yeah, so many neat things you can do. So bringing in things from other systems and plugging them in and then creating your own CA policies that target those, right? And you're building all this out just using Entra and the Graph API and maybe a script that runs daily or hourly even, which can do that. And if you have web books, it can be good. But um you you do need to have it running somewhere but i mean if you have a server
lying around you you could just put chuck that in there and have it doing that i used to do that before when um before we had multi-tenant sync and you needed to get guests uh from one tenant into the other you i i wrote a complete script and
SPEAKER_01chuck we chucked it into a server that would just add people into the other tenant based on group memberships and so on. And users suddenly had access into this specific tenant, which had access to certain maybe Dynamics 365 or some customer data. So yeah, until Entra brings the feature, you can have it running. And then once it's in the product, you can move into the product-based solution.
SPEAKER_02Yeah, yeah, absolutely. I mean, lifecycle workflows, some of those things are great. Cross-tenant synchronization is great, too. It doesn't work across GCC and commercial, right? So that solution is still very viable there. Yeah, exactly. And sometimes it's nice having that control on the... We end up having this conversation a lot like, well, where do we put it? And so if you already have servers that are running a lot of this orchestration and stuff, and that's great. If you ARK enable it, you can definitely use a managed identity. And then that's really nice. We just grant that managed identity permissions to all the APIs
and stuff that it should. We do have to think about privilege escalation and all the fun stuff in there.
SPEAKER_02And the ARK agent can be hardened, right? So I'll be sharing something a little later today. It can be told not to listen to any policies from Azure, and so it has to be reconfigured locally. It's for tier zero assets and stuff. But yeah, so we can definitely do some hardening there, but oftentimes I'm looking at, okay, I have Defender for Endpoint, $60 license a year, right? I have maintenance, other tooling probably, patch management, whatever else on that server. So that server, more than just maintenance and operating costs, is Azure Automation and Function Apps and Logic Apps.
SPEAKER_02That makes so much sense.
SPEAKER_01So much sense. So you have Azure Automation. You could use Azure DevOps. Azure DevOps comes with free build time as well. So you can start off with zero cost. use that compared to Azure Automation. And you don't need to go into Azure to build these things. You can just have a DevOps tenant that you spin up as an intra-admin and you can run things off there. Yeah, so there are lots of options. And that's one of the things with Meister that we do.
SPEAKER_01Yeah, I see you're bringing it up. It's one of the guidance we give on how to set up Azure DevOps, run Maester, and even use workload federation. So you basically don't have any secrets. You don't need to worry about that. And it took me a while to write those docs because it wasn't all in one place on how to do all of that. So the Maester docs are a good guide for doing any sort of DevOps automation that you want to set up with different things.
SPEAKER_02Yeah, it's fun. I'm actually doing it right out of GitHub on, you know, on that one there. Nice.
SPEAKER_01Yeah. Awesome.
SPEAKER_02But yeah, there's a lot of places we can run those out of, but it's just so much less expensive than dedicated servers for just scripts and things, you know, and so, yeah, so that's a good plug there.
SPEAKER_01Yeah, the old school, even though if the VM is running in the cloud, it's still a lot of work to make sure it's patched and, you know, all of those, the old school things that you need to go. Resource costs, everything, yeah, yeah. Yeah, but sometimes your security model and the org hasn't moved yet to be thinking cloud native. So you're limited to what your enterprise allows and then you already have a server and then it becomes like, okay, I'll just chuck that script in there and put it in task scheduler,
SPEAKER_01let it run daily and do that. So that's the other, you do with what you have, right? Yeah.
SPEAKER_02Yeah, totally. Yeah.
SPEAKER_01Cool.
SPEAKER_02That works great.
SPEAKER_01Thank you. I feel like we can just keep on talking about lots of all these cool, cool things. And I'm sure we will have a lot more conversations with you on the intro chat, Nathan. Any closing thoughts, anything you want to share, you should follow. Everyone should definitely, definitely follow Nathan on LinkedIn, Twitter. You're on Blue Sky as well?
SPEAKER_02I am, yeah.
SPEAKER_01Awesome.
SPEAKER_02Check all three of those.
SPEAKER_01Yeah, I learn something new from you every week. And that's the reason I wanted. Because you are really going in and doing these things and you're learning from them. And then you do take the time to share that. with others. And that's super valuable to everyone. And you're always ready to help answer questions, things people tag you on. I find it really hard these days to answer. I get tagged on lots of things.
SPEAKER_01And I'm always grateful that you're there to help answer those.
SPEAKER_02Hopefully I get it right most of the time. But yeah.
SPEAKER_01Absolutely.
SPEAKER_02Yeah, no, it's very fun. I love that our company lets me do some of that stuff. So usually it's just, you know, they're common things. Most companies have similar questions and I just get a chance to work through it. And so it's kind of fun to get to share instead of, you know, well, this is our internal thing or it was for a client. So we can't share. I don't ever have to share who the client is. We just share the details of it. Right. And so it's kind of nice. Yeah.
SPEAKER_01Awesome. Nice. Looking forward to maybe you'll have a chance to blog about your operational groups as well. For more people learn about it. But I mean, we went through it in the podcast. I think this is the first time you sort of showed it off.
SPEAKER_02Yeah, just starting. So we'll see where it goes. It's fun. I've got a few other projects that I got to wrap up as well. Some Defender related things, working on some modules for the Defender XDR portal. So nice. Yeah, going to be converting all that research into kind of a PowerShell module. So we can do automated configuration across all that and then some performance monitoring stuff as well for Defender.
SPEAKER_01That's going to be definitely looking forward to that. Awesome. Thank you so much, Ethan.
SPEAKER_02Yeah, absolutely. Thanks for having me on.
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...