After migrating to Azure, how can I query my organization Active Directory from within the application now hosted in Azure? - azure

I am searching around Google about this topic, but I can't find anything that talks about this. We have an ASP.NET WebForms application hosted on premise, and the login authenticate with our Active Directory. I can access the Active Directory outside the office, of course, using a VPN.
However, this application will be migrated to Azure. From Azure, we don't have access to our domain anymore, so we can't query our Active Directory users.
Which options do we have? There's a workaround for this?
Thank you!

You can use Azure AD to create an Active Directory domain in the cloud and connect it to your on-premises Active Directory domain. Azure AD connect integrates your on-premises directories with Azure AD. Refer to this article for more details.
With this solution, you need to setup Azure AD authentication on your app.
Reference:
Integrate on-premises AD with Azure AD.

Related

On-prem AD server to manage Azure VMs and other on-prem machines?

I'm looking for a solution and to know if it's possible to have one (1) on-prem AD server to manage/authenticate Azure VMs and other on-prem servers (Hybrid infra). I've made some searching and I can only find the other way around where: Azure AD to authenticate on-prem and VMs aka hybrid Azure AD join.
You can join a windows server machine to Azure Active Domain services. You can get more detailed explanation by checking in this link.
Hybrid Azure AD join is you can join your machine to both on-premises Active Directory and Azure Active Directory. Azure Active Directory and Azure Active Directory Domain services are 2 different thigs.

Windows Virtual Desktop why I need an AD sync to Azure AD

why I need a sync from onpremise AD to Azure AD for azure windows virtual desktop? It stands in the requierments but I do not understand the details why.
Regards
Stefan
Windows Virtual desktop is at time not compatible to run in a cloud only environment with Azure Active Directory only.
There are two options supported.
• Local AD synced with AAD connect to Azure AD
If you already are using a local active directory synced with Azure Ad Connect to Azure AD. This is probably your first choice of setup. You will need to add an Azure VPN to connect your LAN to an Azure Network. The WVD hosts need access to a Domain controller. For the best performance and functions, I also recommend setup of a Virtual domain controller in Azure.
• Azure Domain Services
If you have gone cloud only and deprecated your local AD, Azure offer Azure Domain Services. This is an Azure managed domain that is synced from Azure AD to Azure DS
http://www.tbone.se/2019/08/08/windows-virtual-desktop-part-2-requirements-and-infrastructure-setup/

How to use attach VM to Azure Active Directory?

I have O365 and Azure Active Directory enabled. Domain is testcompany.com and user can login to O365 with firstname.lastname#testcompany.com
I know how to create virtual network and create virtual machine to it.
And I would like to Web App to support AD authentication.
However I don't know what I need to do to able to join VM to AD. Should I create Azure Domain Services next? I read several articles explaining different features but cannot see what are main steps to perform.
Should I create Azure Domain Services next?
Yes, we should enable Azure AD Domain Services.
Here are the steps:
1.Create the AAD DC Administrators group
2.Create or select a virtual network for Azure Domain services
3.Enable Azure AD domain services
4.Update DNS settings for the Azure Virtual network
5.Enable password synchronization to AAD Domain Services for a cloud-only Azure AD tenant.
After completing the tasks above, you can a VM to the domain by referring to the link.

Azure AD connect and Azure ADFS

What is Azure AD connect and Azure ADFS? This is what I have understood: Azure ADFS is exposing on premises AD to Azure cloud and Azure AD connect is means to do that. Am I right?
We need to build an application which needs to authenticate users from different clients' AD. They may or may not have exposed their AD to Azure. Can someone please guide how can this problem be solved?
Azure ADFS is exposing on premises AD to Azure cloud and Azure AD connect is means to do that.
AS of now, the way Azure ADFS works, it essentially provides a way for a company to use AD and ADFS services, without having to deploy themselves. Just like how a Azure has Azure Web App will allow you to have a web server without having your own.
Unfortunately, It does not actually connect or integrate or expose your on premise AD. If you want your clients authenticate against multiple IDs, you do it the old fashioned way, by connecting to the on-premises AD directly. You cannot actually route it through Azure.
One thing which you can do (this will be a huge endeavour) is to move the on premises AD to Azure cloud, which can be done using Azure VMs. Now, that would allow your client to get rid of their on premises AD and use the Azure cloud for everything.

How to integrate On-Premweb application with Web app hosted on Azure (AAD authentication)?

What could be the ways to integrate a web application ( on-prem) to another web application (Azure) using azure AD authentication( happening in the background), with out the user being prompted for credentials.
It depends on how your on-premise application authenticated. Based on the description, you want to implement the single sign-on for the on-premise application with the application which protected by Azure AD.
In this scenario, you can deploy ADFS on-premise and make the on-premise web application authenticate by the ADFS. Then we need to enable the trust from the ADFS to Azure AD. After build the federated trust, when the users try to access the web application which protect by Azure AD will redirect to the ADFS, and if the users already authenticate the on-premise application they will not required to enter their credential again. Here is a figure to demonstrate this progress and you can refer more detail about it from this link.
And now, we can use Azure AD connect to integrate your on-premises directories with Azure Active Directory easily. You can refer the video on this link about different settings for this tool.

Resources