You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-identity-auth-active-directory-enable.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,24 @@
1
1
---
2
2
title: Overview - On-premises AD DS authentication to Azure file shares
3
-
description: Learn about Active Directory Domain Services (AD DS) authentication to Azure file shares. This article goes over supported scenarios, availability, and explains how the permissions work between your AD DS and Microsoft Entra ID.
3
+
description: Learn about Active Directory Domain Services (AD DS) authentication to Azure file shares. This article goes over supported scenarios, availability, and explains how the permissions work between your AD DS and Microsoft Entra ID.
4
4
author: khdownie
5
5
ms.service: azure-file-storage
6
6
ms.topic: how-to
7
-
ms.date: 11/21/2023
7
+
ms.date: 03/04/2024
8
8
ms.author: kendownie
9
9
recommendations: false
10
10
---
11
11
12
12
# Overview - on-premises Active Directory Domain Services authentication over SMB for Azure file shares
We strongly recommend that you review the [How it works section](./storage-files-active-directory-overview.md#how-it-works) to select the right AD source for authentication. The setup is different depending on the domain service you choose. This article focuses on enabling and configuring on-premises AD DS for authentication with Azure file shares.
16
17
17
18
If you're new to Azure Files, we recommend reading our [planning guide](storage-files-planning.md).
18
19
19
20
## Applies to
21
+
20
22
| File share type | SMB | NFS |
21
23
|-|:-:|:-:|
22
24
| Standard file shares (GPv2), LRS/ZRS |||
@@ -45,10 +47,9 @@ To help you set up identity-based authentication for some common use cases, we p
45
47
|-|-|
46
48
|[](https://www.youtube.com/watch?v=jd49W33DxkQ)|[](https://www.youtube.com/watch?v=9S5A1IJqfOQ)|
47
49
48
-
49
50
## Prerequisites
50
51
51
-
Before you enable AD DS authentication for Azure file shares, make sure you've completed the following prerequisites:
52
+
Before you enable AD DS authentication for Azure file shares, make sure you've completed the following prerequisites:
52
53
53
54
- Select or create your [AD DS environment](/windows-server/identity/ad-ds/get-started/virtual-dc/active-directory-domain-services-overview) and [sync it to Microsoft Entra ID](../../active-directory/hybrid/how-to-connect-install-roadmap.md) using either the on-premises [Microsoft Entra Connect Sync](../../active-directory/hybrid/whatis-azure-ad-connect.md) application or [Microsoft Entra Connect cloud sync](../../active-directory/cloud-sync/what-is-cloud-sync.md), a lightweight agent that can be installed from the Microsoft Entra Admin Center.
54
55
@@ -58,7 +59,7 @@ Before you enable AD DS authentication for Azure file shares, make sure you've c
58
59
59
60
If a machine isn't domain joined, you can still use AD DS for authentication if the machine has unimpeded network connectivity to the on-premises AD domain controller and the user provides explicit credentials. For more information, see [Mount the file share from a non-domain-joined VM or a VM joined to a different AD domain](storage-files-identity-ad-ds-mount-file-share.md#mount-the-file-share-from-a-non-domain-joined-vm-or-a-vm-joined-to-a-different-ad-domain).
60
61
61
-
- Select or create an Azure storage account. For optimal performance, we recommend that you deploy the storage account in the same region as the client from which you plan to access the share. Then, [mount the Azure file share](storage-how-to-use-files-windows.md) with your storage account key. Mounting with the storage account key verifies connectivity.
62
+
- Select or create an Azure storage account. For optimal performance, we recommend that you deploy the storage account in the same region as the client from which you plan to access the share. Then, [mount the Azure file share](storage-how-to-use-files-windows.md) with your storage account key. Mounting with the storage account key verifies connectivity.
62
63
63
64
Make sure that the storage account containing your file shares isn't already configured for identity-based authentication. If an AD source is already enabled on the storage account, you must disable it before enabling on-premises AD DS.
64
65
@@ -76,21 +77,21 @@ If you plan to enable any networking configurations on your file share, we recom
76
77
77
78
Enabling AD DS authentication for your Azure file shares allows you to authenticate to your Azure file shares with your on-premises AD DS credentials. Further, it allows you to better manage your permissions to allow granular access control. Doing this requires synching identities from on-premises AD DS to Microsoft Entra ID using either the on-premises [Microsoft Entra Connect Sync](../../active-directory/hybrid/whatis-azure-ad-connect.md) application or [Microsoft Entra Connect cloud sync](../../active-directory/cloud-sync/what-is-cloud-sync.md), a lightweight agent that can be installed from the Microsoft Entra Admin Center. You assign share-level permissions to hybrid identities synced to Microsoft Entra ID while managing file/directory-level access using Windows ACLs.
78
79
79
-
Follow these steps to set up Azure Files for AD DS authentication:
80
+
Follow these steps to set up Azure Files for AD DS authentication:
80
81
81
82
1.[Enable AD DS authentication on your storage account](storage-files-identity-ad-ds-enable.md)
82
83
83
84
1.[Assign share-level permissions to the Microsoft Entra identity (a user, group, or service principal) that is in sync with the target AD identity](storage-files-identity-ad-ds-assign-permissions.md)
84
85
85
86
1.[Configure Windows ACLs over SMB for directories and files](storage-files-identity-ad-ds-configure-permissions.md)
86
-
87
+
87
88
1.[Mount an Azure file share to a VM joined to your AD DS](storage-files-identity-ad-ds-mount-file-share.md)
88
89
89
90
1.[Update the password of your storage account identity in AD DS](storage-files-identity-ad-ds-update-password.md)
90
91
91
-
The following diagram illustrates the end-to-end workflow for enabling AD DS authentication over SMB for Azure file shares.
92
+
The following diagram illustrates the end-to-end workflow for enabling AD DS authentication over SMB for Azure file shares.
92
93
93
-

94
+
:::image type="content" source="media/storage-files-active-directory-domain-services-enable/diagram-files-active-directory-domain-services.png" alt-text="Diagram showing AD DS authentication over SMB for Azure Files workflow." lightbox="media/storage-files-active-directory-domain-services-enable/diagram-files-active-directory-domain-services.png" border="false":::
94
95
95
96
Identities used to access Azure file shares must be synced to Microsoft Entra ID to enforce share-level file permissions through the [Azure role-based access control (Azure RBAC)](../../role-based-access-control/overview.md) model. Alternatively, you can use a default share-level permission. [Windows-style DACLs](/previous-versions/technet-magazine/cc161041(v=msdn.10)) on files/directories carried over from existing file servers will be preserved and enforced. This offers seamless integration with your enterprise AD DS environment. As you replace on-premises file servers with Azure file shares, existing users can access Azure file shares from their current clients with a single sign-on experience, without any change to the credentials in use.
0 commit comments