Azure file sync - When running FileSyncErrorsReport.ps1 I only get information on one sync group, not all of them

Kim K Hansen 21 Reputation points
2020-09-25T06:38:59.023+00:00

Azure file sync - When running FileSyncErrorsReport.ps1 I only get information on one sync group, not all of them. How can I get output on all the sync groups registred on a server??

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,301 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 37,416 Reputation points Microsoft Employee
    2020-09-25T19:46:48.957+00:00

    @Kim K Hansen

    If the FileSyncErrorsReport.ps1 script returns "There were no file errors found" or does not list per-item errors for the sync group, the cause is either:

    Cause 1: The last completed sync session did not have per-item errors. The portal should be updated soon to show 0 Files Not Syncing.

    Check the Event ID 9102 in the Telemetry event log to confirm the PerItemErrorCount is 0.
    Cause 2: The ItemResults event log on the server wrapped due to too many per-item errors and the event log no longer contains errors for this sync group.

    To prevent this issue, increase the ItemResults event log size. The ItemResults event log can be found under "Applications and Services Logs\Microsoft\FileSync\Agent" in Event Viewer.
    https://learn.microsoft.com/en-us/azure/storage/files/storage-sync-files-troubleshoot?tabs=server%2Cazure-portal#broken-sync

    Hope this helps! Let us know if this doesn't resolve your issue or if you have further questions.

    ---------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Sumarigo-MSFT 47,021 Reputation points Microsoft Employee
    2020-09-28T05:22:57.503+00:00

    @Kim K Hansen Adding more info to the deherman response. Adding PS1 is run on the ServerEndpoint and by default it will return info on all sync groups (in which this Server is participating). If this server is not part of the sync group, then it may not return info Check the PS1 code to understand more info, Therefore it may not produce data for sync group the server is not part of it

    Just checking in to see if the above answer helped. If this answers your query, please don’t forget to "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

    0 comments No comments

  2. Kim K Hansen 21 Reputation points
    2020-09-28T10:00:53.893+00:00

    Here is an example when running FileSyncErrorsReport.ps1 it reports "There were no file errors found. Done" The telemetry log shows UploadPerssistentErrors 1828762-image.png

    and the 18 count is persistent with what Azure dasboard reports:
    28726-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.