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

The Ultimate Microsoft Entra Global Secure Access Migration Guide

Aug 3, 202649 minAudioEpisode 69
ShareXLinkedInFacebookWhatsAppEmail

An Entra GSA migration should not mean throwing away years of useful SSE policy work and rebuilding every application, segment, and rule by hand. Existing configuration carries hard-won intent: which populations need access, which destinations should be blocked, and which exceptions keep the business running. Migrate2GSA creates a path to preserve the useful parts while making the migration a deliberate cleanup opportunity. In this episode of Entra. Chat, I spoke with Andres Canello, Principal Product Manager at Microsoft and creator of Migrate2GSA. Andres demonstrates how the open-source toolkit exports configuration from third-party products, converts it into a common CSV schema, gives administrators an intentional review step, and provisions the approved configuration into Global Secure Access through Microsoft Graph. The goal is not to configure the product end to end or remove human judgment. Andres describes it as a way to accelerate the repetitive 80%. Conflicting segments default to “do not provision,” existing applications are skipped, generated Conditional Access policies remain disabled, and there is no delete API call in the toolkit. The conversation also covers greenfield provisioning, backup and restore, reusable consultant baselines, and the unusual development story behind more than 30,000 lines of PowerShell. Andres explains why detailed, published specifications produced better AI-generated code than incremental prompting - and why the intent and edge cases in an open-source contribution matter more than who typed the implementation. Subscribe with your favorite podcast player or watch on YouTube. About Andres Canello Andres Canello is a Principal Product Manager at Microsoft, where he works at the intersection of modern identity and Secure Service Edge. Over his 15 years at Microsoft, he was a founding member of the Entra Global Secure Access team, helping shape the product before it launched, and has since guided some of the largest identity and secure-access deployments in the industry, from banks and miners to national governments. He’s the creator of Migrate2GSA, an open-source migration toolkit used by organizations around the world, which he built end-to-end using AI-assisted, spec-driven development. * Andres Canello on LinkedIn * Andres Canello on X/Twitter Sponsored by Maester Cloud turns every Maester and Microsoft Zero Trust Assessment run into a durable evidence trail. See new failures, fixes, accepted risks, and posture changes across every tenant - without digging through old HTML reports. * Keep 5+ years of tenant history in your chosen Azure region * Compare runs, spot drift, and get change alerts Become a Founding Supporter for $99/month to fund open-source Maester development, shape the roadmap, and get self-hosted private-preview access plus 10% off hosted for life. Related Links * Plan and troubleshoot UserPrincipalName changes in Microsoft Entra ID (mentioned at 04:07) * Azure AD Mailbag: Conditional Access Q&A by Andres Canello (mentioned at 06:43) * Migrate2GSA documentation (mentioned at 45:37) * Migrate2GSA source repository (mentioned at 45:37) Related Entra. Chat Episodes * How to Migrate from Legacy VPNs to Entra Private Access (Real Strategies from a Veteran) * Global Secure Access Explained: Real-World Rollouts, Mistakes, and Best Practices * Identity-Centric Network Security: Entra Global Secure Access Architecture & Benefits Chapters 00:00 Intro 01:05 Andres Canello's 15 Years in Microsoft Identity 06:43 A Conditional Access Mistake Admins Still Make 11:29 From Early Customer Pilots to Entra GSA 13:21 Why SSE Migrations Should Not Start From Scratch 18:31 Beyond Migration: Backup Restore and Greenfield 23:27 Export Convert Review and Provision 27:02 How Specifications Made AI-Generated PowerShell Work 35:22 Conflict Detection and the Human Review Gate 39:14 Microsoft Graph Provisioning with Safety Built In 43:35 Automating the Repetitive 80 Percent 46:15 Contributing to Migrate2GSA Podcast Apps * Entra. Chat * Apple Podcast * YouTube * Spotify * Overcast * Pocketcast * Other podcast apps Merill’s socials * YouTube * LinkedIn * Twitter * TikTok * Bluesky * Mastodon * Threads * GitHub 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.

[music]

SPEAKER_01Hey folks, welcome to another episode of Entra Chat. And today I have someone, I always say I have someone very special, but I have Andres who is really special for me because he was the one who interviewed me and it's because I passed the interview that I got to be at Microsoft. So Andres, welcome to the show. I know it's going to be a very action-packed, exciting one. Super glad to have you on here.

SPEAKER_03Yeah. Thank you for having me. This feels kind of awkward because you're probably the person I talk the most. So yeah.

SPEAKER_01Okay. Welcome.

SPEAKER_03Thank you.

SPEAKER_01Cool. Awesome. So Andres is from the sunny side of Australia in Brisbane or in Queensland. And I'm like way down where it's always dark and gloomy in Melbourne, but today it's a sunny day, so it's good. We're going to cover a lot of different topics. The big one being about a GSA migration tool that Andres has been working on and it's super popular. So we'll get to that. Andres, just tell us about yourself and how you ended up in the team.

SPEAKER_03Yeah, so I'm Andres Canelo. I started at Microsoft in 2011. I had a role doing Exchange Server. So I did Exchange Server for a very long time, more than I'd like to admit. But then I started in the customer experience team for Entra. Yeah, right? Like what features did it even have at that time?

SPEAKER_01Not too many. So I remember this SPR,

SPEAKER_03self-service password reset, was the most popular one, really. SSO, you know, always been there, but a lot of customers were using Azure AD at that point. This is a time when Everybody defaulted on ADFS. So essentially, as you know, our job was trying to get customers to use what they paid for, right? So that's where I started.

SPEAKER_01I don't think conditional access Well, I remember the

SPEAKER_03migration of what used to be called conditional access version one to conditional access version two, which is the one that it is there today. In fact, I think you can still see the conditional access v1. I'm not sure where it is in the Entra portal, but I think you can still see them. So yeah, we had to, I saw that migration happening as well. So yeah, long time ago.

SPEAKER_01Yeah, that's a long history of all things. So tell us about some of the, like when I joined Microsoft, I remember there was one key thing you worked on and I think a lot of IT admin folks would be really thankful for your effort. You noticed that when someone got married and the UPN changed, it broke lots of things across the board and you sort of helped convince everyone that we should fix it. And yeah, tell us about the story there.

SPEAKER_03Yeah, so look, typically everything that I started and ended up being a piece of documentation or a toolkit or something, It's because I was working at the time with a customer that needed it or was going through some pain. And I said, there's other customers going through this, so this is something we should address, right? So that customer had a lot of problems because of people changing names

SPEAKER_03for different reasons and things broken. So there was an article talking about Office 365, different things that broke, like OneDrive, but there wasn't a comprehensive list and there wasn't a Description on how to deal with it. So I did a bit of an investigation. I tested a bunch of things and I came up with that article that I think is still there on what to think about,

SPEAKER_03what to take into account when renaming users. UPN, right? Yeah.

SPEAKER_01And you presented in-house as well, right? I know there were so many things that got fixed because you worked on a lot of that.

SPEAKER_03Several things were fixed and I presented to an engineering forum internally to drive attention to these kinds of problems. And the key here is that we were designing functionality with the assumption that the UPN was immutable and it's not, right? So using the UPN as a primary identifier, not the right thing. So then things started changing after that, and a few things that used to break were fixed.

SPEAKER_01The biggest one for me was Windows, right? And why this was a hard problem at Microsoft is not just Entra, right? It was like things broke on the Windows PC, things broke on OneDrive, like you were saying, across Microsoft. So many different things would break. In Windows, they had to do a new reinstall? Or was it like...

SPEAKER_03I'm not sure if it was... The join broke, if I remember. ...Or the join.

SPEAKER_01I think the PRT and things would just break when someone did a UPN and they had to make fixes in Windows so that it wouldn't break when the UPN has changed.

SPEAKER_03Yeah, and these kind of things, they are... They were being fixed in customer land as a one-off, right? It's like, oh, we changed your UPM, we need to fix this and that, right? And there was no documentation about what to expect. So yeah, we came up with that article.

SPEAKER_01Nice. Awesome. And another one I remember of yours is the whole conditional access policy because people would go create and even to this day when I see someone creating and I'm just observing, I see them going to see and they are like, okay, let's turn, select this, select that option, select that. And I'm like, no, no, don't touch every knob that's there, just do the bare minimum. And you had a really good blog post that explained in detail why one of those is bad.

SPEAKER_03Yeah, it used to be called the mailbag. So I did one on conditional access, kind of best practices or things to think about. And that was Something that I saw very frequently when working with customers, essentially everybody will create a conditional access policy and target it to Android and iOS and another one to Windows, et cetera, right? So they will enable the device filtering,

SPEAKER_03the device option targeting, and then unselect things in the inclusion, and that creates holes, right? So... So you need to be as inclusive as possible. Ideally, you should have a blanket policy as a catch-all for these kind of things. Specifically with the device targeting, the useration string is used to identify the device.

SPEAKER_03So this can be easily manipulated and you can show up as a different device type or even unknown. So if you just simply select that option and select all the options, that doesn't include unknown. So if we cannot match to any of those Android iOS, well, that policy won't apply, right? Yeah, that kind of thing. I think customers are much more aware of that kind of thing. I doubt it.

SPEAKER_03But I'm not sure.

SPEAKER_01I doubt it, right? And that's a fascinating thing, right? Like if you select all the, you go, okay, I'm going to target Windows and Mac OS and let's just pick everything. Even if you do that, if attackers can change the The URL or the use agent is something completely different because it doesn't match Windows, Mac OS, Linux. It then doesn't apply to that CA policy. So yeah, I think many folks still make those mistakes because if you haven't really tested it, the thing is you wouldn't even know, right?

SPEAKER_01Like you do it, the devices you use will all work like what you test, but one that an attacker uses, you're not going to test that scenario where you change the use agent and Yeah,

SPEAKER_03a good test is go sign in with a browser and go to the developer tools, change the useration string, which is there in the developer tools, super easy, and try to sign in and see if the CA policy that you expected it to hit. Is being applied. Yeah, you might.

SPEAKER_01Yeah, like all those different things. Yeah, people are surprised when it's called out. And I think even people use device filter and they look for various things. And a lot of this can be changed when you do that, those options. So I remember there was a recent, not recent, about a year back, everyone was surprised that They use device filters and it did apply to certain things or, you know, you could change those. So unless it's an extension attribute that you control, if you use the device filter for like based on,

SPEAKER_01you know, device name, anyone can change the name of the device pattern and it'll bypass your CA policy. So yeah, that's the challenge with CA. They need to test all of that. And I remember you did the work on auth methods as well, right? You were working when it first came out.

SPEAKER_03Yeah, I was pretty involved in that, in all authentication method policies. And you remember the old, I think it's not even there anymore, I realized the other day, the old MFA portal options. Yeah, there were some configuration options there and we needed customers to migrate to the new ones and it was the beginning of authentication method policies.

SPEAKER_01It didn't even exist before, right? There was no such blade called authentication methods in a user's blade.

SPEAKER_03Yeah, and making sure that we had API APIs for managing all the authentication methods and every authentication method had the same options, et cetera. So, yeah. I was a bit of an SME for that internally, so yeah.

SPEAKER_01I think even the Graph API docs, you did most of that initialization.

SPEAKER_03Yeah, I wrote a bunch of those docs, probably all written by AI these days. Why wouldn't you? But yeah, I think that was 2019, somewhere there? Yeah. Yes. Maybe 2020. So yeah, feels like so long ago.

SPEAKER_01Yes, so long ago. All right, so coming to today, you've been on the GAC, right, for the last two years,

SPEAKER_03three years? Yeah, more like, I don't know, maybe four. I remember starting talking to customers about global success. Get access before the product was even launched. So I was there at the beginning and saw the evolution of the product. So yeah, I've been doing quite a bit of that, helping customers, like helping have conversations Conversations with customers initially and some customers didn't even know what SSE was at that point

SPEAKER_03because they were just not aware. So educating a little bit on what SSE is and then helping running POCs, proof of concepts or proof of value in customers environments, testing the product and then helping with deployment as well.

SPEAKER_01Nice. And yeah, like the insights you have will be fascinating because I know you've done maybe like over a hundred. It's definitely a lot of, you know, pilots and like you've been, you've seen the product through all the rough edges as like people were testing.

SPEAKER_03Yeah, yeah, absolutely. You know, starting with a product from version one, like there's a lot that needs improvement, right? So yeah, working with the engineering teams, working with the product management teams on improving the product has been great. And being able to get access, direct access to all those people is great, as you know.

SPEAKER_01Yeah. So tell us about the migration service and what it is. It's an open source project. It's very popular. Yeah.

SPEAKER_03So again, this is me working with a customer that was migrating from a competitor to global secure access and to Entra private access specifically. So we had to say they came up with their And I thought that's actually a good idea. And there's going to be many more like you that are coming from a competitor product and you need the same configuration.

SPEAKER_03For example, if you have an SSE solution and you've been using something like Zscaler Internet Access, for example, for a long while, you have all these You have policies that apply to different populations of users in your environment and you don't want to start from scratch because you have policies blocking stuff or blocking everything but allowing specific access to certain applications or any kind of policy.

SPEAKER_03Who's going to say I want to Throw all of that away and start from scratch. In many cases, that might be a good decision, but in general, everybody wants to bring some of that configuration across.

SPEAKER_01Especially when they're doing a pilot, it'll be very useful to just recreate what they have today and be able to test on a few devices.

SPEAKER_03Yeah, again, as part of a pilot or a PLC, you might want to, depending on what you want to test, but yes, in some situations you might want to bring your configuration across. It's something that applies to many different... So yeah, so I was working with this customer. They came up with their own migration script. I took that and they were happy to share their configuration with me.

SPEAKER_03Essentially a bunch of JSON files they exported from the product at that point was setscaler private access. They exported the configuration and that's how I started with a bunch of JSON files that I didn't understand, right? Because they were coming from a different product. And then the first thing I did was creating an export script. Essentially, typically, vendors will publish API documentation, so I use AI, so I heavily use AI for building all of this,

SPEAKER_03and I created an export script that pulls all this configuration from their APIs and saves all that in JSON files. And then these JSON files, I needed to analyze and understand What the different, the policy model essentially for these different products and how that map to Entra private access at that point. So I started building the first migration tool, which was Zscaler private access to Entra private access at that point.

SPEAKER_03Yeah. Nice. So that's how I started. Then I discovered that someone in the team, Wendy, was working on something similar for her customer. That was for migrating to internet access. So we joined forces. And then Frank joined the team as well. And we started working together because there were more customers and more products that we saw potential, right?

SPEAKER_03We always relied on customers sharing their configuration. So we kind of blindly put together an export script based on public API documentation. And then they gave us their configuration, which we use to create the conversion or the conversion tools that we have today.

SPEAKER_01That's one of the challenges, right? As a Microsoft person, you don't have access to other systems and definitely not like real world ones, even if there were like sort of debos. But again, we try to avoid spinning up competitor vendor products as well, right? Exactly.

SPEAKER_03I never had access to any of these products. So essentially what I asked customers is, can you show me around through the console? So show me what it looks like. You create, I don't know, app segments, right? And then you can group them in segment groups and then you publish them through access policies, et cetera, right? So that's what I use to kind of get an understanding of the product Policy model and what it allowed,

SPEAKER_03plus the API exports, plus public documentation that is out there. A lot of AI in the research and that's how we started essentially.

SPEAKER_01And this is ideal for, I think, like community project like this, because it allows more people to contribute and expand the type, the different products that are supported, right? So you started with Zscaler and private access, then you went on and you added internet access.

SPEAKER_03What are the others that Yeah, so I think the second was Netscope, Netscope private access and they have a secure web gateway. Nextchain I think is called, but then we added Cisco Umbrella, we added some Palo Alto firewall migration scripts as well. We even have migration scripts for MDE, so Microsoft Defender for Endpoint, where you can block certain web categories or FQDNs.

SPEAKER_03So then customers wanted to migrate that configuration over to Internet Access, so we added that as well. We started seeing opportunities to do a lot more. For example, we created like a backup tool for Entra Private Access and Entra Internet Access, which uses the same format, the same schema we use for the configuration files. And then you can delete everything. That's what I do in my tenant, by the way. Backup, I clean up everything and then I use the provisioning tool that we have as part of

SPEAKER_03the toolkit to provision everything again or whatever I want. So that's useful for just a backup restore. Nice. If you have a test environment, you configure the whole test environment there and then you export all the configuration. You edit, because this is all CSV files, you edit the CSV files to change references, maybe different users, different connector group names, et cetera, et cetera. And then you provision everything in your production environment or pre-production.

SPEAKER_03So yeah, there's different scenarios.

SPEAKER_01Okay, so you can use the toolkit as even just a configuration thing, right? You can check it into code and have the CSVs and deploy updates as well through that.

SPEAKER_03Yeah, exactly. So we call that like a greenfield scenario where you're starting with, let's say you're deploying Entra private access, right? You want to start doing some segmentation initially. So you have your domain controllers, file servers, SAP servers, et cetera, et cetera, right? So you want to start doing some segmentation, creating all those applications and segments That's a lot of clicks, right? Even if you only have 10.

SPEAKER_03Let's say you have 10 applications with five segments each. That's a lot of clicks on the portal, right? So you might want to automate that. So instead of doing all the clicks on the portal, you just open a sample file that we have there in the project. You open that in Excel and you put all your information there in Excel, your 50 segments in this case, and you define all that.

SPEAKER_03And then you use a provisioning tool to provision the whole thing. That will take a few minutes. Yeah, exactly. So the toolkit is also, even though it's called migrate to GSA, you can do just provisioning for Greenfield environments as well.

SPEAKER_01That's very interesting. That's a use case I wasn't aware of because the name itself is just a migration name.

SPEAKER_03Yeah, exactly. But yes, we have such scenarios as well. Nice. Backup, Restore, and Greenfield.

SPEAKER_01So if it's like consultants who are frequently deploying GSA all the time, this would be ideal to like create these cookie cutter things, right?

SPEAKER_03And just go in and... Yeah, have a general design that you always apply because most likely customers will have domain controllers or they will have some internal servers, right? So you have all your placeholders there and then you just change your names, et cetera. And you provision that. So it's a good baseline to have and reuse across customers. Same with internet access, right? So there are rules that most customers will want, right?

SPEAKER_03Maybe, I don't know, blocking certain web categories are not appropriate for corporate environments, et cetera. So you might have a baseline like that. Yeah.

SPEAKER_01And so the tool itself, the conversion when you export from the different products, the JSON you write it to, is it like the same format or does each product have its own JSON format?

SPEAKER_03Yeah, we just write whatever the API gives you to And then the conversion. So we have one export tool, which is a function. This is a PowerShell module essentially. So we have one export function for each product, right? And then that writes to JSON files locally. It all happens locally, right? And it's all PowerShell. There's no AI involved in the process.

SPEAKER_03Although AI wrote the whole thing. I think the last time I checked, it was over 30,000 line of codes. I did not write a single one by hand. But I'll tell you how we did it in a moment. You get the JSON files, you run another function, for example, this seedscaler private access to Entra private access function that grabs the JSON files and that's all the conversion, right?

SPEAKER_03And Zscaler is an app segment in Entra private access would typically be an enterprise application with segments. So all that conversion finds issues. So for example, things that cannot be converted or in Entra private access, you cannot create overlapping segments. So it will find The overlapping segments and flag them in the output file, et cetera, for you to go and fix.

SPEAKER_03And exports all that in a CSV file. And that is the same schema all the conversion tools use. So that export file. Which you will grab with the provisioning file, which is a single one for Entra internet access and private access. The schema of the file is always the same. So all the conversion tools were right in the same format. And then you provision with that CSV file. You might need, there's an intentional Review step there where you open the CSV file,

SPEAKER_03typically in Excel, and you complete the gaps or you tweak it, right? You change names, you unselect things that you don't want to provision, et cetera, et cetera. You clean up. It's a great opportunity to do some cleanup at that point. And then you provision. Obviously we use Graph API to do all the provision. Right. What is interesting is how we started.

SPEAKER_03We started kind of by coding, you know, like just saying, oh, I need a conversion tool for this thing. Very incremental, small increments. And that doesn't give you the best result, typically. It's patchy and you end up with a bit of a Frankenstein. At least at that point, I was using Cloud 3.6, maybe? Right.

SPEAKER_03At that point, I don't know how long it was, but with every drop of Cloud, you could notice how good it was becoming, right? But then what we started doing is Kind of spec-driven development. So we put a lot of time with AI, with the help of AI, into writing a spec with all the definition of what the conversion tool should do. So maybe there's 1,700 lines in the spec defining with code samples,

SPEAKER_03et cetera, defining exactly all the different use cases, all the logging, That the tool should have, all the safeguards, et cetera, et cetera. And then typically that gave us a lot better results. So once we were happy with the spec, we'll just say, Say, build this and the script, the resulting code will do exactly what we wanted.

SPEAKER_03Maybe there were just two or three bugs to fix, super easy, but it did exactly. And the good thing is that we publish all the specs. All the specs are out there as well in the GitHub. So that's how we evolved. And it became easier and easier. A new migration tool these days, it will take a lot less effort than the initial one that we did because there's all this knowledge now in the repo for AI to go take and build

SPEAKER_03the right thing.

SPEAKER_01And knowledge about the GSA APIs as well, right? Because there are parts that are not there in the docs and you have business rules, right? Like some things you can call the API, but it won't be correct.

SPEAKER_03Yeah. I started using the Enterprise MCP, the Graph MCP, and then I started using your skill, the Graph skill, to kind of Validate that with my own tenant, that the API requests and responses were right, right? Because in many cases, AI were right, expecting the API response to be one way, and then The script will break because a property was called differently or

SPEAKER_03the values that came were different, formatted differently, et cetera, et cetera. So we added that validation process as well with the MCP for graph with my own tenant.

SPEAKER_01Very nice. Another happy graph skill user.

SPEAKER_03Exactly. Yeah, exactly. So yeah, it was a really good project and we help a lot of customers migrate and we keep hearing of customers using it and wanting to Add more migration tools for different products. I think we added Citrix Netscaler as well. That was kind of easy because it's a flat file. Their configuration is a flat file, so that became a lot easier. But yeah, it's easy to add.

SPEAKER_03And it's all out there for anyone with a bit of knowledge on how to use AI and a bit of power and how things hang together to go and contribute.

SPEAKER_01Yeah, for me, this is the best example of a tool that can be a lot more richer because of the community, because the types of products are so varied and the types of configuration, even for one product, can be so varied with lots of different customers, right? And having it open source, having people be able to raise PRs against them will help improve it as a community, get a better outcome. Than someone just doing their own internal thing,

SPEAKER_01which doesn't get that much use and see the type of variety that you would typically see.

SPEAKER_03Yeah, in many cases, yeah, absolutely. Like, yeah, you know the power of community, right? So, but in many cases, these kind of tools end up being like throwaway code, right? It's like, oh, you use it to migrate and you never use it again, right? And there's others that

SPEAKER_01Everyone starts from scratch.

SPEAKER_03Exactly, right? So I hit many, many issues that I fixed already. So for people out there not to hit them again, right?

SPEAKER_01Nice. You have a demo to show us?

SPEAKER_03Yes, I have a demo.

SPEAKER_01I think we'll just walk through for the people who are listening.

SPEAKER_03Share my screen. This screen. All right, so what I'm going to show is initially just a simulation They export for Syscaler private access. I don't have access to Syscaler, so this is just a simulation of what the tool will do. Essentially, it's not doing API calls, right? It's just a demo script that I use for demos, right?

SPEAKER_02But it does exactly the same thing as a real one, right? So...

SPEAKER_01So this is connecting to Zscaler and doing an export?

SPEAKER_03Pretending that is connecting to Zscaler. So it's going through, so essentially you need to pass your customer ID, your client ID and a secret, right? So you get those API keys from the portal and then It's hitting all the API endpoints for the objects that are relevant for us. In this one, we export a few other objects that we don't actually

SPEAKER_02need for the conversion, but We

SPEAKER_03do paging as well, so we get all the objects and we save all of that

SPEAKER_02into local JSON files. Nothing too crazy here.

SPEAKER_03So once you have the JSON files, I'll move to this one here, you use the... So I have some sample JSON files for Syscale private access there, and you use the

SPEAKER_02conversion script.

SPEAKER_03Which is this one, where you give those files as parameters, right? So essentially what we have here is application segments. That's the list of all your application definition and the target segments. So essentially, IP port protocol, right? A collection of those.

SPEAKER_02Segment groups is just a collection of segments. And we have scheme groups.

SPEAKER_03This is if you are synchronizing your Entra ID groups or your Active Directory, I think it's possible in SeedScaler, into SeedScaler. So we get those so we can do user or group assignment in the resulting applications in Entra as well. And then the access policies, which thing is like Dynamic Access Policy that tells you what each user is able to do

SPEAKER_03and certain conditions as well.

SPEAKER_01Right. So these are all the Zscaler

SPEAKER_03terminology, right? All Zscaler terminology. So the script will just read all those and identify the objects, et cetera. One thing we did intentionally is the tool is very, very verbose.

SPEAKER_02There's a debug switch as well,

SPEAKER_03if you want it to be even more verbose. You don't have to read it, but for transparency sake, we want to Tell you everything we are doing, right? So how we are converting, et cetera, right? So initially it's loading all the data, processing the policies, and then telling you what it found, and then going through conflict detection, right?

SPEAKER_03So overlapping segments, which will fail if you try to import as-is into Entra. Every time we detect a conflict, we tell you which two objects, which two segments are conflicting, and we flag them as Do not provision by default. So if you grab that resulting file and you try to provision, we're not gonna try to provision the conflicting ones because you get an error,

SPEAKER_03right? So you need to open the file manually and that's your opportunity for fixing stuff, right? So I'll open that.

SPEAKER_01Right, so now this is what you're talking about, right? You get a bunch of CSPs and now you can do sort of the cleanup and other things that you want to do here.

SPEAKER_03Yes, exactly. So your opportunity to do cleanup, renaming objects, selecting ones that you don't want to provision for some reason, assigning users, et cetera, et cetera. So let me grab this. And so this is the resulting, there's a single file that we write in this case. For Entra Internet Access, we write two files. Policies and security profiles, but for Entra private access is all in the same file.

SPEAKER_03So we have original object names for reference there, but essentially here what we have is

SPEAKER_02one row is a segment.

SPEAKER_03And then, for example, for this application that we're going to provision in Entra Private Access, we have four segments there that happen to be IP addresses. And then we have the Entra Groups that we're going to assign with Access, and then the Connector Group. And this is not something we migrate. I'll just go with default, which is the name of my connector group in my own tenant.

SPEAKER_03So these are the kind of edits that you need to make manually. And then we detect a conflict. We flag it as a conflict so you can filter the file. Imagine that a customer in a real production environment or real scenario, you have potentially thousands of these, right? So you can filter based on conflicts. This is a conflicting segment in Enterprise App, so you need to go there and fix it.

SPEAKER_03But by default, because it's a conflict, we say provision no, so the provisioning tool will skip that, right, by default. So this file, I don't need to touch it, so that's the only

SPEAKER_02change I needed to make.

SPEAKER_03And then the next step is a provisioning part. So start.

SPEAKER_01And yeah, this will take a while, right? Because it's going to write to Graph.

SPEAKER_03Yeah, exactly. So I'll show the start

SPEAKER_02of this. And then we'll be running, right?

SPEAKER_03So here, what we are doing is, hey, you have an active EntraGraph connection. In PowerShell, we show you the tenant there that we are connected to. We tell you, hey, we are planning to provision 16 applications with 22 segments. Do you want to continue? Yes. And then it will go and find the connector groups that are referenced in the file,

SPEAKER_03find that all the security groups that you have in the file are there, right? So we check that everything is consistent with what you have on your tenant. And then we start with the provisioning, right? So we create each app and then the segments. And we skip the ones that are already there.

SPEAKER_01Yeah, that's what I want to ask. So if I were to rerun with the same CSV, say I make some edits and rerun again, Will it update them or will it skip the ones that are already there?

SPEAKER_03At the moment, it's skipping existing applications. Why? Because we don't want to touch existing configuration, right? We always err on the side of safety, right? So we don't want to break anything, right? For example, in the Entra Internet Access, Provisioning, we create conditional access policies, but we never ever enable conditional access policies.

SPEAKER_03It's always disabled. You need to go there, check that everything you provision is fine, and then enable the CI policy, which means that all of the configuration that we provision is not going to be in effect until you go and enable the CI policy.

SPEAKER_01Yeah, that's why I wanted to ask, do you go and delete stuff that is not there?

SPEAKER_03Never delete, ever delete. There's no single delete API call in the entire tool. Yeah. Nice. Exactly. So this is gonna take a while. And as you see, we are retrying, we create an app and then the service principle is not there because of timing. We just keep trying until we find it and then we assign users, et cetera, right? So it has a lot of safety mechanisms there, retries, throttling, et cetera.

SPEAKER_03So, yeah. That's a demo for the tool.

SPEAKER_01It will take a while to go through. Once someone does this, now they need to go into the portal and conditional access is one thing you mentioned that they'll need to review and enable. What are the big steps that need to happen on the GSA side?

SPEAKER_03For Entra Private Access, it's reviewing, so there's no...

SPEAKER_02what we provision is in effect at that point. But

SPEAKER_03with this configuration, it's kind of hard to break users with conditional access policies. You might want to do a more careful review. But yes, you are meant to go and verify that everything was provisioned and this all that you see there on the console is also written to a log file. So you're meant to go and look for failures and fix them

SPEAKER_02or retry the provisioning, et cetera.

SPEAKER_03But then also something else to mention is that The intention of the tool is saving you time when you're doing migration. It's not meant to fully configure the product end to end, right? That's not an objective of the tool. It's like if we can get you to accelerate the 80% that will involve a lot of clicks, that's what we do. And then the rest, the initial configuration, that's something you do.

SPEAKER_03100%, yeah.

SPEAKER_01So yeah, I could talk about some of the things that we have there and even the Microsoft Zero Trust Assessment. I'm actually going to have Chris Brum come on the next few weeks. So he has some things around those best practices, right? For example, One he recently contributed is groups assigned to global secure access. You know, the traffic forwarding profiles, they shouldn't be nested.

SPEAKER_01So he has a check. If you have nested groups, it'll tell you, look, it's not applying to the nested users. It's only applying to the top level users. So like those best practices and those design and things, you will need to complement all of that.

SPEAKER_02Maester can help with some of those

SPEAKER_01as we are building it out.

SPEAKER_03Yeah, absolutely. This is just translating configuration and speeding up the provisioning. There's a lot of best practices for the product where tools like Maester can really help. I won't show the internet access migration because it's pretty similar. It's all PowerShell and the process is exactly the same, export conversion and provisioning.

SPEAKER_03But yeah, just to... Give people a sample of what the process is. Aside from that, yeah, the aka.ms slash migrate to GSA is there. All the documentation is there and then there's a link to the GitHub repo and you can just download The PowerShell module from GitHub is not published into the PowerShell gallery, something maybe for the future, but easy to just download and import.

SPEAKER_03Nice, nice.

SPEAKER_01And it's open source, so people can fork, clone, make pull requests as needed as well, right?

SPEAKER_03Yeah, absolutely. The ideal way to contribute is just open an issue and come up. If you have an idea or something that is broken, let's have a discussion about it because that's the most important thing. Like the code these days with AI is cheap. So let's have a conversation about What the problem is or what's a new feature that we need. And then if it's a new feature,

SPEAKER_03we'll come up with a spec and we can write it, you can write it, and then we'll review and then whoever has the tokens writes it, right? So yeah.

SPEAKER_01Yeah, I think that's a neat way you're doing it with, you know, it's like I saw a post today with open source. It's now more about the intent of the PR as opposed to the actual code because the code can be auto-generated, right? But it's more like, what is the intent of the PR that it's trying to do? And because you can do it different ways depending on, you know, who's driving the LLM, the AI to do that.

SPEAKER_03Yeah, absolutely. I think the most important thing is the intent, which is reflected in a spec, right? So what is it that we want to add? What's the functionality? What are the corner cases? How do we make the changes in the existing code, et cetera? Is this like an internal function that we need to create, et cetera, et cetera, et cetera? And then once we are happy with the spec, Yeah, implementing, that's a easy way, right?

SPEAKER_01Perfect. Awesome. Andres, thank you so much for coming on and sharing all of the different stuff, fun stuff you worked on and thank you for migrating to GSA tooling.

SPEAKER_03No worries. Thank you for having me.

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