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

Automating Governance: The New Standard for Microsoft 365 Tenant Snapshots and Remediation

Feb 7, 202647 minAudioEpisode 47
ShareXLinkedInFacebookWhatsAppEmail

Governance in Microsoft 365 has always been hard. Not because the tools didn’t exist, but because scale, complexity, and change made consistency almost impossible. As tenants grow, so do the challenges of configuration drift, manual admin changes, and inconsistent environments. For years, admins have relied on scripts, tribal knowledge, and community-led solutions like Microsoft 365 Desired State Configuration (M365DSC) to manage this “policy sprawl”. While M365DSC was a groundbreaking open-source effort, it often faced a steep learning curve and lacked official Microsoft support. Until now. In this episode of Entra Chat, we sit down with Nik Charlebois, Principal Program Manager at Microsoft and the original visionary behind M365DSC. Nik now leads the charge for one of the most significant platform shifts in Microsoft 365 administration: Tenant Configuration Management (TCM). Shadow IT and SaaS sprawl are outpacing IT teams It can feel impossible to tackle these app governance challenges:📦 Entra ID isn’t secure by default💥 SaaS adoption & sprawl isn’t slowing down⌨️ Citizen Development keeps rising (hello, Copilot Studio!)🗑️ Vendors often don’t remove apps after uninstall🔃 Offboarding is inconsistent or doesn’t happen at all🥔 App governance is passed around like a hot potato ENow AppGov Score shines a light on lurking risks, providing a free App Governance Benchmark Report for your Entra tenant. Reclaim control and protect against breach & disruptions. Free upgrade to Standard Tier for 7 days once you get your score. What is Tenant Configuration Management? TCM is Microsoft’s official “Config as Code” platform for M365. Built directly on top of the Microsoft Graph, it represents a new operating model for how tenants are governed. Key features discussed in this episode include: * Official Support: Moving beyond best-effort community maintenance to a fully supported Microsoft solution. * Simplified Experience: Transitioning from cryptic MOF files to human-readable JSON templates, significantly lowering the learning curve for admins. * Snapshot & Drift Detection: The ability to capture “snapshots” of your tenant’s current state and monitor for unauthorized changes. * Automatic Remediation: Automatically reverting detected configuration drifts back to your defined “gold standard” state. * Broad Coverage: Support for core workloads including Entra ID, Exchange, Intune, Purview, Defender, and Teams with more to come. This isn’t just a new feature; it’s the evolution of tenant governance into a native, API-driven platform. Tune in to hear Nik explain how TCM is bridging the gap between community innovation and official enterprise-grade management. Listen to the full episode now to learn how to start your journey with the TCM public preview! Subscribe with your favorite podcast player or watch on YouTube 👇 About Nik Charlebois Nik is a Principal Program Manager at Microsoft leading the Microsoft 365 configuration-as-code efforts. Ex-MVP, speaker, blogger, and author, he leads the configuration-as-code efforts for Microsoft 365. LinkedIn - https://linkedin.com/in/nikcharlebois 🔗 Related Links * Nik’s Blog - https://nikcharlebois.com/ * Overview of the unified tenant configuration management APIs - https://learn.microsoft.com/en-us/graph/unified-tenant-configuration-management-concept-overview 📗 Chapters 00:00 Intro 03:44 Origin of M365DSC 07:51 Introducing Tenant Config Management 09:24 Supported Workloads 11:15 Control Plane vs Data Plane 14:26 DSC vs TCM Architecture 15:22 Snapshots and Monitors 18:56 Managing Drift Across Environments 28:03 Licensing and Limits 32:48 Authentication and Permissions 37:53 Getting Started Podcast Apps 🎙️ Entra. Chat - https://entra.chat 🎧 Apple Podcast → https://entra.chat/apple 📺 YouTube → https://entra.chat/youtube 📺 Spotify → https://entra.chat/spotify 🎧 Overcast → https://entra.chat/overcast 🎧 Pocketcast → https://entra.chat/pocketcast 🎧 Others → https://entra.chat/rss Merill’s socials 📺 YouTube → youtube.com/@merillx 👔 LinkedIn → linkedin.com/in/merill 🐤 Twitter → twitter.com/merill 🕺 TikTok → tiktok.com/@merillf 🦋 Bluesky → bsky.app/profile/merill.net 🐘 Mastodon → infosec.exchange/@merill 🧵 Threads → threads.net/@merillf 🤖 GitHub → github.com/merill Get full access to Entra. News - Your weekly dose of Microsoft Entra at entra.news/subscribe

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show. Tap a time to play from there.

SPEAKER_00Intro chat with Merrill's life. Dig in deep where techs thrive. From the latest hacks to cool updates. Join the right people.

SPEAKER_01Hey folks, welcome to another episode of EntraChat. And today we're going to talk about a really very interesting topic. And it's something that a lot of all the intra-admins and M365 admins have been asking for. There's a huge community usage around what we're going to be talking about. And I have no one who can talk about this much better than Nick Chalboy on the team. Sorry, I hope I pronounced your name right. Welcome to EntraChat, Nick.

SPEAKER_02Hey, Maril. Thanks for having me over. Glad to be here.

SPEAKER_01Awesome. Nick, tell us a little bit about yourself, how you came to be at Microsoft and your journey, especially the community work you do as well.

SPEAKER_02Yeah, sure. As you can tell by the last name, Charlebois, I'm based out of Quebec. So my first language is French. I am based out of Gatineau, Quebec. So right across from Ottawa. I'm principal program manager in the Microsoft 365 core team. I am leading everything that has to do with tenant configuration management. I started at Microsoft a bit over 10 years ago. Before then, I was a Microsoft MVP for a few years, decided to make the transition. When I started at Microsoft, A was a SharePoint dev PFE.

SPEAKER_02So PFE used to stand for a premier field engineer. So when I joined the team, there were three of us across the country. Within the first month I joined, and I hope I didn't have anything to do with it, but the two other guys left. So that meant I was the only SharePoint tab for the entire country. Wow. The first, I want to say, three to four years of Microsoft was me flying left and right across the country and across the states to go to customer site, do some workshop, be able to solve some SharePoint issues. So that was a lot of fun, but a lot of travel with two young kids.

SPEAKER_02That's crazy.

SPEAKER_01What version of SharePoint was it at that time?

SPEAKER_02When I started, it was 2013 was being rolled out.

SPEAKER_01Wow, that is an old one.

SPEAKER_02Good old day. Yeah, yeah. So it was more easy. It's up on 2010 when I started, then 2013 came along, and then just the normal flow of 2016, 2019.

SPEAKER_01I still have a lot of scars from my SharePoint days, like just running the WSP, those commands, and hoping IS doesn't crash or freeze on you.

SPEAKER_02So I actually made my transition. So I started as like pure.net dev, right? C-sharp.net. And then I kind of made my way to the IT pro side of things, just learning PowerShell, doing a lot of scripting. And that is kind of how I got into the MVP program and then decided to actually go and move over to Microsoft. So it was a lot of dev, but also a lot of scripting in my case.

SPEAKER_01Yes. Yeah. I think for me, the PowerShell journey also started like around that time. It's SharePoint sort of was the first PowerShell intro. A quick way to do things that we typically had to go and compile for, right?

SPEAKER_00Yes. Yeah. And yeah, so that was, I did that for a few years, then became a PFE manager for a few months.

SPEAKER_02I actually became PFE manager at the beginning of March, 2020. Perfect timing, right? Yeah. Pandemic right around the corner. So Pandemic came along and then I moved over to the Microsoft Graph team where I was a customer program manager there for about two years. And then since I've moved in the current team that I am in right now, leading all the tenant configuration management API stuff. Nice.

SPEAKER_01Awesome. So tunnel configuration is a new term. Not a lot of people know about it. But there is a project we've been working on, which almost everyone has heard of and know about it. How did that start? And what is the journey there? And what's the project as well? Yeah.

SPEAKER_02Yeah, a lot of folks might recognize my name from the Microsoft 365 DSC open source project, right? When I joined Microsoft, the very first project I worked on was, all right, so as I mentioned, I was a PFE. So very often my job was about Getting a call over the weekend from a customer that had an emergency and then having to fly there on Sunday so that I can be on site first thing Monday morning. And very often I would get to customer sites and we weren't

really allowed to be hands on and to try to troubleshoot or investigate what was happening with the

SPEAKER_02customer site. I decided that I was going to come up with a solution that would actually analyze the customer's SharePoint farm, right? Get all the settings that they have, then send me that file back so that I can go and replicate while I'm sitting on a plane, connect it to my VM, be able to replicate their farm. So at that time, when I go on site on the morning, I would actually have my VM with a SharePoint farm that looks very similar to what they have. So that if we needed to try certain things, I was able to replicate that in my environment. So this is where the idea of being able to extract,

SPEAKER_02if you want, the current configuration of an existing environment came along. And then that thing evolved into Configus Code and it became that community project that we've started back in 2018 named Microsoft 365 Desired State Configuration. gained a lot of traction since, but it initially started as a way to reverse engineer a SharePoint farm and then clone this over. And now it has evolved into this thing where you can go and back up all of your Microsoft 365 configuration. You can go clone configurations across tenants.

SPEAKER_02You can go and continuously monitor them and so on.

SPEAKER_01Nice. I didn't know about the whole SharePoint side of the story. I always assumed it was a 365 thing that you built, but yeah, it makes a lot of sense And it would have worked really well in SharePoint, right? Because of like the whole on-prem and the VM and DSC was a no-brainer. I think if you do a search on my name or if you do a search on reverse DSC, there are still a couple of articles out there from back in the days about how you

SPEAKER_02can go and clone your SharePoint farm. And so that was really the beginning of the config is called Journey for M365. Nice.

SPEAKER_01It's the origin story. So you heard it here first on intro chat. So DSC is very popular. Like I get so many questions because I have Entra Exporter. It's an open source project just to export Entra settings. It's almost like every week I get a ping from someone asking, is there a way to restore the Entra config back into another tenant? An entry exporter, just as the name implies, has always been to just export your settings and like, you know, you want to keep it for auditing or like a history view.

And I always keep pointing people back to DSE because that's been the solution

SPEAKER_01that, you know, does everything. And you've been like, I don't know how you do it, but... You kept on top of the ever-growing Graph APIs as part of the DSC project and you keep on keeping it up to date. There's a huge army of contributors as well, right? I've seen like 100 plus who do help you. So it's an amazing community project.

SPEAKER_02Yeah, definitely. Yeah. So that started back in 2018. Right. So it's been almost eight years going. So, yeah, we've had people, we had MVP, we had people from different nonprofit organization contribute certain components. We've had internal Microsoft staff. We had people from other partner companies contribute. So, yeah, it's been it's been a fun journey for sure. And so basically this is why like it's open source. That's the reality, right? So it is led by Microsoft, but it's maintained by the community.

SPEAKER_02And at the end of the day, it is maintained on the best effort basis, which has always been a problem. When customers use a solution to either take snapshot of their configuration, try to restore certain settings or continuously monitor for configuration drift, because that's another thing that we allow, it's not an officially supported solution. So very often they're being told, well, open the issue on GitHub and the team will get to it when they had a chance. The other thing is that the solution right now that we have, the open source solution, is PowerShell based. And there's a steep learning curve, right? So you need to be fluent with PowerShell.

SPEAKER_02To be honest, my audience is mostly IT pro. So that doesn't tend to be a problem. But then you need to know all about desired state configuration. And you need to know all things are specific to enter 65. So the learning curve is steep. So my team took a bet about two years ago to go and build an official solution for Microsoft that would offer the same feature sets so the ability to go and back up your current tenant setting be able to restore them so it's more of a back i use the term restore but it's more recreate right so it's backup and

recreate if something like in the cases where we don't support soft delete deletion for certain settings we will go and recreate them the ability to continuously monitor your tenant for

SPEAKER_02configuration drifts and be able to automatically correct those detected Right. So we decided we took the bet to go and build an official solution that would do two things. First off, offer official support for our customers, which was a big thing for me. And then the second thing is reduce that learning curve. So we decided to build this on top of the Microsoft Graph. Right. And then people can use whatever flavor they want to go and interact with it. If you're still if you still want to do PowerShell, you can use a graph SDK to call into those APIs.

SPEAKER_02You can use .NET. You can call the rest APIs directly. OK.

SPEAKER_01Nice. So what's the scope of this? So you say tenant configuration and there are lots of tenants, right? We have Entra tenant, we have an Intune tenant, we have M365. And then there are like from the audience here, it's like most the security side of things. So you have like Defender, Sentinel, and there's a lot happening there. First, tell me about what DSC covers and then what tenant governance covers and like what's the difference?

SPEAKER_02So our goal is to get to parity, right? Right now, if you look at the coverage that we have in the open source solution, we cover all the main Microsoft 365 workflows. That is Entry ID, Exchange, Intune, SharePoint, OneDrive, CurveView, some Defender, and I'm saying some because we only have a very small surface area. We're looking to improve this and Teams. And then we have support for other things like Power Platform. We recently introduced support for Sentinel configuration for Azure DevOps. So we're touching everything that is part of the control plane

that does have APIs.

SPEAKER_02Because at the end of the day, we're just wrappers around those APIs. From the tenant configuration management side of things now, the official solution that we're building, we will start by supporting Microsoft 365. We announced public preview of the platform on Tuesday, January 27th, 2026. And that will support Antra. That will support Exchange Tune. Review Defender and Teams. SharePoint will come later. We will add this post preview, but we support the six main Microsoft 365 workload.

And the other thing that's really important to understand is that we kind of draw

SPEAKER_02the line at the control plane level. So for example... While there are APIs to go and manage, say, SharePoint files or be able to go and manage things that are at the, what I call the data plane, right? We don't support that. Those are not great candidates. We really support the settings. So policies, tenant-wide settings, things like group naming policies and entra, right? So it's really tenant-wide control plane settings that we support. As the name implies, right, it's the configuration versus the actual data.

SPEAKER_02There are some gray zones, though, right? If I look at Teams, for example, Teams, if you're Teams admin, you can go through the Microsoft Admin Center, the Teams Admin Center, and manage your teams and channels. But as an end user that has access, you can also do it. So there are certain things that are kind of that gray zone where they're both data plane and control plane. We support those, but we tend to draw the line at the control plane level as much as possible.

SPEAKER_01Yeah, like a good thing for the intro audience would be in intro, you have groups, which is what teams is made up of groups. So the majority of groups are just data, you would say, right? Like you have in a large enterprise, maybe 100 new groups being created every day, and that doesn't really form the configuration. But as we build Entra, maybe in conditional access, we have a security group assigned or we have a dynamic group that's used for licensing. And for me, that falls under the configuration story as opposed to the data

side of it. So I'm really interested in backing up those groups, but not the rest of the other groups.

SPEAKER_02Yeah, and that's the discussion I keep having with customers, right? The fact that we support enteral groups doesn't mean you should monitor them all, right? Like very often when you talk to large enterprises, they'll have dozens of thousands of groups and they're saying, I want to monitor them all. Like why? Like I understand the membership, the member stuff, but like in the cases of dynamic crew, dynamic groups as well. So typically what we would recommend is identify the core groups, right? The ones that are part of, let's say, the excluded groups or included groups for your conditional access policies, like you just alluded to.

SPEAKER_02Those you need to monitor. Those are really your core groups. Yes, you can monitor the whole thing if you want to, but really, typically, you're trying to go and say, right, these are really the critical groups and users that we have, and those are the ones we want to monitor.

SPEAKER_01Right. Awesome. Let's take a quick pause to talk about AppCups Co. from eNow Software, our sponsor for this week. If manually managing risky apps in Enter ID feels overwhelming, this free tool gives you instant visibility into your app risk profile. In minutes, you'll get a benchmark score and insights across 24 key checks, plus a free seven-day upgrade to identify specific governance gaps to take action on immediately. So take the stress out of keeping interest secure.

SPEAKER_01Visit appgubscore.com and click try for free. That's appgubscore.com. And now back to the show. So tell us, how does it work? You mentioned this is an API and... What's the difference? I know there'll be a lot of people who are using DSC today. What's the story between DSC and configuration API? Will they both always exist? Will, is DSC going away? What's the journey you're looking at? Yeah, and then we look at deep dive into configuration,

into the tenant config API as well.

SPEAKER_02Yeah. So under Surface, they look very similar. The format itself is probably the biggest difference between the two. When you look at M365 DSC, the format in which you write your configures code is DSC, which is proprietary. You look at it, it feels like it's JSON, but it's not. And it needs to be compiled to what we call a MOF file, which is extremely cryptic. If you wanted to, you could write your MUF file directly, but I wouldn't suggest going through that pain, right? So it is a little more complex in that sense. And then the DSC executes through a service called the Local

Configuration Manager,

SPEAKER_02which is really a black box, right? That goes, that comes with PowerShell, but it executes there and it needs to run on the customer's machine or on the VM or in the container. So it runs on the customer side. When you look at 10 configuration management, the config templates are based in JSON. OK, so easier for you to read, to be able to digest. And the entire processing, the computing is happening on the Microsoft side. So you call our APIs and all the processing happens on our end. So I'll flip back and forth between different,

because you had a couple of questions there. As far as the future of M365 DSC, we're not going to go and archive the solution.

SPEAKER_02The solution will stay there. I'll continue to evolve as a community-led project. Of course, our focus is going to shift towards UTCM, right? The tenant configuration management APIs. You're going to hear me use the term you because that's how we refer to it internally was unifying tenant configuration management. The tenant configuration management is what we're building. So our focus is going to shift to this, right? And I think at one point, as I mentioned, the goals have parity between the two as far as the surface that we support. But soon after, TCM will pick the pace and become more than M365 DSC for sure.

SPEAKER_02The idea is that you call our API. So let's in the case of snapshots, you call our APIs, you say, I want to go and capture my entry groups, naming policies, my entry ID, conditional access policy, my exchange transport rules. So you go very granular, you specify what you want to capture. You call our APIs that will start a background job called a snapshot job that will go and collect the current state of these settings. And at the end, what it will do is it will output a JSON file that represents the current settings

SPEAKER_02that you have on your tenant. So the current state of your tenant. You can then take this. You can make modifications if you want to, or you can take it as is. And then call our APIs for creating what we call a monitor. A monitor is a schedule.

SPEAKER_01So when you say it creates a snapshot, is that something we download, who is calling the API downloads, or is it captured on the Microsoft backend? Yeah, so the snapshot itself, the resulting JSON, is going to be stored in the tenant itself.

SPEAKER_02Okay, so the only way for you to go and retrieve it is through our APIs. Now, TCM is not a file management solution. That means that those files are going to be there for seven days for you to go and grab. Recommendation is for you to go and download those, bring them in some type of application lifecycle management, like Azure DevOps, GitHub Enterprise, where you can actually have versioning, you can make modifications, submit them as pull requests, get them approved and so on. But yes, it's up to the customers to go and download them. we might look at allowing you to go and create those directly and say,

SPEAKER_02Azure storage with customer encryption key moving forward. But right now they are stored in the tenant itself and you need to call our APIs. So once you've done that, right, you call our APIs for monitors, you pass in that configuration template that starts a monitor is really a schedule task that will run a schedule. And what it will do is it will read the configuration that you have. So let's say you define one conditional access policy that should be, um, report only and that should exclude those groups it's going to take this definition look at how your tenants currently configured and make sure they match if they find

if it finds a discrepancy it's going to go and report this as a so a drift can either be just a notification where you're going to get notified that hey there's a new drift in this conditional access policy where it was supposed to be report only and somebody went in and turned it on right which could actually lock some of your

SPEAKER_02users out So you want to address this. So you could go and manually do it. Or you can set the monitor in remediation mode, which means when you detect a drift, you go and you automatically fix. So then in this case, what it would do is it would go and would flip that conditional access policy back to report. Nice. The monitors right now, they're in are running every six hours. So that's four times a day. We understand this is not ideal. We will go and release different schedules that customers can choose from. So we will have the ability to run it every hour, every two hour, every six,

12, 24 hours.

SPEAKER_02But the one hour thing is going to be the minimum. We might look at having some other ways to run it more frequently in the future, but one hour is what we plan for general availability. Right. And when you say monitor, can you pick like the conditional access itself?

SPEAKER_01There'll be lots of different settings. Can you pick which part of it to monitor? Or is it the entire policy that the entire object that gets monitored?

SPEAKER_02That's a great question, right? This is Configure's Code. So it works the same no matter what config is called technology you use, right? So the solution is only aware of what you define in your config, right? So if, for example, you have a conditional access policy and by default, say conditional access policy have 25 properties, right? Like excluded group, included roles, so on. If you decide to only define as part of a config included roles, that's the only thing that the monitor will check for. It'll ignore the rest, right? So you can definitely go as granular as you want and only

include what you're

SPEAKER_02really interested in. If you don't care about, I don't know, like the actions of your conditional access policy and only care about the included, excluded groups, you can do just that if you want.

SPEAKER_01Nice. Awesome. Cool. So this, would it work across the drift config, drift monitoring is really useful for like, say the production tenant. But I know some of our mature customers would have a dev and test tenant, and then they would want to, you know, the key parts of the CA policy should stay the same between the dev and test. Would the, does the API support that? Like I can take a config of a like a test tenant. And then if I want it to be the same in, you know, my production tenant as well,

I can pass the same config and have the prod tenant be monitored for that so that

SPEAKER_01those two tenants stay in sync and I'm alerted if they are different.

SPEAKER_02Yeah, you can actually add parameters to your config, right? So what that means is they add your config template. Let's say you have, we'll take the example again of conditional access policy. You have different groups that need to be excluded in your dev, your pre-prod and your prod tenants. So what you would do is in your template, you would actually go and say excluded group equals, and then you would define a parameter in their variable that would be excluded groups, let's say. And when you create the monitor, when you go and create the monitor in dev, you're going to say, right,

SPEAKER_02That variable equals dev and mins for this tenant. For this monitor here where we're in pre-prod, that value equals pre-prod and mins. So that way you keep JSON the same is when you go and create a monitor that you inject different parameters if you want. And to build on this scenario, right, one of the most common scenario we're seeing right now with the open source solution, and it is something for sure we're going to start seeing users use the TCM APIs for, is the ability to promote changes through the various tiers, right? Very often when I talk to customers and ask them,

SPEAKER_02all right, do you have like a dev tenant and a pre-product? Most of them will say yes. And then the next question is, how aligned with production are they? 99% of the time they'll say, well, thank you. completely disconnected, right? It's at a point where it doesn't even make sense for us to test in dev anymore because we're going to run into a bunch of issues once we promote to the prod. So very often what customers will do is they'll use the tool to take a snapshot of prod and they can either use this to assess the discrepancies between dev or they can just take that config and reapply it to dev.

So they'll refresh their dev environment to have the same settings as production. And then from that point on, what they'll do is every time they have a change,

SPEAKER_02They'll go and make the modification config is code wise. They'll push it to dev, test it there. It works. Then they'll promote it, passing in different parameters to pre-prod. They'll test it there and promote it. But it's always the same steps, right? So we see a refresh from prod to dev. And then from that point on, we start moving up the tiers again.

SPEAKER_01Nice, nice. I love that approach that you can take that one config. I mean, that's the DevOps dream, right? To have one config... and then keep applying it to the different environments. And you can put that in Git or in Azure DevOps, and you have that as an audit trail, which is what those of us who come from the dev background, we do all the time when we build code and we deploy it to different environments. It's always been a nightmare to do that with

SPEAKER_01M365 or, you know, tenant configuration. So this has always been the dream. So it's awesome to finally see something as a supported solution from Microsoft to be able to do that.

SPEAKER_02Well, we're getting the tool. but the process remains on the customer's side, right? So you're spot on. One of the things we're seeing is a lot of customers, they'll go through a change advisory board type of process, right? What they'll do is they'll use Configurus Code. That's their source of truth. Any changes now needs to happen through Configurus Code. So they want to make sure that they prevent users from making point-and-click changes through the interface or just running ad hoc scripts that they found on the web. Everything is streamlined through the Configurus Code. You make your change, you submit a pull request,

SPEAKER_02it goes to a change advisory board, they approve it, and the moment they approve it, it gets pushed to dev without you having to do any human interaction. And that is the true DevOps story for what we're building here for Emtree.

SPEAKER_01Nice, nice, awesome. I do want to touch on, because I've been seeing internal threads over the last two years as you were building this. As part of building this, you actually have impacted even how Graph works. api works and you know there are places where graph was not there and you you made some progress in getting better support for graph where things were lacking and so on i mean it's always a battle but tell us tell me the that journey and like it's a positive thing i think overall Where you, because it's an official solution,

we've had better support being added to Microsoft Graph for various properties and

SPEAKER_01so on.

SPEAKER_02Yeah. So, I mean, there's always two things here. The first one is we, as I mentioned previously, we're working with public APIs. Okay. So behind the scenes, essentially where we are are wrappers around either graph APIs or other type of APIs. So we need public APIs to be available in order for us to tip into the features. Now, I'm not going to lie. There are still some problems where sometimes new features will get released without any API support. So we're trying to stop this and make sure that people release new features with public APIs so that we can tap into.

SPEAKER_02And then there's always the backlog problem. how do we address what's out there that doesn't have any apis so we it is a a tough battle that we're fighting but we're trying to bridge that gap as much as possible we hope to get there the other thing is there are some workloads like if you take the example of exchange the security and compliance so purview stuff and the teams components as well right now there are no public api there are no graph apis sorry to be able to call into Exchange and create a transport tool. The way to do this via automation is to use the Exchange

PowerShell module. So with tenant configuration management APIs, we actually have adapters that let you do this. So this is something that you're not able to do without PowerShell, whereas now we have... Graph APIs that you can call into TCM and that will actually go and ultimately call

SPEAKER_02into the Exchange APIs. And so that is something new, essentially, that we have where you're no longer required to use Pyroshell directly to go manage Exchange. You can now use Graph to those Config as Code templates. But yeah, so ideally we would have Graph APIs for everything. That is my North Star vision. Are we going to get there? Hopefully we will, but it will take time.

SPEAKER_01Nice. So that's interesting. How does that work? Is the PowerShell running in the backend? Like when you were talking about the transport rules in Exchange?

SPEAKER_02Yeah, so we do have adapters, right? So we don't have adapters that will call into it. So ultimately, it's the same flow that the PowerShell uses. It's just we're calling it directly. So we're not calling into any special APIs that people don't have access to. It's the same thing. It's just we create an adapter behind the scenes.

SPEAKER_01Right. And that's running as a client who's calling the API, I don't need to install any Exchange PowerShell. No, no, that's just running.

SPEAKER_02Of course, as I mentioned previously, if you still want to use PowerShell, you're going to be able to install the Microsoft Graph PowerShell SDK, and then you're going to get things like new MG min config management snapshot, right? Instead of calling our APIs, start the snapshot job and so on, you're going to get this, but you're not required to install any PowerShell stuff to be able to tap into exchange and teams anymore you just use a configure scroll template color graph apis and behind the scene we'll take care to call those apis awesome effects that's like the feature set as you keep explaining it's uh it's

awesome to hear all of the stuff that you build there's a lot of thought you put in and like it's been

SPEAKER_01a journey right that is it two years to get to public preview So we had a first round of internal preview last January, so January 2025.

SPEAKER_02So it's been a full year before we launched public preview, but we started working on this back in 2024, right? So it's been, yeah, almost two years now.

SPEAKER_01Cool. Awesome. So next, let's talk about, is there licensing? What's the licensing story and is it available for free or part of any suite or what's the story around that?

SPEAKER_02Yes. Right now, while we're recording this, we just launched public preview, right? So there are still some licensing discussion happening right now. One thing we know, so if you take a look at the specs for public preview, what we're offering is anybody that has an E3 or P1 license can start using the APIs right now. And there are no other requirements than E3 or P1. P1 tends to be one of the most common skew there. But that gives you some, that comes with some limitation, right? So you're going to be able to monitor up to 800 settings on a

daily basis.

SPEAKER_02What that means is, all right, so right now they're in public preview that runs every six hours or every four times a day. So that means that your monitors can only monitor up to 200 items, right? So 200 times more. That's your daily limit. And then from a snapshot perspective, we allow you to back up to 20,000 items. So I think that one is more than fun. We understand that customers, some customers will need more than that. So we are working right now to figuring out how can we actually offer additional capacity for those customers. Now, the reality is we're just trying to figure out how to cover the

cogs.

SPEAKER_02We're not looking to make this into a money-making solution. It's just figuring out how can we actually make this available to everybody and cover all the cogs that that incurs. So bottom line is, I'm trying to be, feel like I'm a politician right now. But it's basically what I'm, so we have some limitation, some limitation for free right now. And then there will be ways to acquire additional capacity. We just don't know what that will look like.

SPEAKER_01Yeah. And that's part of the public preview, right? And that's what you are hoping to hear feedback from customers using it and then sharing feedback with you. So you mentioned E3 and was it P1? When you say P1, are you talking about Entry P1?

SPEAKER_00Entry P1.

SPEAKER_01Right. So if you have that, you can call into the APIs. If you're on a free tenant, the API is not available on the free tenant.

SPEAKER_02So my understanding is that both free tenants would have P1. Right. So were a tenant that you try, right, that would have either E3 or that would get, because P1, my understanding is that that's kind of the entry, SKU French ID, you would be able to go and call into it. But yeah, I'm not, I don't have my PhD in Microsoft Office.

SPEAKER_01Yeah, so in Intra, we have free, which is like you can just go to Azure and spin up an Intra tenant, which is not tied to any license. So there are features that they are like, you don't have conditional access in the free tenant, but in P1 is when you get conditional access. So I would say like that's the paid tier. So that's good. So P1, which is almost everyone has a P1. in these tenants. So the feature is basically available to a wide audience to start using this. Is there a UX that's going to come?

SPEAKER_01I'm talking roadmap stuff, so we'll say we don't have anything, but Right now it's just API.

SPEAKER_02Yeah, we'll have a graphical user interface. Not much I can share right now. I'm happy to come back with the rest of the team in a few months while we have the UI available in public preview. But yes, we will have a graphical user interface. Right now it's API only for the public preview, but there will be something that will allow you to visualize some of the things you have, view the drift and so on.

SPEAKER_01Nice. Okay. You mentioned some numbers, right? Like you said, in the free tier, it's 800, 200. How do you measure objects? Is it like, is one group one object? Is it like one conditional access policy is one object? Is that how the... It's at the macro level, right?

SPEAKER_02So yes, so a group would be an object in this case. That's why at the beginning of the podcast, I mentioned you shouldn't be monitoring every group because 800... run out of resources very quickly. Right. So, yeah. So one policy would be that groups naming policy, which is a tenant wide policy counts for one, a teams meeting policy. Right. So anything that is kind of a macro component that has setting that counts as one. Yeah.

SPEAKER_01Nice. Okay. Yeah, that's a lot easier to wrap my head around. So essentially, think of this as 200 policies per monitor that you can have today, right?

SPEAKER_02That runs every six hours. And then, of course, if you want to change a monitor to run every hour, well, you need to divide 800 by 24 and figure out what's the maximum number you can have. But of course, as I mentioned, we will have ways for you to acquire additional capacity if you need to.

SPEAKER_01Nice. So Nick, the client, right, that we are calling, what's the identity that it uses? How does the authentication work? Is it like service principle, managed identity? What's the flow here?

SPEAKER_02There are two sides to the authentication story, right? The first one is how can you actually go and authenticate and have the permissions to create monitors, create snapshot job, right? Everything that happens before the actual asynchronous job is run. That is the same as anything else on Microsoft Graph. You can go and you can create your app registration, authenticate using the packet or secret. The permission you would need on Graph is configuration, monitoring, read, write, if you want to create stuff.all. That's a new permission that we introduced. Or any privileged role in Entry ID.

SPEAKER_02So if you're Teams admin, if you're an Exchange admin, you would have the ability to go and manage monitors and snapshots. Now, the other side is when it starts executing. Those background jobs run automatically. on behalf of a first party Microsoft service principle. So if you go right now to your tenants and you look for a unified tenant configuration management as an enterprise app, that's the app or that's the service principle that we authenticate with. So let's say you're starting a new snapshot job to go and collect your conditional access policy.

SPEAKER_02That service principle will need to have policy.read.all permission. If you start a snapshot job and it doesn't have the right permission, what you'll get is a partially successful result and it'll tell you, you do not have access to policy.read.all. So it's a matter of going and granting this to the service principle. Now, granting permissions to service principle might not be the most straightforward thing right now. So we do have examples of how you can use PowerShell to do it, how you can call into Microsoft Graph. But we alluded to that UI that will be coming in the future.

SPEAKER_02So we will have a way to make it super easy for you to go and here's your configuration template. We quickly scan it. We realize that you're dealing with conditional access policy. Guess what? You need those permissions. You want to add them. And so those are the type of things that we're going to be working on to make it as easy as possible for people to run. So bottom line is the execution runs as the UTCM service principle.

SPEAKER_01Right. And so those we are talking about application permissions, right? And you would need to assign if you are exporting all the read permissions and if you are doing the write back monitoring and updating it back. That service principal would need to have the read-write permission example for policy, policy.read-write, if it's going to update the conditional access policy.

SPEAKER_02Or the write entra role. I'm not personally a big fan of assigning roles to service principal in case of Teams, for example. If you're trying to take a snapshot of all your team settings, you could assign the new Teams reader role to it, and that would actually work. If you have custom intro roles, right, because you have the proper skew to do it, you can do that. Same goes for exchange. If you have exchange role groups, right, where we can go very granular, if you assign that to the service principal, that works as well. So we honor any roles that you assign to the service principal,

SPEAKER_02as long as it has the read access in the case of snapshot. Monitoring is read access as well. And then once we have the remediation piece, you're going to also need the read write piece to it.

SPEAKER_01Got it. Nice. Yeah, that makes sense. And the admin's always in control. It's not like there's a service principal that suddenly has access to all the settings. Yes. The tenant admin has control over what they're giving access to this to backup.

SPEAKER_02Yeah, correct. Right. And it is. So this is a service principle that's managed by Microsoft as well. Right. So it's not as if somebody could go and get a hold of an app registration and be able to start impersonating that app. It's always going to be the first party service principle that that runs jobs.

SPEAKER_01And I think putting my security hat on, if you're an admin and if you're giving people access to the API, especially to read the values, you want to be careful that you don't make it open broadly, right? Because you would have sensitive things like the config policies and various tenant settings that would be available to anyone to read once the job runs and it's created those exports or the backups.

SPEAKER_02Yeah, for sure. And you raise a good point. Very often customers getting the permissions right is what people will struggle with. I'll be very honest. I mean, getting the permissions right is not that straightforward, but it's something that you need to do and you need to be very careful about how you do it. And very often I'm seeing customers that will just go and assign global reader.

SPEAKER_00Yeah.

SPEAKER_02First principle. While that works, yes, it's read-only, but the thing is sometimes you don't want your SharePoint people to be able to read your Entra settings, right? So the challenge we have now with Entra ID is that we don't always have reader roles. Teams release that new Teams reader role, but in order to read certain SharePoint settings, you need SharePoint admin role, which by default gives you also that write component. So it's really important to make sure that you're not giving more permission to the service principle that you really need to.

SPEAKER_02And global reader tends to be that thing where people think it's safe, but global reader can read everything, right? So it might not be the greatest solution there.

SPEAKER_01Yeah.

SPEAKER_02Yeah.

SPEAKER_01Cool. Awesome. So for people who are starting out, they listen to the podcast, they're excited about the API, they want to start, you know, making backups and, you know, taking their config out. and exporting them, what's the starting point? What should they do?

SPEAKER_02I'd say start with the snapshot. That's just the logical place to start, right? Take a snapshot of an existing tenant you have. Zero risk, right? You're basically just taking or doing read operations on it. Take a look at the output, try to understand how it actually works, and then move on to creating monitors with this. Make Make a few changes to your template or go and create, not in production, but go and create a drift somewhere and see if you can actually get the drift to get reported. That would be the first thing I would recommend. If you're looking at different demos, there are various blogs out there.

SPEAKER_02If you go to mine, the challenge is spelling my last name. But nick.shalabwa.com, right? There's a very exhaustive blog post on how to actually get started, how to grant the proper permissions. There are utilities that we've created as well that will allow you to scan your config and tell you what permissions you need, right? Without you having to read the documentation and then just collect all the permissions you need. So we're trying to make it as easy as possible for you to get started. So yeah, I would say start with Snapshot.

SPEAKER_01Nice. Perfect. So you can start with the snapshot and it's API only, right? So you have to use one of any of the APIs you're familiar with, maybe Graph PowerShell for people who are familiar with Graph PowerShell to kick this off, right? And does your blog post include like some of the scripts to start? So at the time of recording this and the latest version of the Graph PowerShell SDK

SPEAKER_02has not yet been published. So once the next version gets published, We will have access to those commandlets and I will have a blog post in there for sure. I will talk about how to do it with Fireshift. Right now, unfortunately, those are not available. So that blog post is still a draft. But the moment we publish the latest version, that blog post will be released.

SPEAKER_01So Graph Explorer for now, is that the easiest way to?

SPEAKER_02Graph Explorer for now, or you can use Pyro Shell and do invoke web requests, call the REST APIs if you want to, right?

SPEAKER_01Yes.

SPEAKER_02It depends. It's just that we don't have the official command less available right now.

SPEAKER_01Got it. Yeah, nice. So that makes sense. And for someone who has DSC today and they're running DSC, what would you recommend to them? Because they're looking at this and they can see where things are headed. What should they start doing to maybe prepare for now? And what advice would you give for them?

SPEAKER_02I would say there are two ways to do it, right? So if you've invested time right now building your own configuration template, we provide a conversion tool. At the end of the day, DSC, JSON, this is all declarative. So we have a way for you to take a, I will use the word simple, DSC configuration, convert it over to a TCM JSON template. I'm using simple because in the case of DSC, you could have embedded logic, like you could have for loops, if statements, you could have what we call composites. We don't support those. It's really if you have a declarative DSC template,

we let you convert it.

SPEAKER_02The other option is just to take a snapshot with TCM. If you've invested in DSC, you've configured your tenants, instead of trying to convert your source of truth, you may just want to pull that source of truth directly from TCM with a snapshot. And so that would be my recommendation to actually get started with this. And at the end of the day, you're going to see that the schemas are very, very similar. So it shouldn't come as a shock to you how the schemas are in TCM versus N365 DSC.

SPEAKER_01Nice. Awesome. That's really neat way to think of how, you know, how you can start playing around with it and then eventually move. It's the same thing as usually the migration story, right? Do you want to bring all that clutter into the new thing that you're going to do? Or do you take this as an opportunity to start fresh and take your learnings right from what you did before and focus on the key things you want to to monitor in the new world.

SPEAKER_02One thing I'd add to this, right, is the recommended approach here is to, I mentioned it previously, but to use some type of application lifecycle management. If you're serious about config as code, you want your source of truth, that JSON file to be stored in, I'll use Azure DevOps here, but replace this by any type of ALM in there where every chain has version history, history, Everything gets approved. And then the big change is if you've already invested in building those pipelines or workflow, today with DSC, there's going to be a step where you're going to have to do a

compilation into that

SPEAKER_02month file. And then you're going to do what we call start DSC configuration, where it runs on an agent somewhere. That's the piece that's going to change, right? The compiler and the start DSC configuration is being replaced by an API call. That's really it, right? And that also removes, in a lot of cases, the need to have a dedicated agent to run your pipelines where you can now just have the hosted pipeline just call into the APIs directly. So that simplifies your pipeline a lot. So it's not as if you have to change everything. You keep the exact pipeline. It's just the last piece.

SPEAKER_02You simplify, essentially. You just call our APIs and then we'll do the processing on our end. So nice. Very easy transition.

SPEAKER_01Yeah. And that's for me coming from the Mac world. That's one thing that prevented me from using DSE was the whole thing, right? With Windows being a requirement. And now you can just run it from anywhere because you're just calling into the Graph API.

SPEAKER_02Yeah, there were a lot of proof concepts we tried to do over the years running on Linux as well, right? That was always a challenge. Lots of hoops you had to jump through. Now, just call the APIs and you're done.

SPEAKER_01Nice. Awesome. Nick, it's been fascinating. Thank you for coming on the show and breaking down everything today. for our audience. Any last words you want to share? It's like, I'm really excited about this and I'm really excited about the future for this piece of thing because like the tenant config is really important, especially from a security standpoint. side of it as well. We can go look at audit logs and the logs to pass through, which is what a lot of the security teams do.

SPEAKER_01But being able to have like a snapshot and then seeing quickly, you know, the audit history of when did this policy change? You know, how many times over the last 10 years in A Git repository, just using a Git plane, that's just a neat way to see it. And I'm very excited about the UX that you'll be building as well, because I think this is a really important thing for customers as we mature in our journey overall, right? And especially with all of the AI and the agents coming in, they are going to be going and making changes.

SPEAKER_01We really need a lot more transparency around that. how things are changing in the tenant and when something changed and not have to pass through audit logs and keep audit logs for seven, eight years to be able to know when a change happened. So I really am keen on this. That's why as soon as you announced it, I was like, I need to get you on the chat to help share this. So really, really excited. Thank you for sharing this. Any last words, thoughts?

SPEAKER_02Yeah, thanks for having me. Yeah, last word, go out, try it out, provide feedback. That's it, right? I mean, now's your chance to provide feedback. We're still in public preview for a few months. So yeah, eager to hear how you folks are using it as well. I mean, we're always, every time you launch something new, right? You're seeing those new scenarios that you've never thought of. So reach out, don't be strangers. I'm on LinkedIn. Ping me if you have any questions, happy to help you out. And yeah, thanks for having me.

SPEAKER_01Awesome. So what's the way to give feedback? Is it just pinging you or is there like a phone?

SPEAKER_02So there's the feedback at Microsoft, feedback at Microsoft.com, right? And then tenant configuration management. So that's the official way of doing it. I might have gotten myself in trouble by saying, you can reach me on social media. I'm going to get thousands of messages now. Yeah, don't be strangers. But yeah, so the feedback is truly official feedback mechanism. Just make sure you specify tenant configuration management.

SPEAKER_01Yeah. And they can share feedback on licensing as well, right? Because it's not locked down yet. So you can hear what people are thinking, what they want. Especially if there are blockers to them, right? Like for someone who's like, I really love this feature, but this sort of licensing, it basically blocks me from even using this. And I think you want to hear some of that feedback, you know, what would prevent people from using the feature because...

SPEAKER_02And you made me think of something. This isn't commercial only for now, but we will shortly roll this out in the GCC, GCA, GOD type cloud and sovereign clouds as well. So it's not just for commercial. Right now, public preview is for commercial, but we will roll it out in other clouds as well.

SPEAKER_01Awesome. Amazing. Perfect. Thanks so much, Nick. Really enjoyed the chat. Thank you for making the time. I know it's a little late for you as well. No, no, actually, it's 3 p.m.

SPEAKER_02for me. I think it's late for you, my friend. No, I mean, it was early for me.

SPEAKER_01Yeah, it's early for me. So the day is just starting on a Friday for me.

SPEAKER_02It's hard to keep track. So, yes, I call it chasing the sun virtually. It's awesome.

SPEAKER_01Thanks a lot, Nick.

SPEAKER_02All right. Thanks, Meryl.

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