Microsoft Azure now offers an AD service in the cloud. To join a Windows 10 computer to an Azure AD domain, go to Settings –> System –> About, then click Join Azure AD. Next go through the wizard to join the computer to the domain.
If you want to automate the process of adding a Windows 10 PC to An Azure AD domain, use the Add-AzureProvisioningConfig -WindowsDomain PowerShell cmdlet.