Migrate from Hybrid Azure AD to Full Cloud - azure

Currently setup with a hybrid Azure AD. Most of our devices are still joined to the local AD servers, with a few newer devices having been onboarded via Azure AD instead of local AD.
I've been searching for a while now but there doesn't seem to be many good resources for the move away from hybrid, other then: Manually unjoin and rejoin every device.
Hoping that I am missing something here and there is a way to do this via a script or other means?
Any suggestions or links are greatly appreciated.

AFAIK, currently there is no way to automate migrating from hybrid Azure AD devices to Full cloud.
You cannot change a hybrid joined device to full cloud without first
removing from the domain and joining to Azure.
You can find the similar scenario in this Microsoft Q&A by Sander Berkouwer that confirms the above.
You have to manually unjoin and rejoin every device. Before removing the devices, make sure to check the state of them using dsregcmd /status.
If DomainJoined is 'YES', unjoin the devices by following the below steps:
Make sure to turn off automatic registration before removing hybrid Azure AD devices.
Run command prompt as an administrator and execute the below command as a script to unjoin several devices in bulk: dsregcmd.exe /debug /leave
Please check the below links that can give you some pointers.
Migration from Hybrid to AAD by sikumars-msft - Microsoft Q&A
Convert hybrid AAD devices to full AAD joined - Azure Forum (spiceworks.com)

Related

Azure AD Join with PowerShell on Windows 10+ (Automated)

Is there still really no way to automate joining a Windows device to Azure AD via Powershell? I've looked and tried just about everything. The only methods I know of are below.
Self-service: Windows OOBE or Settings
Bulk enrollment
Windows Autopilot
Currently, there is no powershell script/commandlet that can auto join with AAD.
Apart from three method which you have mentioned there is also one more method i.e., Group Policy you can make use of it.
You can also view this to decide how to plan for Azure AD
Reference: https://learn.microsoft.com/en-us/answers/questions/261596/add-computer-to-azure-ad-step-by-step.html

Azure AD 'generic' settings for users, devices

There are some default settings for devices in Azure AD:
- Users may join devices to Azure AD (All-Selected-none)
- Additional local administrators on Azure AD joined devices (Selected-None)
- Require Multi-Factor Auth to join devices
an so on.
I am not able to find any solution to do this PROGRAMMATICALLY.
I went thru all MS Graph (also beta), tried PowerShell - Azure AD, Exchange Online, but without any result.
Only Msol has cmdlet Set-MsolDeviceRegistratioinServicePolicy, which does the job. But not whole job - I can't find how to set users/groups which can be selected.
And anyway, does MS Graph have this functionality?
MS Graph doesn't have this functionality yet. All the operations of Device are list here. Currently we can manage device identity using the Azure portal. You can send your feedback regarding this at the bottom of this link. Hope it helps.

Azure AD for Mac

we would like to use Azure AD credentials to sign in Mac machines and we are aware of that could be achieved to use Azure AD credentials to sign in local machines via Azure AD join while it is currently only supported for Windows 10. Hence may I know is there a work around for us to achieve using Azure AD credentials to sign in Mac machines? And we figure out the possible solution that we could create ADDS service in our Azure Active directory, and join the Mac machine to Azure AD Domain Service then use our Azure AD credentials to sign in the Mac Machine. May I know is it possible for Mac machine to join Azure AD Domain Service? and is the whole process workable for us to achieve the requirement? Thanks a lot on any ideas on this issue!!!
may I know is there a work around for us to achieve using Azure AD
credentials to sign in Mac machines?
You cannot join Azure AD with Mac OS X. If this is important to you , you can upvote this in this Feedback forum.
May I know is it possible for Mac machine to join Azure AD Domain
Service?
it's possible for Mac to join Azure AD Domain Service.
One Identity Authentication Services enables Unix, Linux, and Mac OS X systems to use the access, authentication, and authorization of an organization’s existing Active Directory (AD) infrastructure. Authentication Services now supports Azure Active Directory Domain Services enabling non-Windows resources to utilize the same next-generation platform that your existing SaaS solutions already use.
Also, there is a guide to integrate Mac OS X with AD.
Due to that I don't have Mac OS X in my test lab, so I didn't test.
Hope this helps!

Active Directory Domain Controller on Azure - Reverse setup

I'm looking to setup AD for our company. We have developed a cloud based app that needs robust permissions abilities, which AD easily can handle. The app is bases out of Heroku which runs on AWS. I really need AD to manage logins and organizational hierarchy.
I'd like to use a cloud based service to act as the primary Domain controller and in the future, setup on-premise servers to provide local authentication to manage file/print and computer services. This is a secondary need to the authentication needs for our app.
Does anyone know if this architecture is possible? That is, a AD's DC in Azure with replicated services to other on-premise servers, at a later time? This seems to be the reverse of most setups in Azure. I'm ok with using other cloud services than Azure. It just seems they have the most documentation for cloud AD setups.
Any thoughts or help would be greatly appreciated.
Thanks,
AT
Although I wouldn't go for Cloud to be my primary DC, here are some guidelines which might help you:
Guidelines for Deploying Windows Server Active Directory on Windows Azure Virtual Machines
Install a new Active Directory forest in Windows Azure
In order to fully validate your scenario, how do you think to join the Heroku computers to your domain controller? Because joining the server where your application runs will make the total sense of what you are trying to achieve.
If you just want to provide LDAP access from your application to the primary DC, and your app is not part of the Domain, then it makes no sense to install AD in Azure.
If you plan to just query the AD for organizational structure, I highly suggest that you take a look at the Windows Azure Active Directory and its Graph API. this is what you need, in the case you will not join any computers to the domain, because Windows Azure Active Directory is not a Domain Controller.
UPDATE
Please update your question with better description of simply to allow our Heroku based app to pull in the directory structure and login information to allow our users to authenticate to it. - I am afraid I can't really understand the application architecture and user login flow here.

Deploy Active Directory and ADFS 2.0 in Azure Virtual Machine and integrate it with ACS

Is it possible to use an Azure virtual machine as an Active Directory server with ADFS 2.0 and integrate it with ACS ?
Regards ,
James Roeiter
Having AD server (with RMS also) in cloud is an ask which I have heard time to time from Azure users and it sure is a great addition to have it running in Windows Azure or any cloud. Various organization's IT is asking the same as well however As of now with current Windows Azure it is not possible.
A few might suggest that using Windows Azure VM Role however, I would say that there are concern over that as well do to persistence and other issues so I would say it is not possible with Windows Azure VM Role as well and there are other issues related with Active Directory product as well to run in Cloud scenarios.
If I answer it directly, I would say as of now it is not supported and suggested scenario to have AD on Windows Azure and will not work due to various reasons.
You can now install AD on Azure in a persistent state. Its still preview but I have just got an standalone AD on a separate network on Azure. I haven't finished wiring up ADFS and ACS but given a little time to get my head around it and I will be there.
Why would you like to put your AD server in Azure? If it just for testing - you can. However the current state of Windows Azure only allows you to have a VM Role, which is Stateless. That means, you may prepare your VM with the AD, all configured for ACS and fill up with users. However you can't rely on any changes to be persisted (including password changed, user edits). VM Role is stateless, which means you will lose your changes once the role is recycled or rebooted, or healed.
So the final answer for the current Windows Azure offering would be - don't do that now, unless you want to just play around and see if it works.
** EDIT **
I am not an AD expert, what I managed to do and have an "in-house-virtualized" lab is to have ADFS on VM integrated with ACS. Another VM running Windows 7, which is domain joined to my AD. Then a web deployed application which leverage ACS with ADFS integration. Everything works fine.
As for storing AD data on external persistent storage - I don't know if it is possible, and how to configure that (already told you I am not AD expert). But if you know how to configure the storage for AD, and if you can store it in an SQL Azure, it is worth to give it a try.
And, finally, as Sandrino mentioned read the provided link to ZDNet's blog post, which has information you might find helpful.

Resources