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/cloud-provisioning/how-to-troubleshoot.md
+25-15Lines changed: 25 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,11 @@ ms.technology: identity-adfs
11
11
---
12
12
13
13
# Cloud provisioning troubleshooting
14
+
14
15
Cloud provisioning touches many different things and has many different dependencies. Naturally, this can give rise to various issues. This document is designed to get you started on troubleshooting these issues. This document will introduce you to the typical areas that you should focus on, how to gather additional information, and various techniques that can be used to track down problems.
15
16
16
17
17
-
## Common troubleshooting areas
18
+
##Common troubleshooting areas
18
19
19
20
|Name|Description|
20
21
|-----|-----|
@@ -35,6 +36,7 @@ Some of the first things that you want to verify with the agent are:
35
36
These items can be verified in the Azure portal and on the local server that is running the agent.
36
37
37
38
### Azure portal agent verification
39
+
38
40
To verify the agent is being seen by Azure and is healthy follow these steps:
39
41
40
42
1. Sign in to the Azure portal.
@@ -46,6 +48,7 @@ To verify the agent is being seen by Azure and is healthy follow these steps:
@@ -54,16 +57,19 @@ This test will verify that your agents are able to communicate with Azure over p
54
57

55
58
56
59
### On the local server
60
+
57
61
To verify that the agent is running follow these steps:
58
62
59
63
1. On the server with the agent installed, open **Services** by either navigating to it or by going to Start/Run/Services.msc.
60
64
2. Under **Services**, make sure **Microsoft Azure AD Connect Agent Updater** and **Microsoft Azure AD Connect Provisioning Agent** are there and the status is **Running**.
You may see the following error when installing the cloud provisioning agent.
107
115
108
116
This is typically caused by the agent being unable to execute the PowerShell registration scripts due to local PowerShell execution policies.
109
117
110
118
To resolve this, change the PowerShell execution policies on the server. You need to have Machine and User policies as "Undefined" or "RemoteSigned". If it is “Unrestricted” you will see this error. For more information see [PowerShell execution policies](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-6).
111
119
112
120
### Log files
121
+
113
122
By default, the agent emits very minimal error messages and stack trace information. You can find these trace logs in the folder: **C:\ProgramData\Microsoft\Azure AD Connect Provisioning Agent\Trace**
114
123
115
124
Use the following steps to gather additional details for troubleshooting agent-related issues.
@@ -145,9 +154,11 @@ Use the following steps to gather additional details for troubleshooting agent-r
145
154
Get-Content “C:/ProgramData/Microsoft/Azure AD Connect Provisioning Agent/Trace/ProvAgentTrace.log” -Wait
146
155
```
147
156
## Object synchronization issues
157
+
148
158
The following section contains information on troubleshooting object synchronization.
149
159
150
160
### Provisioning logs
161
+
151
162
In the Azure portal, provisioning logs can be used to help track down and troubleshoot object synchronization issues. To view the logs, select **Logs**.
- Use Microsoft Graph to [restart the provisioning job](https://docs.microsoft.com/graph/api/synchronization-synchronizationjob-restart?view=graph-rest-beta&tabs=http). You'll have full control over what you restart. You can choose to clear escrows (to restart the escrow counter that accrues toward quarantine status), clear quarantine (to remove the application from quarantine), or clear watermarks. Use the following request:
0 commit comments