Event 1034, LS File Transfer Agent Service fail after server removal

After a pool and his associated Edge server were decommissioned, I consistently receiving this error:


Skype for Business Server 2015, File Transfer Agent service encountered an error while accessing a file share and will continuously attempt to access this file share until this issue is resolved. While this condition persists, replication to replica machines might not occur.

Access denied. (\\RemovedServer.ad.local\xds-replica\from-master\data.zip)

Cause: Possible issues with file share permissions. This can occur if the computer hosting the file share has outdated cached credentials for the computer that is trying to access the file share.


For details about how to resolve file share permission issues, see the product documentation.

Event ID: 1034
Task Category: 1121

Next I need to check some leftovers from the decommissioning.
Checking the Central Management Store Status gave me a hint:

PS C:\Windows\system32> Get-CsManagementStoreReplicationStatus -CentralManagementStoreStatus

LastUpdatedOn                        : 22/03/2016 6:48:58 PM
ActiveMasterFqdn                     : ActiveServer.ad.local
ActiveMasterLastHeartBeat            : 22/03/2016 6:52:18 PM
ActiveFileTransferAgentFqdn          : ActiveServer.ad.local
ActiveFileTransferAgentLastHeartBeat : 22/03/2016 6:52:17 PM
ActiveReplicas                       : {ActiveServer.ad.local, EdgeServer.ad.local}
DeletedReplicas                      : {RemovedServer.ad.local, RemovedEdgeServer.ad.local}

PS C:\Windows\system32>

I was able and saw the DeletedReplicas.

Normal the Invoke-CsManagementStoreReplication should solve the problem, but simply it didn't work out.

Even if you had decommission a server proper, which is:
1. remove from Topology
2. must Disable-CsComputer

If you run Bootstrapper, the Disable/ Uninstallation is not working.

They stuck still in the DeletedReplicas.

The only solution,(but not support if you can run Disable-CsComputer any longer) is, you have to remove them manually from the XDS database.

Go the SQL CMS Server and execute the script finding the left over servers:

USE xds
GOSELECT [ReplicaId]
FROM [dbo].[Replica]

Than identify the DeletedReplica Server and delete them with:

delete [dbo].[Replica] where [ReplicaId] in (1,4)
where (1,4) are the column identified with the DeletedReplicas server.

This should support this issue.


  1. Corporate events and activities are impressive tools for promotion and in developing popularity with the customers - both new and old. Successful event at seattle convention center employ creative ideas and the prosperity of the social media opportunities that are available.


Post a Comment

Popular posts from this blog

How to hide users from GAL if they are AD Connect synchronized

Cannot join external Lync Meeting: Lync Edge Server Single IP Address (Lync Edge Server Single IP Web Conferenceing Problem)

MFA with Guest Access and different tenants settings