且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Azure AD登录Azure Win VM

更新时间:2022-12-07 22:16:51

我首先检查以下文档,该文档显示如何加入域以确保所有步骤都正确执行


https://docs.microsoft.com/en-us/azure / active-directory-domain-services / active-directory-ds-admin-guide-join-windows-vm-portal


接下来,你得到的错误是什么当您尝试使用域帐户登录时? 


Hello everyone,

anyone can tell me or give me some clues on how to login into a Windows 10 VM using a Azure AD credentials?

What I did so far:

(1) Set up an AD locally on a Win Server 2019 instance

(2) Created some users

(3) Registered and verified domain on Azure AD

(4) Synchronized all users to Azure Portal using Azure AD Connect Tool

(5) Created some Windows VMs and assigned AD users

(6) I can login at Azure Portal using replicated AD users and see available VMs

(7) Inside the VM, I connected Azure AD using "Office and school"-s.th. to the assigned account

The problem is: I cannot login to that VM using assigned users.

Maybe some background on the use-case might be useful:

Production AD server is located inside a DMZ. Users must be replicated to Azure cloud to let them access some VMs located at Azure.

Can anyone tell me please what's missing on my setup? Any help would be greatly appreciated.

Best regards,

Patrick

I would first check the following doc that shows how to join the domain to make sure all steps were taken correctly

https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-admin-guide-join-windows-vm-portal

Next, what is the error you are getting when you try to login with a domain account?