Troubleshooting Workspace synctool


While installing the Workspace365 Synctool you might run in to some error code in the log files.



Microsoft SQL Server Compact 4.0
Microsoft Online Services Sign-In Assistant
Install PowerShell 5.0
Install module in PowerShell 5.0:
"install-module Azure"
"install-module AzureRm"
An active Azure subscription is required.



"API Endpoint or resource id was not found"

018-08-16 16:42:00.689 ActiveDirectoryToWorkspaceSyncTool.ActiveDirectory.NotificationService - Error during W365 notification
 ActiveDirectoryToWorkspaceSyncTool.ActiveDirectory.NotificationService.A(:0) (null)
 NDAW.AdSyncApi.Client.Exceptions.NotFoundException: API Endpoint or resource id was not found

The error explains that some information that was put in is invalid.
This issue could be solved by checking the following:

Back to top

The Workspace site URL

Just the site name without any attribute behind the "/". Example:""

API Token

Make sure the right API authentication token is set and "Enable sync from Active Directory" is turned on.


Environment name

The environment name has to be set, this can be found after the /.

 Back to top

"Firstname and Lastname are required"

NDAW.AdSyncApi.Client.Exceptions.ServerValidationException: Server
validation failed: FirstName:This field is required, LastName:This field is requiredTh

The error explains that the workspace synctool is trying to synchronize a user without a first and last name assigned to them in azure. Fix this by making sure all users have a first and last name assigned to them.

 Back to top

"The remote server returned an error: (400) Bad Request."

ActiveDirectoryToWorkspaceSyncTool.AzureAD.Exceptions.AzureAdParsedDataServiceException - Exception parsing failed
ActiveDirectoryToWorkspaceSyncTool.AzureAD.Exceptions.AzureAdParsedDataServiceException.Parse(:0) (null)
System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at ActiveDirectoryToWorkspaceSyncTool.AzureAD.GraphQuery.AzureAdGraphQuery.A()


  1. Add the database.

  2. Browse to the Synctool DB and fill your password in.

  3. Click close and open the synctool table "AzureAdToken". Select the
    AzureAdToken line and remove it. (Select & Delete)

  4. Restart the synctool and check the logs.
    Back to top
Have more questions? Submit a request