Join a Windows 2019 Standard Server to Office365 Azure

Mark Nabors 0 Reputation points
2023-01-24T16:16:19.0533333+00:00

I have a Windows 2019 Standard server running a legacy application and my backup software. All my clients are Joined to the Office365 Azure Domain in the cloud. No local AD at this time. The Windows 2019 Standard server is a standalone device and is registered in Azure, not Joined.

User's image

I need to join the Windows Server to the Azure domain to support a new policy that limits access to OneDrive to only Joined devices. The legacy application needs to access OneDrive to store documents. This new policy is blocking access to OneDrive for this device because it is only registered.

I found articles on federation, hybrid join and creating a VM. The first two seems to address how to integrate the local AD with Office365 Azure. The last is how to create a VM in the cloud. I'd like to just Join the device in Azure like a desktop. Is this possible?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,654 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2023-01-30T22:01:07.5466667+00:00

    Hello, you can join to Azure AD any Azure Windows Server Datacenter 2019 or greater edition (Standard and Core are not supported) Virtual Machine enabling Azure AD login with a CLI command similar to this:

    az vm extension set \
        --publisher Microsoft.Azure.ActiveDirectory \
        --name AADLoginForWindows \
        --resource-group myResourceGroup \
        --vm-name myVM
    

    Let us know if you need additional assistance. If the answer was helpful, please accept it so that others can find a solution.

    0 comments No comments