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/active-directory/hybrid/how-to-connect-install-move-db.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Use the following steps to move the Azure AD Connect database to a computer runn
29
29
30
30
1. On the Azure AD Connect server, go to **Services** and stop the Microsoft Azure AD Sync service.
31
31
1. Go to the *%ProgramFiles%\Microsoft Azure AD Sync\Data* folder and copy the *ADSync.mdf* and *ADSync_log.ldf* files to the computer running remote SQL Server.
32
-
1. Restart the **Microsoft Azure AD Sync** service on the Azure AD Connect server.
32
+
1. Restart the Microsoft Azure AD Sync service on the Azure AD Connect server.
33
33
1. Uninstall Azure AD Connect by going to **Control Panel** > **Programs** > **Programs and Features**. Select **Microsoft Azure AD Connect**, and then select **Uninstall**.
34
34
1. On the computer running remote SQL Server, open SQL Server Management Studio.
35
35
1. Right-click **Databases** and select **Attach**.
@@ -46,23 +46,29 @@ Use the following steps to move the Azure AD Connect database to a computer runn
46
46
47
47
:::image type="content" source="media/how-to-connect-install-move-db/db2.png" alt-text="Screenshot that shows the command described in the step in PowerShell.":::
48
48
49
-
1. In **Welcome to Azure AD Connect**. Review and agree to the license terms and privacy notice, and then select **Continue**.
49
+
1. In **Welcome to Azure AD Connect**, review and agree to the license terms and privacy notice, and then select **Continue**.
50
50
51
51
:::image type="content" source="media/how-to-connect-install-move-db/db3.png" alt-text="Screenshot that shows the Welcome to Azure AD Connect page.":::
52
52
53
-
1. In **Install required components**, the **Use an existing SQL Server** option is enabled. Specify the name of the SQL Server instance that's hosting the ADSync database. If the SQL engine instance that's used to host the ADSync database isn't the default instance on the SQL Server instance, you must specify the name of the SQL engine instance. Also, if SQL browsing isn't enabled, you must specify the SQL engine instance port number. For example:
53
+
1. In **Install required components**, the **Use an existing SQL Server** option is enabled. Specify the name of the SQL Server instance that's hosting the ADSync database. If the SQL engine instance that's used to host the ADSync database isn't the default instance in SQL Server, you must specify the name of the SQL engine instance.
54
+
55
+
Also, if SQL browsing isn't enabled, you must specify the SQL engine instance port number. For example:
54
56
55
57
:::image type="content" source="media/how-to-connect-install-move-db/db4.png" alt-text="Screenshot that shows the options on the Install required components page.":::
56
58
57
-
1. In **Connect to Azure AD**, you must provide the credentials of a Hybrid Identity Administrator for your directory in Azure Active Directory (Azure AD). We recommend that you use an account in the default `onmicrosoft.com` domain. This account is used only to create a service account in Azure AD. The account isn't used after the wizard is finished.
59
+
1. In **Connect to Azure AD**, you must provide the credentials of a Hybrid Identity Administrator for your directory in Azure Active Directory (Azure AD).
60
+
61
+
We recommend that you use an account in the default `onmicrosoft.com` domain. This account is used only to create a service account in Azure AD. The account isn't used after the wizard is finished.
58
62
59
63
:::image type="content" source="media/how-to-connect-install-move-db/db5.png" alt-text="Screenshot that shows the options on the Connect to Azure AD page.":::
60
64
61
-
1. In **Connect your directories**, the existing Windows Server Active Directory (Windows Server AD) forest that's configured for directory sync is listed with a red X icon beside it. To sync changes from a Windows Server AD, an Active Directory Domain Services (AD DS) account is required. The Azure AD Connect wizard can't retrieve the credentials of the AD DS account that's stored in the ADSync database because the credentials are encrypted. The credentials can be decrypted only by the earlier Azure AD Connect server. Select **Change Credentials** to specify the AD DS account for the Windows Server AD forest.
65
+
1. In **Connect your directories**, the existing Windows Server Active Directory (Windows Server AD) forest that's configured for directory sync is listed with a red X icon beside it. To sync changes from Windows Server AD, an Active Directory Domain Services (AD DS) account is required. Select **Change Credentials** to specify the AD DS account for the Windows Server AD forest.
66
+
67
+
The Azure AD Connect wizard can't retrieve the credentials of the AD DS account that are stored in the ADSync database because the credentials are encrypted. The credentials can be decrypted only by the earlier instance of the Azure AD Connect server.
62
68
63
69
:::image type="content" source="media/how-to-connect-install-move-db/db6.png" alt-text="Screenshot that shows the options on the Connect your directories page.":::
64
70
65
-
1. In the dialog, you can choose one of the following options:
71
+
1. In the dialog, choose one of the following options:
66
72
67
73
1. Enter the credentials for an Enterprise Admin and let Azure AD Connect create the AD DS account for you.
68
74
1. Create the AD DS account yourself and enter its credentials in Azure AD Connect.
@@ -71,9 +77,9 @@ Use the following steps to move the Azure AD Connect database to a computer runn
71
77
72
78
After you select an option and enter the credentials, select **OK**.
73
79
74
-
1. After the credentials are entered, the red cross icon is replaced with a green checkmark icon. Select **Next**.
80
+
1. After the credentials are entered, the red X icon is replaced with a green checkmark icon. Select **Next**.
75
81
76
-
:::image type="content" source="media/how-to-connect-install-move-db/db8.png" alt-text="Screenshot that shows the Azure AD Connect your directories page after you enter account credentials.":::
82
+
:::image type="content" source="media/how-to-connect-install-move-db/db8.png" alt-text="Screenshot that shows the Connect your directories page after you enter account credentials.":::
77
83
78
84
1. In **Ready to configure**, select **Install**.
79
85
@@ -84,5 +90,5 @@ Use the following steps to move the Azure AD Connect database to a computer runn
84
90
## Next steps
85
91
86
92
- Learn more about [integrating your on-premises identities with Azure Active Directory](whatis-hybrid-identity.md).
87
-
-[Install Azure AD Connect by using an existing ADSync database](how-to-connect-install-existing-database.md).
88
-
-[Install Azure AD Connect by using SQL delegated administrator permissions](how-to-connect-install-sql-delegation.md).
93
+
-Get more information about [installing Azure AD Connect by using an existing ADSync database](how-to-connect-install-existing-database.md).
94
+
-Learn how to [install Azure AD Connect by using SQL delegated administrator permissions](how-to-connect-install-sql-delegation.md).
Copy file name to clipboardExpand all lines: articles/active-directory/hybrid/reference-connect-ports.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ This table describes the ports and protocols that are required for communication
45
45
| HTTP |80 (TCP) |Used to download CRLs (Certificate Revocation Lists) to verify TLS/SSL certificates. |
46
46
| HTTPS |443 (TCP) |Used to synchronize with Azure AD. |
47
47
48
-
For a list of URLs and IP addresses you need to open in your firewall, see [Office 365 URLs and IP address ranges](https://support.office.com/article/Office-365-URLs-and-IP-address-ranges-8548a211-3fe7-47cb-abb1-355ea5aa88a2) and [Troubleshooting Azure AD Connect connectivity](tshoot-connect-connectivity.md#troubleshoot-connectivity-issues-in-the-installation-wizard).
48
+
For a list of URLs and IP addresses you need to open in your firewall, see [Office 365 URLs and IP address ranges](https://support.office.com/article/Office-365-URLs-and-IP-address-ranges-8548a211-3fe7-47cb-abb1-355ea5aa88a2) and [Troubleshooting Azure AD Connect connectivity](tshoot-connect-connectivity.md#connectivity-issues-in-the-installation-wizard).
49
49
50
50
## Table 3 - Azure AD Connect and AD FS Federation Servers/WAP
51
51
This table describes the ports and protocols that are required for communication between the Azure AD Connect server and AD FS Federation/WAP servers.
Copy file name to clipboardExpand all lines: articles/active-directory/hybrid/tshoot-connect-connectivity.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ ms.custom: has-adal-ref
21
21
22
22
This article explains how connectivity between Azure AD Connect and Azure Active Directory (Azure AD) works and how to troubleshoot connectivity issues. These issues are most likely to be seen in an environment that uses a proxy server.
23
23
24
-
## Troubleshoot connectivity issues in the installation wizard
24
+
## Connectivity issues in the installation wizard
25
25
26
26
Azure AD Connect uses the Microsoft Authentication Library (MSAL) for authentication. The installation wizard and the sync engine require machine.config to be properly configured because these two are .NET applications.
27
27
@@ -96,7 +96,7 @@ Is the password a temporary password that must be changed? Is it actually the co
96
96
97
97
### Verify proxy connectivity
98
98
99
-
To check whether the Azure AD Connect server is connecting to the proxy and the internet, use some PowerShell cmdlets to see if the proxy is allowing web requests. In a PowerShell prompt, run `Invoke-WebRequest -Uri https://adminwebservice.microsoftonline.com/ProvisioningService.svc`. (Technically, the first call is to `https://login.microsoftonline.com` and this URI works as well, but the other URI is faster to respond.)
99
+
To check whether the Azure AD Connect server is connecting to the proxy and the internet, use some PowerShell cmdlets to see if the proxy is allowing web requests. In PowerShell, run `Invoke-WebRequest -Uri https://adminwebservice.microsoftonline.com/ProvisioningService.svc`. (Technically, the first call is to `https://login.microsoftonline.com`, and this URI also works, but the other URI is quicker to respond.)
100
100
101
101
PowerShell uses the configuration in *machine.config* to contact the proxy. The settings in *winhttp/netsh* shouldn't affect these cmdlets.
102
102
@@ -108,7 +108,7 @@ If you see the message **Unable to connect to the remote server**, PowerShell is
108
108
109
109
:::image type="content" source="media/tshoot-connect-connectivity/invokewebrequestunable.png" alt-text="Screenshot of an error message when PowerShell can't connect to the remote server.":::
110
110
111
-
If the proxy isn't correctly configured, an error message appears:
111
+
If the proxy isn't correctly configured, a 403 or 407 error message appears:
112
112
113
113
:::image type="content" source="media/tshoot-connect-connectivity/invokewebrequest403.png" alt-text="Screenshot of a 403 proxy error in PowerShell.":::
114
114
@@ -123,17 +123,17 @@ The following table describes 403 and 407 proxy errors:
123
123
124
124
### Proxy idle timeout setting
125
125
126
-
When Azure AD Connect sends an export request to Azure AD, Azure AD can take up to 5 minutes to process the request before generating a response. A response might be delayed especially if many group objects that have large group memberships are included in the same export request. Ensure that the proxy idle timeout is configured to be greater than 5 minutes. Otherwise, you might have intermittent connectivity issues with Azure AD on the Azure AD Connect server.
126
+
When Azure AD Connect sends an export request to Azure AD, Azure AD can take up to 5 minutes to process the request before generating a response. The response is especially likely to be delayed if many group objects that have large group memberships are included in the same export request. Ensure that the proxy idle timeout is configured to be greater than 5 minutes. Otherwise, you might have intermittent connectivity issues with Azure AD on the Azure AD Connect server.
127
127
128
-
## The communication pattern between Azure AD Connect and Azure AD
128
+
## Communication pattern between Azure AD Connect and Azure AD
129
129
130
130
If you've followed all the steps described in this article and you still can't connect, at this point you might look at network logs. This section describes a normal and successful connectivity pattern.
131
131
132
-
Here are some common concerns about data in the network logs that you can ignore:
132
+
But first, here are some common concerns about data in the network logs that you can ignore:
133
133
134
134
- There are calls to `https://dc.services.visualstudio.com`. It's not required to have this URL open in the proxy for the installation to succeed, and these calls can be ignored.
135
135
- You see that DNS resolution lists the actual hosts as being in the DNS namespace `nsatc.net` and other namespaces that aren't under `microsoftonline.com`. However, there aren't any web service requests on the actual server names. You don't have to add these URLs to the proxy.
136
-
- The endpoints `adminwebservice` and `provisioningapi` are discovery endpoints and are used to find the actual endpoint to use. These endpoints are different depending on your region.
136
+
- The endpoints `adminwebservice` and `provisioningapi` are discovery endpoints, and they're used to find the actual endpoint to use. These endpoints are different depending on your region.
137
137
138
138
### Reference proxy logs
139
139
@@ -179,27 +179,27 @@ The following example is a dump from an actual proxy log and the installation wi
179
179
180
180
This section covers errors that might be returned from the ADAL and PowerShell. The error explanation should help you identify your next steps.
181
181
182
-
### Invalid Grant
182
+
### Invalid grant
183
183
184
184
You entered an invalid user name or password. For more information, see [The password can't be verified](#the-password-cant-be-verified).
185
185
186
-
### Unknown User Type
186
+
### Unknown user type
187
187
188
188
Your Azure AD directory can't be found or resolved. Maybe you tried to sign in with a user name in an unverified domain?
189
189
190
-
### User Realm Discovery Failed
190
+
### User realm discovery failed
191
191
192
-
Network or proxy configuration issues. The network can't be reached. See [Troubleshoot connectivity issues in the installation wizard](#troubleshoot-connectivity-issues-in-the-installation-wizard).
192
+
Network or proxy configuration issues. The network can't be reached. See [Connectivity issues in the installation wizard](#connectivity-issues-in-the-installation-wizard).
193
193
194
-
### User Password Expired
194
+
### User password expired
195
195
196
196
Your credentials have expired. Change your password.
197
197
198
-
### Authorization Failure
198
+
### Authorization failure
199
199
200
200
Azure AD Connect failed to authorize the user to perform an action in Azure AD.
201
201
202
-
### Authentication Canceled
202
+
### Authentication canceled
203
203
204
204
The MFA challenge was canceled.
205
205
@@ -210,7 +210,7 @@ The MFA challenge was canceled.
210
210
-->
211
211
</div>
212
212
213
-
### Connect To MSOnline Failed
213
+
### Connect to MSOnline failed
214
214
215
215
Authentication was successful, but Azure AD PowerShell has an authentication problem.
216
216
@@ -221,7 +221,7 @@ Authentication was successful, but Azure AD PowerShell has an authentication pro
221
221
-->
222
222
</div>
223
223
224
-
### Azure AD Global Administrator Role Needed
224
+
### Azure AD Global Administrator role needed
225
225
226
226
The user was authenticated successfully, but the user isn't assigned the Global Administrator role. You can [assign the Global Administrator role](../roles/permissions-reference.md) to the user.
227
227
@@ -232,9 +232,9 @@ The user was authenticated successfully, but the user isn't assigned the Global
232
232
-->
233
233
</div>
234
234
235
-
### Privileged Identity Management Enabled
235
+
### Privileged Identity Management enabled
236
236
237
-
Authentication was successful. Privileged Identity Management has been enabled and the user currently isn't a Hybrid Identity Administrator. For more information, see [Privileged Identity Management](../privileged-identity-management/pim-getting-started.md).
237
+
Authentication was successful, but Privileged Identity Management has been enabled and the user currently isn't a Hybrid Identity Administrator. For more information, see [Privileged Identity Management](../privileged-identity-management/pim-getting-started.md).
238
238
239
239
<divid="get-msolcompanyinformation-failed">
240
240
<!--
@@ -243,7 +243,7 @@ Authentication was successful. Privileged Identity Management has been enabled a
243
243
-->
244
244
</div>
245
245
246
-
### Company Information Unavailable
246
+
### Company information unavailable
247
247
248
248
Authentication was successful, but company information couldn't be retrieved from Azure AD.
249
249
@@ -254,7 +254,7 @@ Authentication was successful, but company information couldn't be retrieved fro
254
254
-->
255
255
</div>
256
256
257
-
### Domain Information Unavailable
257
+
### Domain information unavailable
258
258
259
259
Authentication was successful, but domain information couldn't be retrieved from Azure AD.
260
260
@@ -264,7 +264,7 @@ Shown as *Unexpected error* in the installation wizard. This error might occur i
264
264
265
265
## Troubleshooting steps for earlier releases
266
266
267
-
In releases starting with build number 1.1.105.0 (released February 2016), the sign-in assistant was retired. Configuring the sign-in assistant should no longer be required, but the information in the next sections is kept as reference.
267
+
In releases starting with build number 1.1.105.0 (released February 2016), the sign-in assistant was retired. Configuring the sign-in assistant should no longer be required, but the information in the next sections is included for reference.
268
268
269
269
For the single sign-in assistant to work, Microsoft Windows HTTP Services (WinHTTP) must be configured. You can configure WinHTTP by using [netsh](how-to-connect-install-prerequisites.md#connectivity).
0 commit comments