In this week’s episode Jan Bakker, Microsoft MVP and solution architect from the Netherlands, joins us for a masterclass in extending Microsoft Entra ID beyond out-of-the-box capabilities. This episode is your complete guide to building custom identity governance and lifecycle management using Power Apps, Logic Apps, and Azure automation. You’ll learn the fundamental building blocks of automation in the Microsoft ecosystem and how to combine them creatively. Jan’s approach: treat Entra as a platform, not just a product. The automation stack he teaches: → Power Automate (everyday workflows)→ Logic Apps (enterprise automation)→ Dynamic Groups (intelligent triggers)→ Graph API (the foundation of everything)→ Event Hub (cost-effective event streaming) Key topics covered: * Understanding Power Automate vs Azure Logic Apps (and when to use each) * Managed identities and least privilege automation * Dynamic groups as automation triggers * Event Hub for cost-effective event-driven workflows * Custom authentication extensions and token augmentation * Real implementation costs ($50/month for enterprise solutions!) From the conversation: * Step-by-step temporary access pass automation * Automatic refresh token revocation on account disable * MFA method change notifications (like Gmail/Twitter) * Guest lifecycle management and approval flows * Conditional access policy monitoring Whether you’re new to automation or an experienced architect, you’ll walk away with actionable ideas and a new way of thinking about identity solutions. Subscribe with your favorite podcast player or watch on YouTube 👇 About Jan Bakker Jan is a Microsoft MVP and Solution Architect based in the Netherlands. He is known for his ability to make complex DevOps and Entra concepts accessible and publishes extensive guides on his blog about extending Entra capabilities. LinkedIn: https://www.linkedin.com/in/jan-bakker/ 🔗 Related Links * Send an email on a new MFA method registration - https://janbakker.tech/send-an-email-on-a-new-azure-mfa-method-registration/ * How to build a PowerApp - Temporary Access Pass Manager - https://janbakker.tech/category/power-platform/ * Trigger Logic App on group membership changes in Entra ID - https://janbakker.tech/trigger-logic-app-on-group-membership-changes-in-entra-id/ * Poor man’s IGA: Monitor and clean up stale guest accounts - https://janbakker.tech/poor-mans-iga-monitor-and-clean-up-stale-guest-accounts/ * Poor man’s IGA: Generate Temporary Access Pass for joiners - https://janbakker.tech/poor-mans-iga-generate-temporary-access-pass-for-joiners/ * Unlocking the Power of employeeHireDate in Entra ID Dynamic Groups - https://janbakker.tech/unlocking-the-power-of-employeehiredate-in-entra-id-dynamic-groups/ * Temporary exclusions for Conditional Access using PIM for Groups - https://janbakker.tech/temporary-exclusions-for-conditional-access-using-pim-for-groups/ Sponsored by: Shadow IT and SaaS sprawl are outpacing IT teams It can feel impossible to tackle these app governance challenges:📦 Entra ID isn’t secure by default💥 SaaS adoption & sprawl isn’t slowing down⌨️ Citizen Development keeps rising (hello, Copilot Studio!)🗑️ Vendors often don’t remove apps after uninstall🔃 Offboarding is inconsistent or doesn’t happen at all🥔 App governance is passed around like a hot potato ENow AppGov Score shines a light on lurking risks, providing a free App Governance Benchmark Report for your Entra tenant. Reclaim control and protect against breach & disruptions. Free upgrade to Standard Tier for 7 days once you get your score. Secure & Govern Entra Apps Now 📗 Chapters 00:03 The Poor Man’s IGA Concept 00:07 Revoking Refresh Tokens Automatically 00:13 Power Apps for Approval Workflows 00:16 Custom Logic for Managing Guest Access 00:19 Building a Temporary Access Pass Tool 00:25 Power Automate vs. Azure Logic Apps 00:28 Triggering Automation with Event Hubs 00:31 Alerting on Security Changes via Audit Logs 00:41 Self-Service Group Management 00:44 Why You Must Learn Graph API Podcast Apps 🎙️ Entra. Chat - https://entra.chat 🎧 Apple Podcast → https://entra.chat/apple 📺 YouTube → https://entra.chat/youtube 📺 Spotify → https://entra.chat/spotify 🎧 Overcast → https://entra.chat/overcast 🎧 Pocketcast → https://entra.chat/pocketcast 🎧 Others → https://entra.chat/rss Merill’s socials 📺 YouTube → youtube.com/@merillx 👔 LinkedIn → linkedin.com/in/merill 🐤 Twitter → twitter.com/merill 🕺 TikTok → tiktok.com/@merillf 🦋 Bluesky → bsky.app/profile/merill.net 🐘 Mastodon → infosec.exchange/@merill 🧵 Threads → threads.net/@merillf 🤖 GitHub → github.com/merill Get full access to Entra. News - Your weekly dose of Microsoft Entra at entra.news/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00From the latest hacks to cool updates, join the ride, don't
SPEAKER_01Hey folks, welcome to another episode of EntraChat. And today I have Jan Bakker with me from the Netherlands. He's an MVP and he's a solution architect. And he has this amazing ability to make things very accessible. The idea of, you know, DevOps and being able to extend Entra to do things that you don't get out of the box. Over the years, he's published many blogs. And I know I've met some of my own customers who said, like, I went through Yarn's post and we were doing this temporary access pass.
SPEAKER_01We followed all the steps and I set it up. It's working beautifully and like it's all praise. So I want to have Jan over here to talk about, you know, all these different ideas that he has and how he does it and share tips on how every Entra admin can extend Entra to do things. You don't have to rely on the features that are available out of the box. You can make it do some fancy things with just a little bit of work.
SPEAKER_01So welcome to Intro Chat, Jan.
SPEAKER_00Well, that's a long one intro, Meryl. Thanks for having me. But yeah, you said it all. I'm very happy to be here. It's an honor to be here as well. Looking at all the guests that come into your show. It's amazing. So thanks for having me. Awesome.
SPEAKER_01I mean, that's what everyone says. But you all are the real rock stars doing great stuff. And for me, anyone who shares with the community, you know, shares what they do and helps others do things. Absolutely. It's an amazing thing. So I want to have all of you on so I can help you help share more of that. Cool. Awesome. I'm really excited about today what we're going to talk about. I am a tinkerer. I like to tinker with things and do stuff,
SPEAKER_01write tools, do things out of the box, build various workflows. And lots of intra-admins and IT admins end up doing that because they see a need and then they need to make something work. So they use things like PowerShell. Then when we got like Power Apps, and we were able to do more. With Azure Logic Apps, we were able to do even more. And now with all of the AI goodness, it's really lowered the barrier for someone to go in and be able to do more things
SPEAKER_01to extend capabilities and help the end users, right? At the end of the day, you want your end users to be productive and get on with what they need to do. So, I'm very excited about today. So, Your recent blog post, the Poor Man's IGA, and you gave lots of tools, lots of ways to think about things. So tell me, like, what was the motivation behind that?
SPEAKER_00Yeah, good one. So Poor Man's IGA came to mind when I was working with, I'm working with a lot of companies. And most of the companies do have their own IGA systems, right? Yeah.
SPEAKER_01So what is IGA for people who are not really across everything?
SPEAKER_00Identity governance and administration. So think of a tool that manages the entire lifecycle management of identities that can be human identities, but lately also non-human identities. So an organizational tool that supports you in your lifecycle management for identities. So from a person who joins the company, moves in different roles, and then eventually leaves the company. If you have ever created a group and added users and given access to an app through
SPEAKER_01a group, you've basically done a little bit of governance. So even without thinking about it, you end up doing it. So IGA is like the terminology to put that in. But also, you know, it can go from simple things like a security group, which is what all of us start with, to having, you know, even more of the fancy things like access packages, reviews, automation and workflows and so on.
SPEAKER_00Exactly, because I always make the joke, everyone is asking to be put into some group or get access to some application, but they never come back asking, can you please remove me from that group? Because I don't need that access anymore. They never do that, at least not at the customers I work for.
SPEAKER_01Me neither, because when I get reviews, like, do I need access? But no, let me ask for it anyway, because I might need it in the future.
SPEAKER_00Exactly, exactly. Yeah, we're very keen on our access. So most of the companies are very mature on IEM and have their own IGA system that we talked about. It's all a matter of how well that is integrated with EnterID and Azure resources, for example. So you can have your lifecycle management, but does that tie in with guest access, for example? Because guests probably won't come in via your normal lifecycle management. They come in from... microsoft teams or microsoft sharepoint how do you manage those and then maybe your
admins are not that well integrated with the ida system you will create them locally and you will have like previous identity management that you that you use
SPEAKER_00for that so Yes, when it came to mind, a lot of that need will be solved with identity governance, a feature of Microsoft Entra. But not every company has the licenses for workload identity or identity governance in Entra. So because it's a pretty expensive license. And if you want to buy that on top of your already existing IDA license as well, that's not what a lot of companies do. So then I thought... How can I make use of the native tools or the tools that they already have,
SPEAKER_00like P1 features, maybe some Azure infrastructure like Logic Apps? You also mentioned Logic Apps. How can I combine those to build your own lifecycle management within the platform, right? To maybe go from your guests or your admins or your access for your admins. And it's funny that you mentioned PowerShell because I'm not that good in PowerShell. I'm more like... logic apps because it's easy to understand. It's more like playing with Lego with little blocks that you
can put on top of each other. And then all of a sudden, even with no code experience, you can build your own automation.
SPEAKER_00So when I discovered that years and years ago, back then I discovered Power Automate, which is like the equivalent of them, but then for more, for every user, Logic Apps is more for enterprises. And then I discovered, hey, with Logic Apps, I can do all this cool stuff, automate things. I can even talk to Graph API. And that's why I came up with this series where I use those tools to come up with automation around lifecycle management. For example, maybe if you disable an account,
SPEAKER_00it will automatically be added to a dynamic group, which covers all the disabled accounts. And then it revokes the refresh tokens, for example. It's just a simple solution that you can do out of the box. Sure, you can do it with identity governance, but that will cost you a license. But you can also do it for free. So that's why I came up with this. Yeah, it reminds me of one solution I did when I was working before in one of the enterprises.
SPEAKER_01We had like a dev tenant and it had only maybe I think 50 licenses, but it was a large enterprise and everyone wanted a license in that tenant when they wanted to do different things. So we came up with the approach where every month it resets at the beginning of the month, removes everyone's license, and each person will need to go in and request. Because a lot of the times people... don't need, but they just keep having the access. This is like a tenant which only had like P1. It didn't even have P2 or anything in it.
SPEAKER_01It was just a dev tenant. And this was like way back, like 12 years ago, 10, 12 years ago. So I love until this. Yeah, I just built a simple power app in the corporate tenant. So this was going even across tenants. So in the corporate tenant, a simple power app and you submit a form saying you want the license. And so it was like first come, first serve at the beginning of the month. It would call in to the other tenant. We used a multi-tenant app. It was all like just power app calling REST APIs. And then it would call the API and assign the license to that
user in the other tenant.
SPEAKER_01And yeah, it was like a very simple thing, but we were able to solve that issue because we were sort of like various teams want to test the new integration, new app or whatever they want to build. And they just kept on coming and asking us and the IT, like our team, the intra team had more important things to do than be just managing licensing for this tenant. And it was just a dev tenant anyway. So it worked really well. Beginning of the month, the Power App would automatically trigger and just clear everyone's licenses.
SPEAKER_01And there was this other thing that ran. And it was super easy. We just set it up. And then it kept on working beautifully every month.
SPEAKER_00Yeah, it sounds exactly like the stuff that I did. And even if you don't use it yourself, it's so fun to build. Because if you see that work and it works so easy... Most of the times you will just put in IDs in someone's head and they say, ah, I can use this small component and use it for my own use case because I cannot figure out everyone's use case. But if you take a couple of main pieces from the EntraStack, like dynamic groups, for example, is really powerful within the P2P1 license and you use that within your automation, it will bring IDs to all the people's mind.
Like, ah, yes, I'm going to use this because I need this for this purpose.
SPEAKER_00And that's the beauty of it.
SPEAKER_01Nice. Yeah, that's amazing. So tell me about some of the things that you shared on the IGA side of things, right? Let's start with the revoking of refresh tokens.
SPEAKER_00Yeah, yeah, sure. So what was the story behind that? I will pull up my own blog to tell you that. Because the times that I come back to my own blog is countless. That's why I write it down because I forget. So yeah, the story about revoking the refresh tokens is that I just look at the features that ID Governance has. Entra ID Governance has a bunch of tasks that you can run. for join a move believer and then i just look at them and then i think okay how can
i duplicate this but then without the need for the license so that's what i came up with the idea just it's more like a proof of concept i do not see this used that often because when you think of disabled accounts most most organizations are happy
SPEAKER_00with disabling the account and thinking okay that's it so the The user doesn't need the account. It's disabled. And then you're done. Until the user, they let go, starts going on to Yammer at that time or VivaEngage.
SPEAKER_01And then he started posting. So... I had an instance where this person was let go, but he's still posting messages into the various forums and chats. And they were like, you need to revoke his access immediately. Exactly.
SPEAKER_00So this is a small step that they tend to forget. But yeah, when you have a refresh token and you can continue access tokens... You're logged into teams, all that kind of stuff. You can just use it. So, and especially for admins, that's really important to, once you disable the account, just revoke that decisions. And then, yeah, that's basically the idea. So looking at the feature that we have in the paid version and then try to make a free one. That's basically the idea. nice nice and it's making use of making use of dynamic groups
again so a lot of a lot of these solutions make use of dynamic groups and then you in dynamic groups you have like all these parameters and properties that you can use for example you can make a dynamic group for every account of a specific user type that is disabled so it will automatically once you disable the account put you into that group and
SPEAKER_00then that can be your trigger and that's basically The second important thing of when you build automation, you need a trigger. That can be okay when someone changes roles when someone joins the company when someone leaves the company and that trigger is very hard to simulate because identity governance is really good in building those opportunities so okay you can trigger on basically anything today so you can trigger on when an account is created when an account is deleted a account is not used for a specific amount of time and
then to simulate
SPEAKER_00that with uh with the free tools That can be very hard, but there is a very important connector in the Logic Apps platform, which is the Office 365 Groups connector. And basically with that, that's a connector that's really undervalued, to my opinion. You can just trigger based on group membership. So if a person joins a group or if a person leaves the group, the group management can be your trigger point. And then on top of that, you can build your automation.
SPEAKER_00So then this solution works exactly like that. You've been put in a group, but that's be done automatically because your account is disabled. It's a dynamic group. And then it kicks off this logic app, which revokes your tokens. So it's basically a two-step, but it's completely automated.
SPEAKER_01One of the most powerful features I found with Power Apps, I think Logic Apps to a lesser extent, but Power Apps because it's integrated with M365. And when I say Power Apps, the Power Automate is the concept of approving. So you can say like, you know, the manager should approve or, you know, some one person approves or multiple people need to approve. In your workflow, it's really easy to do. It's very hard to think of Like, you know, how do you do it with PowerShell or build a custom code to do
it?
SPEAKER_01It's a lot of work to keep state and do that. But in Power Apps, you can just put, okay, approval. If it's yes, do this. If it's no, do this. And that's it. You can even just visually see it. Like for me, that's one of the most powerful things because the approval can go to somebody's inbox. They can wait for a day, two days. It doesn't matter. And in your, the person building it is just a very simple thing. And the person gets an email, they can then go and action it.
SPEAKER_01You can even set a timeout and say, if this person doesn't action it for two days, send it to his manager, right? Like you can easily build a sort of a workflow there and it's zero code. It's just, you know, the power to make drag and drop sort of thing. Yes. And you can do very powerful things. And even in IGA, the whole reason there is integration with workflow with Azure Logic App is because you end up with lots of custom requirements that you need to have in an
SPEAKER_01organization to meet your business needs. And the Logic App, they give you a way to expand and do very specific things. Even if you have ID governance, there's always a need to extend and customize the different business flows.
SPEAKER_00Yeah, and even outside of the platform, because yes, Logic Apps is very good in talking to native tools like Graph API. But for example, if you have a custom application with their own APIs, you can easily extend that to any API. Basically, as long as the application has an API, you can talk with it. So it's easy to say, okay, not only I will do this thing in Entra, but I will also revoke access in this and this application. So that's also really powerful because you can use the HTTP
connector to talk to
SPEAKER_00basically any API that you have.
SPEAKER_01Nice, nice. Yeah, like this is another thing that I helped a customer. This is after I joined Microsoft, I helped a customer. And I actually published that Logic App externally. They were running into limits of, you know, when they had guests, you can add the domains to your love list, but there's a limit of how many domains you can have. And they were running into... that limit so they couldn't use that list anymore so I helped build a custom logic app for them where everyone who comes into the tenant is by
default in a blocked conditional access policy they are blocked and then the logic app has its own list it looks up so it looks at the event log for all new guests that added into the tenant and it like it runs every five minutes looks at all the new users who come
SPEAKER_01checks against the list of tenants they have in an external list, not in Entry anymore. And it would, if they're in their love list, it adds them. And the neat thing it could do also is send the emails. So normally the guest flow, you don't get emails, right? So now in that logic app, we could say, send an email to the person. If they're blocked, even telling them why they're blocked and who they should contact. So with the normal guest flow, you don't have that experience. So, yeah, like, it was a neat solution.
It was being used, like, this is a very, very large enterprise company, which
SPEAKER_01almost all of you would have used. So they were still using it for like many years. But now I think with the cross-tenant access policy, those limits are big. But depending on what you're doing, you would still need something like that.
SPEAKER_00That's exactly it. You solve a problem that's not there yet. And that reminds me, of course, today we have Meister and it's not an official Microsoft tool, but before Meister, I was building logic apps that go through all my conditional access policies and then checks, is your Bray Glass account excluded? And if not, you will report it. And that's the beauty. You will just fix these little things that are not there by default and And sometimes I even have the feeling that by doing that, you bring IDs to the heads of maybe even the program manager saying,
SPEAKER_00hey, maybe we should build it into the system because this is a really good idea. We should build this. And then, yeah, so that's when temporary access passes first came out, you didn't have an interface in the interport. So it was really difficult to hand out temporary access passes to your employees. And then I just built a power app that was running on a logic app, basically, where you can just hand out temporary access passes. And then maybe two, three months later, that was built into the UI. And of course, that was already the plan.
SPEAKER_00But for that time period, you could already use that in big enterprises because then you will just use the native tools to create a temporary access pass.
SPEAKER_01But I think even now it's useful, right? Like even though it's there, it's in Entry and only like privileged users can go and create those temporary access pass. But if you need a manager to be able to do it or you want to give a group of people but you don't want to give them access to the Entry admin portal or it's too complex for them, Then the PowerApp that you gave was a very nice step-by-step on how to build the PowerApps. Someone who doesn't know any PowerApp, any PowerAutomate, I've heard from multiple people,
SPEAKER_01they went through your blog post. They said, like, I just followed Yarn's steps. I did his thing, clicked there, clicked PowerApp, dragged and dropped this, then selected the Automate and the workflow and set up the API to call into it. And they had this solution. that was suddenly working so they created something just by following the steps in your blog post and it didn't take long it was like they just needed to set out like an hour two hours and they were able to get it working the most
customers are licensed for power automate and some like those connectors are non-premium connectors as well except when it comes to some of those premium connectors it
SPEAKER_01gets a little bit tricky with the licensing of those. But if not, you could just use those out-of-the-box connectors and set up that entire solution, right? And then you could now give access to other people who don't need access into the intra-portal just to that one solution, just to do that one action that they need to do instead of giving them too much access. Let's take a quick pause to talk about AppGovScore from E-Now Software, as seen on EntraChat.
SPEAKER_01If manually managing risky apps in EntraID 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 7-day upgrade to identify specific governance gaps to take action on immediately. So take the stress out of keeping Entra secure, Visit appgovscore.com and click try for free. That's A-P-P-G-O-V-S-C-O-R-E.com.
SPEAKER_00Exactly. And sometimes it looks like that I know it all, right? Because I make those kind of tutorials. But the fun fact of that example is that for me, it was a learning experience as well, because that was the very first Power App that I ever built. And I was just documenting my steps, taking screenshots, because that's what I do all day. I take screenshots. Yeah. And then I think this might be like a very easy, approachable solution for anyone out there who's not familiar with Power Apps and Logic Apps to just build a simple proof of concept.
SPEAKER_00Because even if you're not going to use it, it's a really fun experience, and it helps you to understand how it works. And then, like I said before, if you understand how those building blocks work, you can basically use it for anything that comes on your way. Like, I have this new use case. I know how to build the front end. I know how the back end works with the APIs, and I know how to run a logic app that talks to Graph API. Now I can do all this stuff and use it for my own use case. So that is also a learning experience for me. And once you get that... new ideas will come to your head and say,
SPEAKER_00ah, now I'm going to use this for this because I've done this before. And that's the beauty of it. And I really liked that experience. It was like a small summer project for me. To me, it took me like A couple of weeks to figure it all out because, yeah, if you're building a power app for the first time, you will trial and error for the entire time. But then when you put it on paper and you give it to someone else, they go, ah, I will do this in two hours. Great. It's a nice learning experience.
SPEAKER_01Follow the steps, right? Click, click, drag and drop. And you don't need any tools. You just need the mouse and the browser and the keyboard.
SPEAKER_00And it gives me a lot of feedback as well. Because I remember when I put this out, I'm all building this in my dev tenant, of course. And back then we had those beautiful dev tenants, but they were limited. You only had like 25 users. Now, apparently, if you run this in a large tenant, my Power App would only fetch the first thousand users because that's the graph api limitation i didn't run into that because i only tested with 25 users so then you will get a lot of feedback and then you will be able to improve your solutions that's also use
filter and all of that
SPEAKER_01right graph and filter and improve on that exactly Yeah. And I feel like that's the other thing, right? It's being able to learn. Like if when you're learning something new, you are going through that pain and that's the best time that you can write a blog post to share because you're not someone who's done it many times and you will write it at a level where... you don't have any expectations of what the person reading is going to do. Those are the blogs that are very much more approachable to
people because there
SPEAKER_01are no gaps in the knowledge, right? And you're able to explain things. And for me, John Saville's And he's mastered knowing, like, you know, how to fill in those gaps for someone who's completely new, even though, you know, you might know that it's a really powerful skill to do it. For all of us, we can do it. But if, you know, the very first time we do it is when we go through that pain and it's the best time to document everything. So you can write everything and share that knowledge and help,
SPEAKER_01you know, many others in that process.
SPEAKER_00I agree. Yeah, John is a legend. I watch all of his videos. And even when you think you know it all, then John will tell you something new that you didn't know. That's true. Really great.
SPEAKER_01So tell me with the Power Apps. So what are the things that people need if you are someone, an admin, someone who's never done this? Or even sort of like, I think Sentinel also has this concept of work boost automation and things. So even if you are a security researcher, et cetera, you could, you also can do various types of automations in that flow, right? So just thinking of Power Apps and Power Automate and Logic App, Can you help break it down? You know, how you understand when should someone use?
SPEAKER_01We've talked about many things, right? Power App, Power Automate, Azure Logic App. So for an IT admin who is not really across any of this, how would you introduce these things to them?
SPEAKER_00Yeah, that's a good question. So first of all, Power Automate and Logic Apps are basically the same platform, but Power Automate is more for everyday use. So for example, I want to automate my email flows. And for example, you want every email that has an attachment, you want to store that on your OneDrive automatically. And then that's where Power Automate comes in for your day-to-day automation, that's for every user. But then on enterprise level, the Logic Apps is really mature because it runs on Azure.
SPEAKER_00It also has all the features that Azure has. So you can lock it down, for example. You can use menace identities. That's also a good feature that why you should logic apps instead of Power Automate. Power Automate is more for everyday use. Logic apps is more for enterprise. Great business solutions.
SPEAKER_01But with logic app, you need to have an Azure subscription, right?
SPEAKER_00Exactly. It's more like a pay-per-use subscription. So it runs on cycles. Every time you run a logic app, you pay for it, basically. where Power Automate is just a license that you have. You have like the free version and you have the premium versions, and then you more pay for a license subscription. And Logic App runs on Azure subscriptions, exactly. But it has a lot of great connectors that are approachable on both platforms. For example, Office 365 Groups is a good connector, the HTTP connector. On Power Automate,
maybe you have to upgrade your subscription to use specific subscription plugins.
SPEAKER_01It's not part of E3, right?
SPEAKER_00I believe there's a Power Automate. Yes, E3 has, yes.
SPEAKER_01It's the type of connectors that are different between E3 and E4.
SPEAKER_00Exactly. And what I've learned is that that limitation is no longer there when you use logic apps because then the HTTP connector is not a premium connector. It's just a built-in connector that you can use. And a lot of automation... especially when you talk to Graph API, we'll use that HTTP connector. And like I said, managed identities is a really important topic because my first Power Automate flow would run under my own admin account, which was also a global admin. And you don't want that because you want to use least privileged. You don't want to have your personal account attached to your workflows,
SPEAKER_00especially when it runs for business critical operations so that's where managed identities come in so it's more like a managed service account that you can just apply to that workload then only give the permissions that that workflow need and then have also have like least privileged passwordless experience that's really important for for most organizations so logic apps is more of the building blocks that you can use the automation framework And then a big part of that is then Graph API, which is the backend, which controls basically everything in Microsoft 365 and Entra
and other services. And yeah, that's basically the two big cornerstones of the automation solutions.
SPEAKER_00You talked about Log Analytics Workspace, Sentinel. Yeah, that will be more like you can use that as your trigger, so to say. So as you might know, if you configure it, you can forward your sign-in logs and your audit events to Log Analytics Workspace. And then using, for example, a trigger, say, hey, when this event happens, I want to kick off this Logic App or this Playbook. Similar to what we use for Sentinel and Playbook.
SPEAKER_01So like if a guest is invited, then do this thing, right?
SPEAKER_00Exactly.
SPEAKER_01Someone new comes into the tenant.
SPEAKER_00And good that we mentioned it because most organizations I work with, those log analytics workspace are only used for security operations. And when entry admins ask for, hey, can I also use that for my automation? They probably say, we don't want you to use it. And then there's another solution that you can use instead, which is Azure Event Hubs, which is really powerful. I accidentally discovered that. With Azure Event Hubs, it will forward your events to Azure Event Hubs, but you can do like for a limited time.
SPEAKER_00You can say only store it for one day and then delete it. So you can use it as a trigger for your event-based automation. And then afterward, it will just be deleted. So it will not be stored. You won't pay for retention or ingestion. It will just that one time. And it's really easy to trigger a power or a logic app based on Azure events. That's really easy.
SPEAKER_01Yeah. And the audit logs, they're like, every time something happens in Entra is written to the log. So it's just your imagination now, right? Like there are events for, you know, groups getting added, groups getting deleted, conditional access policy being updated. Like all of these things, you don't realize it, but these are all events that are logged. You can hook into them. And if you want like an email to go out to your team, whenever CA policy is updated, there's no feature in Intra that does that.
SPEAKER_01But using what you just said, right? Like using the event hub and then having a logic app that's looking for conditional access policy update. You can then say, OK, send an email out to the entire team saying this was the old policy. This is a new one. This change happened. Who did the change? You know, all of that's written. You have like the things you want to really keep an eye out on. You can. you can do that like you don't have to just say oh i can't do anything much about it every event that is happening in entra every action is
written to the log yeah with the log with every action going in there the number of audit events have also grown quite a lot and and you can do lots of fancy things one example for example
SPEAKER_00when we talk about this A customer, they wanted to send an email similar to what you do with Gmail or Twitter. When you log in from a new device or when you add a new credential, you immediately get an email saying, hey, something changed in your security settings. You added a new passkey or you added a new MFA method. And that's also not built in the platform by design, but you can easily just forward your audit logs to Event Hub and then trigger on a new event where someone added a new or deleted a new MFA method.
SPEAKER_00And then you will just send an email saying, hey, there was a new MFA method added to your account. Was this really you? If not, please...
SPEAKER_01And that's a really easy one to build. And like at Microsoft, they do that. Yesterday, I added a new passkey. It goes to me and it goes to my manager. And then my manager always pings me on Teams or when we speak, he'll ask me, did you add this? Like he immediately checks with me asking, you know, did I add that? And I say, yeah, it was me. who added it. So an email goes to both of us, but he does the work of also checking that it's me. And like, as soon as he sees me online that day,
SPEAKER_01he'll ping me in because we work in different time zones. So he'll check with me that it was indeed me, right? So that sort of thing, you'll go like, okay, how do I do something like that? Entra doesn't have that feature. I'm sure even at Microsoft, they're doing the same thing. They look at the audit log, it fires an event. They have a logic app that's running and just sending an email out to the person and to their manager saying, this person created this. If it wasn't you, let IT know. Like, you know, all those instructions are there in that email and you can do
that.
SPEAKER_01Maybe that's a good idea to do a blog post on.
SPEAKER_00I already did. I already did. It's out there.
SPEAKER_01Yeah.
SPEAKER_00So look at my blog post, JanBakker.tech and it's out there. Yeah. So, and also the beauty, because imagine you have a thousand and thousands of audit events per day. You don't want to run your logic app a thousand times because that will cost you a lot of money. But what you can do is conditional triggers. So you can only trigger your Logic App when a specific event happens. That's also a really powerful feature of the platform. We can say only in this category, when this event happens, then it must trigger the Logic App.
SPEAKER_01I did polling for the one I told you about guests. I did a polling, meaning it runs every 10 minutes. But guess how much it costs? This is now a big enterprise, right? We wrote the solution. They get lots of guests coming in, but it ran every 10 minutes. So once in every 10 minutes, it would wake up, go and check for new guests that were added because it could remember the delta, right? So it would see all the new guests that were added and just only process those new guests. So that way, even if the Logic App didn't run for a time and you run it,
SPEAKER_01it would go and be able to cover up all the ones that didn't exist. it was costing them like monthly $50, that Logic App. So it ran every 10 minutes. It was like quite frequent. But even then for a month, it was just costing them, which is a lot lower than, you know, having a VM and like any other sort of scenario that you would think of. So that's very powerful.
SPEAKER_00Absolutely.
SPEAKER_01Cool. So what are the more advanced things, scenarios that you can think of? So we've set this up, Event Hub. You said Event Hub, right? Or Event Grid is the Azure Logic app. Right, Event Hub and those services. So you can manage the cost and see, but you do need an Azure subscription that you do need to set up and, you know, play around with that. But you can go with Power Apps for more simpler things if it's not very,
SPEAKER_01like it doesn't need admin access, simple forms, et cetera, that you need to do. But you can also have integrations like Power Apps calling into Logic App as well. Because Power Apps, the advantage is everyday users can use it in your organization. You can build a custom front end, right, like UX to do. But if you don't want Power Apps, like I've done integrations where we use just Microsoft Forms. And then when you submit the form, it then triggers a logic app or a workflow. So you don't,
SPEAKER_01you can just take any, like here's a form, you tell someone to submit and they do all like, you know, there's a lot of service now integration as well. Exactly.
SPEAKER_00It all depends on what you need. And if you have like a single pane of glass for your users where they want to request stuff, because if you say you need to step out of your normal process and go to this Microsoft Forms flow and then fill it in, it might not fit purpose. Yeah, it depends. So building a power app is great. But yeah, there is a license aspect to that. It can be integrated with teams, so that's a good part. So it can just be in the sidebar of your team saying, hey, this is my request form, fill it in, and then it will trigger some automation. Another aspect that I also use,
SPEAKER_00and that's more advanced, I would say, and also depending on your license, is to work is to use lifecycle workflows with identity governance where you can have additional questions to your... One thing that I built is a manager would be able to request a temporary access pass on behalf of someone else. Okay. But then you needed to figure out, okay, you request this, but it will probably not end up in your mailbox because you're the manager. It should end up in... at your employee.
SPEAKER_00So then I use the additional fields to ask for like an email address, a personal email address or a personal phone number. So it will grab that information from the request. And then when it's approved, it will just create a new temporary access pass and it will send it to the mobile phone of that user or a personal email address. And that's more of the advanced stuff that you can do It's so dynamic and you have to think of it a little bit out of the box to make use of that, but the capabilities are endless.
SPEAKER_00And that's also a fun example. So request on behalf, how are you going to do that? If you don't have that license, of course, and you still want to request something, you can always do it group-based. For example, if your users use the self-service management group-based functionality in Intra, by becoming a member of a group, That can also trigger an event in Logic Apps.
SPEAKER_01And that's all free, right? Like I think if you use that and Power Apps, it's all part of the free, you know, the core capability that you can do. Because anything to do with Teams and SharePoint lists, I believe all of the licensing is part of the E3, M365 E3 license. So you could build that entire thing based, you know, on just the group. to do various things like we i remember a workflow where we had this thing where
not everyone was given to enroll into intune like only some people need or like you know they needed a license so they would go submit a form but the form itself we did it in sharepoint because if you the if it's a sharepoint list and you have a form it's free like it's there's no additional power automate license etc for that
SPEAKER_01have that SharePoint list. You create the columns that are needed. People go and submit the form. That can then trigger a Power Automate, which like whenever a new item is added to the list, it triggers a thing and it does an approval flow of that person's manager saying, yeah, this person needs to have Intune. And then all it did is it added the user to the group. where they were able to enroll into Intune. So that entire solution was like zero cost. But we had a form, we had approval from manager. And at the end, it was just to add the person to the group.
SPEAKER_01And the same way the person could ask to be taken out of a group, As well, if they needed something to do with MDM, they don't need that sort of access anymore. In orgs, there is this whole concept of MDM or MAM as well. Someone might say, I want to be in MDM. Or they might say, no, I don't want to do MDM. I just want to do MAM. and just use the apps on my phone. But having both is always like very complex. So you can set it up and say this person is either MDM or MAM
and they can choose
SPEAKER_01which option they want. And like it's all then fully self-service for that person to be added. Yeah, just by adding someone to a group, removing to a group, there's a lot you can do on the other side, right? Like various conditional access policies, like an exclusion list. You can have an approval flow and then have them added into a policy to a group which excludes them from some policy or, you know, or blocks them.
SPEAKER_00Exactly. And then it's always a matter of how many, how much context do I need to provide to my users to get to understand what they really request if you need a lot of context then building a power app is good but probably you won't even need it when you go to mygroups.microsoft.com you will have like this built-in interface where you can see all the groups that you get you can just request access and that that approval flow is already built in there yes exactly the owner of the group will get an email and they can just say okay i will approve and then you will become
a member of the
SPEAKER_00group and you can see which group i'm a member of so yes Even if you can use that out of the box, I believe it's P1, but you can use that and you don't need to build a power app. That's a very powerful feature that not many people know about that's built into my
SPEAKER_01groups, the self-service part of it. Nice. Yeah, I forgot about that too. That's a very simple one.
SPEAKER_00It can really be powerful, especially when you use that in combination with the Office 365 connector in the Logic App platform, because that can trigger on either a person being added or removed from the group. And then you can build your entire automation based on groups. And the name is Office 365, but it also worked for Entra ID groups, which is misleading. So you might go stroll through all the connectors and this is not what I'm looking for. I'm looking for Entra ID groups or Azure ID groups. Maybe it's an old name. And then you will stumble upon this Office 365 groups.
SPEAKER_00And then it also worked for Entra.
SPEAKER_01So it's great. They're all universal groups, right? It'll work for the security group as well as any cloud group. is supported through that so yeah that's definitely a neat feature have you used the user self-service signup flow for any of your integrations that's a feature that i think not many people know about that's out of the box in intra to extend i haven't used that but i believe that's more for a b2c scenario
correct me if i'm
SPEAKER_00wrong
SPEAKER_01It's sort of like that, like where you can have a guest come in from outside and you can give them a link to access only like one app. that you are building. It's mostly useful for external ID scenarios where a guest comes. But you can have a guest access an application if it's like a supplier and you have built a custom app. You can ask them for more information and then, you know, those get added into the user's attributes. So that flow can be used in that scenario.
SPEAKER_01Cool. Awesome. All right. What other things do we want to do before we close up?
SPEAKER_00Well, I would say just reach out to my blog post, janbakker.tech, and have a look at all the blog posts about the Puma and IGAs and to really understand what components are out there and which you can use out of the box. Because once, like I said before, once you get the ID behind the structure and the logic, You can use this for pretty much anything that you want to automate. Maybe 10 years ago, when you asked me, can I do this and this? I would say, no, this is not, it's not possible.
SPEAKER_00It's not out there. I mean, Microsoft doesn't support that kind of capability, but once you understand the graph API, logic apps, and all of the events that happening under the hood that you can make use of, a whole new world will open up. And that's also a tip I want to share. Keep an eye on everything that's changing in Graph API, because most of the times the API will be built first. So for example, with temporary access pass, we saw the API come in,
but there was no interface.
SPEAKER_00So before you can use it, you can do two things. You can wait for the interface to be there, which can take more like six months. Or you can dig into the graph API. You can just explore the API. And by exploring the API, you will understand the product better once it hits GA. Because that's what I learned over the years. If you really have a deep understanding of how the API works, and then you will see the interface, you will see, ah, okay, this button does that in the API. And when I do this, maybe I can do that.
SPEAKER_00And you will be more creative once the feature is actually launched. Being able to understand Graph API before it even hits the interface, it's a really good skill to have. 100%.
SPEAKER_01Yes. Yeah, absolutely. The Graph, like you learn so much more about the fundamentals of how Entra works because everything else builds on top of that, right? And they are the building blocks.
SPEAKER_00Exactly. Yeah.
SPEAKER_01for these things. And yeah, I was struggling with PIM a lot. The PIM APIs have gone through multiple iterations. It's now version three, but I recently made an infographic where I sort of finally sat with one of the engineers and just sort of decrypted how all of that works. And now it all makes a lot more sense.
SPEAKER_00I love those infographics that you create. They're really cool. It was more for me to like remember it so I can always go back and refer to it.
SPEAKER_01Yeah, it's been fascinating. So there are lots of like this whole topic. I really like it because it's about extending Entra, right? You have the out-of-the-box capabilities, but you can extend Entra to do a lot more than what is the out-of-the-box. And you can do these things by using the event log and, you know, those sorts of hooks. But also Entra has... published hooks as well. And there have been some new things that have been added, which I don't think many people use it,
SPEAKER_01but also it requires some more advanced setup. You need a little bit of dev skills, et cetera, when it comes to things like custom authentication extensions. Just today, someone was asking, like, they want to send a SAML claim, but it's very secure, restricted. They don't want to want everyone to know it. So they can't put it in an external attribute. Custom security attributes are good, but today's security attributes, you cannot put them in a claim yet. So the solution there is to use something like a custom
authentication extension.
SPEAKER_01But if you need to write code, you need to write like an Azure function, which can pull, which will get called by Entra when the user is signing in. It can go and read the data from somewhere else and then, you know, put it, we call it token augmentation. So there are more of these dev-based scenarios. But as a solution architect for Entra, right, it's good to know all these different options because you are not then just limited to the out-of-the-box capabilities.
SPEAKER_01There are lots of things you can do. Another one I really like is external authentication method where you can have a custom external auth method because these are scenarios where you can hook into the actual person signing in.
SPEAKER_00Mm-hmm. And then you'd be able to do various things in that flow opens up possibilities
SPEAKER_01that, you know, you can make it do things which it was not intended, but you can extend those capabilities. But yeah, I think we should do another podcast on, you know, all of those dev scenarios.
SPEAKER_00Yeah, yeah. It reminds me of the, you also have this feature in identity governance where you can call an external system. to do dynamic approvals. So maybe you want to do an approval and you don't want the manager to approve it, but the owner of the application or based on cost center. And what you just mentioned is similar. You need to build an Azure function or a logic app to reach out to that API, then come back with maybe the cost center and then define if this is the cost
SPEAKER_00center, then you are the approver. So it's more a dynamic approach instead of being really static.
SPEAKER_01Exactly. Yeah. So, yeah, those are more like the pro-dev side of things, not your everyday IT admins to work on those. But if you are like owning Entra and you know these possibilities, it'll be when your business comes and asks, hey, you know, can you do this? Then you have... You can say, yeah, like these are the three different ways to do that.
SPEAKER_00Exactly. It helped me a lot. It helped me a lot in the last couple of years. Like I said, there's always a possibility to do it. But yeah, you need to know the building blocks and you need to be a little bit creative sometimes.
SPEAKER_01Think out of the box, right? Never say no. Cool. Awesome. Jan, it's been such a fascinating talk. The time just really flew as we spoke about all this. It's close to my heart as a person who likes to tinker and build stuff and design solutions. So really enjoyed talking with you. Thank you so much for sharing. all of this knowledge and your blog posts, you know, helping people do more with Entra.
SPEAKER_01It's an amazing service you do. And for everyone listening in, if you've done like creative things like this, feel free to share it and tag me, let me know, like in the newsletter, I'll definitely add them in. So if you thought, hey, I did this cool thing and no one knows about it, you should definitely write a blog post. It's very easy these days. just open up, you know, you have spoiled for choice from Substack to WordPress to like various number of blog posts or even LinkedIn.
SPEAKER_01You can go say, create, write a new long post in LinkedIn.
SPEAKER_00That's how I started.
SPEAKER_01Yeah. You can just share that. So absolutely. Yeah. Help. Let's help, you know, grow the community in doing more power use of things.
SPEAKER_00Well said. I fully agree. Awesome. Thanks, Jan. Thanks. It was a pleasure. Bye.
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...