Love this idea in principal but can't seem to get it to work. The first screen shows as it goes through ccm uninstall etc but after it reboots, it fails to auto-logon (seems to select Administrator rather than APSweepback). When I manually choose APSweepback and type the password, it logs on but doesn't seem to do anything afterwards. I dare say it's something I have done wrong. Can you provide a bit more clarity on the obfuscated values? I am assuming for instance that the DJoinAcc user/password are DOMAIN accounts rather than AAD accounts and that the FQDN/Domain name are your local domain you are migrating from. Also, where does the API Key value come from? I used a defaul app key from the function app but don't think this is right.
Thanks and keep up the good work!