Cloud Active Directory / Domain Controller?

GohanIYIan

Ars Legatus Legionis
10,196
Looking for some pointing in the right direction as a mostly Linux admin. Big picture what I'm trying to do is take about 50 Windows client PCs that aren't part of a domain, join them to a domain, and be able to utilize group policy to manage them. Ideally I really don't want an on-premise domain controller; I'd much prefer some kind of managed service with Azure seeming like the most obvious candidate.

Where I lose the thread a bit is Microsoft has similar sounding services with widely differing pricing. There's this one with a per-user-per-month model. Then there's this one with a resource utilization model. And then simply clicking the calculator link on that 2nd page gives yet another different pricing model.

I'm not concerned about the cost; none of the estimates would be showstoppers. But the wide variances makes me think there's probably some serious differences in features and functionality, too, despite similar sounding names. Any hints which Active Directory branded offering(s) I need to accomplish the goal would be appreciated.
 

Incarnate

Ars Tribunus Angusticlavius
9,037
Subscriptor++
I haven't been as close to this area recently, so I could be wrong. Those look like two different products in your links.

Azure Active Directory is synced from an existing on-premise Active Directory, and it is typically used when utilizing M365 products like Exchange Online, SharePoint Online, and Skype for Business/Teams. On its own, it doesn't have the ability to do Group Policy, etc.

It looks like Azure Active Directory Domain Services is another product to actually run Active Directory, including Group Policy, etc in Azure. I haven't looked into this because we have had an on-premise Active Directory for decades.
 

GohanIYIan

Ars Legatus Legionis
10,196
As near as I can tell:

  • You can join a client PC to an Azure AD without an on-prem domain controller, albeit only with Windows 10 & reasonably up-to-date versions.
  • You can sync Azure AD with Azure AD DS (this might even be a requirement that Domain Services needs an associated Azure AD)
  • Azure AD DS can manage other Azure VMs using traditional tools like Group Policy.

I *think* what I was aiming for isn't exactly possible / correct. If I'm understanding it the pure cloud approach with Azure AD is to put everything into mobile device management with Intune, and that serves the same centralized management role as Group Policy albeit probably not nearly as fine grained. With the same Windows 10 only caveat.
 

molo

Ars Legatus Legionis
14,786
As near as I can tell:

  • You can join a client PC to an Azure AD without an on-prem domain controller, albeit only with Windows 10 & reasonably up-to-date versions.
  • You can sync Azure AD with Azure AD DS (this might even be a requirement that Domain Services needs an associated Azure AD)
  • Azure AD DS can manage other Azure VMs using traditional tools like Group Policy.

I *think* what I was aiming for isn't exactly possible / correct. If I'm understanding it the pure cloud approach with Azure AD is to put everything into mobile device management with Intune, and that serves the same centralized management role as Group Policy albeit probably not nearly as fine grained. With the same Windows 10 only caveat.


You've got it right.

If you go with *nothing* but Azure services, and don't actually setup your own AD domain and domain controller, you are stuck with managing stuff with Intune. Which isn't as fine-grained as Group Policy.

Realistically, only the simplest environments can run wihtout a "real" Domain and Domain Controller. There are too many things that don't work well with the cloud-only stuff.

I would give up on what you are trying to do, but you should still try the Azure AD and cloud-based stuff to see how it works. It's pretty obvious that Microsoft is moving towards that. Give it a few years and they'll start requiring it. And then everyone will scream about how expensive it is, and how it breaks compatibility with tons of stuff, and they'll make it semi-optional, and now you'll have 2 different systems to deal with for no real benefit, except that you have to give Microsoft more money every month. ;)
 

GohanIYIan

Ars Legatus Legionis
10,196
As near as I can tell:

  • You can join a client PC to an Azure AD without an on-prem domain controller, albeit only with Windows 10 & reasonably up-to-date versions.
  • You can sync Azure AD with Azure AD DS (this might even be a requirement that Domain Services needs an associated Azure AD)
  • Azure AD DS can manage other Azure VMs using traditional tools like Group Policy.

I *think* what I was aiming for isn't exactly possible / correct. If I'm understanding it the pure cloud approach with Azure AD is to put everything into mobile device management with Intune, and that serves the same centralized management role as Group Policy albeit probably not nearly as fine grained. With the same Windows 10 only caveat.


You've got it right.

If you go with *nothing* but Azure services, and don't actually setup your own AD domain and domain controller, you are stuck with managing stuff with Intune. Which isn't as fine-grained as Group Policy.

Realistically, only the simplest environments can run wihtout a "real" Domain and Domain Controller. There are too many things that don't work well with the cloud-only stuff.

I would give up on what you are trying to do, but you should still try the Azure AD and cloud-based stuff to see how it works. It's pretty obvious that Microsoft is moving towards that. Give it a few years and they'll start requiring it. And then everyone will scream about how expensive it is, and how it breaks compatibility with tons of stuff, and they'll make it semi-optional, and now you'll have 2 different systems to deal with for no real benefit, except that you have to give Microsoft more money every month. ;)

Thanks for the confirmation.

Given that the environment in question currently doesn't have a Domain or Domain Controller, I'm not really worried about compatibility with the more limited cloud stuff. Intune should be an improvement in centralized device management relative to the status quo without adding a new administrative project taking care of a local domain controller. I'm fine with it not being identical to Group Policy; I guess I was using it in the OP more as the subset of Domain Controller functionality that was most important. A different tool filling the same role is fine, and in this case not having every last knob & dial to fiddle with is OK.
 

chalex

Ars Legatus Legionis
11,918
Subscriptor++
Just to clarify, the goal is not to "implement AD" but to have some kind of centralized management of Windows machines? Certainly, the standard way is to stand up a whole AD environment, but I'm not sure it's necessary, and as a Linux admin, you certainly want to avoid that.

There have been a number of Red Hat products over the years that claim to help with that, but in theory, today, you can use Ansible alone. Of course, you need a whole bunch of manual setup on each Win10 client machine in order to allow Ansible to talk to it: https://docs.ansible.com/ansible/latest ... setup.html
 
D

Deleted member 43669

Guest
Just to clarify, the goal is not to "implement AD" but to have some kind of centralized management of Windows machines? Certainly, the standard way is to stand up a whole AD environment, but I'm not sure it's necessary, and as a Linux admin, you certainly want to avoid that.

There have been a number of Red Hat products over the years that claim to help with that, but in theory, today, you can use Ansible alone. Of course, you need a whole bunch of manual setup on each Win10 client machine in order to allow Ansible to talk to it: https://docs.ansible.com/ansible/latest ... setup.html

The OP talked about client machines. Ansible's usual mode of operation is the system running Ansible connects to the managed hosts, using WinRM for Windows systems typically. If those client machines are in arbitrary networks, some further work needs to be done for that to work.

Alternatively, you can set the client machines to pull... but that's not great either.

And even if you do that, I wouldn't recommend Ansible for this purpose. I *might have* recommended SaltStack in very specific scenarios, but since their security incident I don't think the Salt devs focus a lot on those scenarios...
 
Just to clarify, the goal is not to "implement AD" but to have some kind of centralized management of Windows machines? Certainly, the standard way is to stand up a whole AD environment, but I'm not sure it's necessary, and as a Linux admin, you certainly want to avoid that.

There have been a number of Red Hat products over the years that claim to help with that, but in theory, today, you can use Ansible alone. Of course, you need a whole bunch of manual setup on each Win10 client machine in order to allow Ansible to talk to it: https://docs.ansible.com/ansible/latest ... setup.html

The goal is sort of both. The goal is to take a consultant recommendation along the lines of "you need to rip out all these Linux servers and replace them with Microsoft because that's the standard that everyone uses" and transmute it into something more reasonable. Azure AD is sellable as a more forward-looking implementation that doesn't waste a bunch of money porting internal applications for no reason beyond vague paranoia about Linux.

Bigger picture it's not really about Linux v Microsoft though. It's about pushing anything that can be bog-standard off onto a 3rd party service provider so there's more time internally for the narrow set of things were customization is worthwhile.
 

molo

Ars Legatus Legionis
14,786
Just spin up a real Domain Controller in Azure and join the Windows machines to that domain.

Seriously, your consultant is right. Having a network of Windows machines without a real, honest-to-God Microsoft Server 2019 Domain Controller is just silly. It's necessary. It's how this stuff is supposed to work.

The AzureAD stuff is not a substitute. Not yet
 

dotorg

Ars Legatus Legionis
18,951
I’ve got a Synology “Directory Server” (really, just Samba) handling domain controller duties for a 25-workstation office. It actually works really well.

The Synology controls have a very limited feature set, but you can run the AD Admin tools on a workstation and set up really any policies you might like.

Meets their needs and no ongoing license costs.
 

tspinning

Seniorius Lurkius
42
As a “recovering” AD admin/engineer, if I were setting up a new organization, I would 100% NOT deploy an traditional Active Directory domain. Spend the time with Azure AD and Microsoft Endpoint Manager (formally InTune), you can do everything you want, and you don’t open yourself up to a wide array of AD enterprise attack paths that take dedicated security resources to truly secure and monitor.

From robust single sign on to advanced DLP and protections from Cloud App Security (with the right license for your users of course) you can make a VERY advanced organization in short time.

Good luck, keep spinning!
 

KD5MDK

Ars Legatus Legionis
23,394
Subscriptor++
Just spin up a real Domain Controller in Azure and join the Windows machines to that domain.

Seriously, your consultant is right. Having a network of Windows machines without a real, honest-to-God Microsoft Server 2019 Domain Controller is just silly. It's necessary. It's how this stuff is supposed to work.

The AzureAD stuff is not a substitute. Not yet
Are you advocating replacing the application servers with Windows ones? Because it sounds like that was the consultant recommendation.

Any client desktop should have an appropriate management tool installed, and the server infrastructure should have an appropriate management toolset installed. Those don’t have to be the same thing.
 

brainchasm

Ars Tribunus Angusticlavius
6,336
Subscriptor
Thanks for this thread. Got me interested enough to stand up a site-to-site VPN connection from our SonicWALL to AzureCloud, and now I'm plinking around making a RODC for funsies.
I took it all down, btw.

Cloud VM would be come randomly inaccessible, and then become accessible again, repeatedly over the course of a week.

Nothing wrong with my config or the settings. If it works at some point and then not at others, with nothing changed by me, then it's on You ("You" being MSFT).
 
GohanIYIan, how far from a traditional AD are you willing to stray?

I've been managing the IT department for a nonprofit for a few years now. We have a very tight budget and kept getting told "No" when requesting to upgrade our Windows Server 2003 AD. Last year I looked for an alternative to building a whole new set of servers. Found JumpCloud. I can set up and revoke login access. I can sync accounts with Office 365 or GSuite. I can send commands to managed computers. I can set policies on managed computers. I can remote install software on managed computers. We're a 100% Windows environment, so I haven't played around with the Mac or Linux tools JumpCloud has, but I understand most of the same features apply. So far I've been happy with it.

I think I remember the free demo version allowing up to 10 users and 10 devices.
 

mike8675309

Ars Scholae Palatinae
840
Subscriptor++
I feel something missed in the discussion here is that the poster is talking about 50 windows clients.
I'm going to assume those clients are going to need printers, and other possible services common with windows machines.
I've yet to see a recommendation come from Microsoft that doesn't recommend a local ADC machine, even if the main one is in the cloud. The latency and stability even across a VPN can be painful to deal with for logins, and printing.
You can certainly get around that in some cases, but it always makes managing those machines more challenging than otherwise.

We manage around 200 windows desktops (laptops) using Azure ADC as the primary, and a backup DC on the premises (running as a VM on a machine running other network management systems) with another backup running in GCP for projects there.