如何自动化加入Azure AD的过程 [英] How to automate the process to Join to Azure AD
问题描述
我正在开发一个完全自动化的Windows 10 IoT映像,因此技术人员在设置时只需要花费最少的精力。我找不到任何方法通过命令行加入Azure AD或以技术人员只需
输入用户名/密码的方式自动化它。我查看了批量配置,但令牌到期和限制导致了问题。有没有一种简单的方法可以通过PowerShell或其他方式加入AAD而不是通过Windows 10菜单?
谢谢
如果您使用ARM模板,则可以在部署期间实现此目的
此博客在部署期间或通过PowerShell执行此操作也很有用
我个人建议使用ARM模板,您可以配置VM的所有内容,包括域,只需单击按钮即可部署
Hi,
I am working on a Windows 10 IoT image which is fully automated so technician have a bare minimum of effort to do when setting it up. I can't find any way to make joining Azure AD via command line or to automate it in a way that the technician only has to enter a username/password. I looked into Bulk provisioning but the token expiry and limit is causing issues. Is there an easy way to join AAD via powershell or other instead of going through the Windows 10 Menus?
Thanks
You can achieve this during deployment if you use ARM templates
https://azure.microsoft.com/en-us/resources/templates/201-vm-domain-join/
You can should also be able to do it during VM creation using managed identities
https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
And this blog is also useful to do it during deployment or via PowerShell
Personally, I would suggest using ARM templates as you can configure everything about the VM including the domain and deploy with a click of a button
这篇关于如何自动化加入Azure AD的过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!