%3CLINGO-SUB%20id%3D%22lingo-sub-1708219%22%20slang%3D%22en-US%22%3EAzure%20File%20Sync%3A%20Replacing%20Existing%20Server%20Endpoints%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1708219%22%20slang%3D%22en-US%22%3E%3CH2%20id%3D%22toc-hId--1243708248%22%20id%3D%22toc-hId--1243708248%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-1243804585%22%20id%3D%22toc-hId-1243804585%22%3EIntroduction%3C%2FH2%3E%0A%3CP%3EThis%20is%20Andrew%20Coughlin%20and%20I%20am%20a%20Customer%20Engineer%20at%20Microsoft%20focusing%20on%20Azure%20IaaS.%26nbsp%3B%20In%20this%20blog%20I%20will%20focus%20on%20how%20to%20add%20an%20additional%20server%20to%20an%20Azure%20File%20Sync%20and%20how%20to%20remove%20the%20old%20server.%20This%20process%20should%20be%20followed%20if%20you%20are%20looking%20to%20retire%20your%20old%20Azure%20File%20Sync%20server%20and%20want%20to%20replace%20it%20with%20a%20newer%20server.%26nbsp%3B%20However%2C%20if%20you%20are%20currently%20having%20issues%20with%20your%20Azure%20File%20Sync%20Server%20this%20blog%20is%20not%20for%20your%20scenario.%26nbsp%3B%20If%20you%20are%20having%20issues%20with%20your%20sync%20server%20it%20is%20best%20to%20open%20a%20support%20request%20and%20work%20with%20an%20engineer%20to%20solve%20the%20problem.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--563649878%22%20id%3D%22toc-hId--563649878%22%3EPrerequisites%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3EExisting%20Azure%20File%20Sync%20Service%20setup%20and%20configured.%3C%2FLI%3E%0A%3CLI%3EDeploy%20a%20new%20Windows%20Server.%3C%2FLI%3E%0A%3CLI%3EDownload%20the%20Azure%20File%20Sync%20Agent%20%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D57159%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EPrepare%20your%20Windows%20Server%20to%20use%20Azure%20File%20Sync%20as%20documented%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-sync-files-deployment-guide%3Ftabs%3Dazure-portal%252Cproactive-portal%23prepare-windows-server-to-use-with-azure-file-sync%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1923862955%22%20id%3D%22toc-hId-1923862955%22%3EInstall%20the%20Azure%20File%20Sync%20Agent%3C%2FH2%3E%0A%3CP%3ETo%20install%20the%20Azure%20File%20Sync%20Agent%2C%20you%20will%20go%20to%20the%20location%20where%20you%20downloaded%20the%20executable.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENOTE%3A%20Each%20version%20of%20Windows%20Server%20has%20its%20own%20version%20of%20the%20installation%20executable.%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EThen%20you%20will%20execute%20the%20installer.%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3ENext%3C%2FSTRONG%3E%2C%20on%20the%20welcome%20setup%20wizard.%3C%2FLI%3E%0A%3CLI%3EAccept%20the%20terms%20and%20conditions%20and%20click%20%3CSTRONG%3ENext%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3ENext%3C%2FSTRONG%3E%2C%20on%20Feature%20Selection.%3C%2FLI%3E%0A%3CLI%3ESet%20your%20proxy%20settings%20if%20required%2C%20click%20%3CSTRONG%3ENext%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3ECheck%20the%20checkbox%20next%20to%20%3CSTRONG%3EAutomatically%20update%20when%20a%20new%20version%20becomes%20available%3C%2FSTRONG%3E%2C%20then%20select%20the%20day%20and%20time%2C%20then%20click%20%3CSTRONG%3EInstall%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EWait%20for%20the%20installation%20to%20finish.%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3EFinish%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Install%20AFS%20Agent.gif%22%20style%3D%22width%3A%20641px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221812iB85E878C4A27E17A%2Fimage-dimensions%2F641x359%3Fv%3D1.0%22%20width%3D%22641%22%20height%3D%22359%22%20title%3D%22Install%20AFS%20Agent.gif%22%20alt%3D%22Install%20AFS%20Agent.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-116408492%22%20id%3D%22toc-hId-116408492%22%3E%3CBR%20%2F%3ERegister%20it%20to%20the%20Storage%20Sync%20Service%3C%2FH2%3E%0A%3CP%3EOnce%20you%20have%20installed%20the%20Azure%20Sync%20Service%2C%20you%20need%20to%20register%20your%20server%20with%20the%20service.%26nbsp%3B%20To%20do%20this%20you%20will%20do%20the%20following%20on%20the%20new%20server%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EClick%20OK%2C%20on%20the%20Azure%20File%20Sync%20-%20Agent%20Update%3C%2FLI%3E%0A%3CLI%3EClick%20Sign%20In.%3C%2FLI%3E%0A%3CLI%3EYou%20will%20be%20prompted%20for%20your%20global%20administrator%20username%20%2F%20password.%3C%2FLI%3E%0A%3CLI%3EYou%20will%20then%20select%20the%20subscription%2C%20resource%20group%20and%20storage%20sync%20service%2C%20then%20click%20Register.%3C%2FLI%3E%0A%3CLI%3ENetwork%20connectivity%20test%20will%20show%20green%2C%20you%20may%20need%20to%20click%20retest.%3C%2FLI%3E%0A%3CLI%3EClick%20Close%20once%20done.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Register%20AF%20Agent.gif%22%20style%3D%22width%3A%20642px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221811iA7425CDA7C7DE4DA%2Fimage-dimensions%2F642x430%3Fv%3D1.0%22%20width%3D%22642%22%20height%3D%22430%22%20title%3D%22Register%20AF%20Agent.gif%22%20alt%3D%22Register%20AF%20Agent.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1691045971%22%20id%3D%22toc-hId--1691045971%22%3EAdd%20the%20Server%20Endpoint%3C%2FH2%3E%0A%3CP%3ECurrently%20we%20have%20installed%20the%20agent%20and%20registered%20the%20new%20server%20with%20the%20Azure%20File%20Sync%20Service.%26nbsp%3B%20Next%2C%20we%20will%20add%20the%20new%20server%20endpoint%20to%20our%20existing%20Sync%20group.%26nbsp%3B%20We%20will%20go%20to%20the%20portal%20and%20search%20for%20Storage%20Sync%20Service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_2-1600952754726.png%22%20style%3D%22width%3A%20298px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221789i333AB161BF3142A0%2Fimage-dimensions%2F298x166%3Fv%3D1.0%22%20width%3D%22298%22%20height%3D%22166%22%20title%3D%22AndrewCoughlin_2-1600952754726.png%22%20alt%3D%22AndrewCoughlin_2-1600952754726.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20you%20will%20click%20on%20the%20Storage%20Sync%20Service%20you%20are%20going%20to%20add%20this%20new%20server%20to.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_3-1600952754729.png%22%20style%3D%22width%3A%20701px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221792i0ED875489B7F9014%2Fimage-dimensions%2F701x163%3Fv%3D1.0%22%20width%3D%22701%22%20height%3D%22163%22%20title%3D%22AndrewCoughlin_3-1600952754729.png%22%20alt%3D%22AndrewCoughlin_3-1600952754729.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20Overview%20and%20then%20click%20on%20your%20sync%20group.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_4-1600952754731.png%22%20style%3D%22width%3A%20683px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221794i454B5B4D33F38229%2Fimage-dimensions%2F683x227%3Fv%3D1.0%22%20width%3D%22683%22%20height%3D%22227%22%20title%3D%22AndrewCoughlin_4-1600952754731.png%22%20alt%3D%22AndrewCoughlin_4-1600952754731.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20the%20old%20Server%20endpoint.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_5-1600952754733.png%22%20style%3D%22width%3A%20503px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221793iFCAEFCF12868DB53%2Fimage-dimensions%2F503x331%3Fv%3D1.0%22%20width%3D%22503%22%20height%3D%22331%22%20title%3D%22AndrewCoughlin_5-1600952754733.png%22%20alt%3D%22AndrewCoughlin_5-1600952754733.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETake%20note%20of%20your%20current%20tiering%20policies%20for%20volume%20policy%20and%20date%20policy.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_6-1600952754738.png%22%20style%3D%22width%3A%20531px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221795i596D5604A92D4968%2Fimage-dimensions%2F531x671%3Fv%3D1.0%22%20width%3D%22531%22%20height%3D%22671%22%20title%3D%22AndrewCoughlin_6-1600952754738.png%22%20alt%3D%22AndrewCoughlin_6-1600952754738.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20the%20X%20on%20the%20Server%20Endpoint%20Properties%20Window.%3C%2FP%3E%0A%3CP%3EClick%20Add%20server%20endpoint.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_7-1600952754740.png%22%20style%3D%22width%3A%20675px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221796iF3B829B4B08AD1C1%2Fimage-dimensions%2F675x259%3Fv%3D1.0%22%20width%3D%22675%22%20height%3D%22259%22%20title%3D%22AndrewCoughlin_7-1600952754740.png%22%20alt%3D%22AndrewCoughlin_7-1600952754740.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20the%20Add%20server%20endpoint%20screen%2C%20select%20the%20server%20from%20the%20dropdown%20list%20on%20Registered%20Server%2C%20and%20type%20the%20path%20to%20be%20synced%20as%20part%20of%20the%20sync%20group.%20(Example%3A%20E%3A%5CShares)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_8-1600952754743.png%22%20style%3D%22width%3A%20511px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221797iA4EAB47EAC5C3F14%2Fimage-dimensions%2F511x417%3Fv%3D1.0%22%20width%3D%22511%22%20height%3D%22417%22%20title%3D%22AndrewCoughlin_8-1600952754743.png%22%20alt%3D%22AndrewCoughlin_8-1600952754743.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20your%20current%20server%20endpoint%20is%20doing%20cloud%20tiering%2C%20enable%20Cloud%20Tiering%20and%20configure%20the%20new%20server%20endpoint%20to%20match%20the%20old%20server%20endpoint%20configuration%2C%20then%20click%20Create.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_9-1600952754747.png%22%20style%3D%22width%3A%20432px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221798i0DF1901A9DADABA3%2Fimage-dimensions%2F432x546%3Fv%3D1.0%22%20width%3D%22432%22%20height%3D%22546%22%20title%3D%22AndrewCoughlin_9-1600952754747.png%22%20alt%3D%22AndrewCoughlin_9-1600952754747.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20will%20now%20see%202%20server%20endpoints%2C%20and%20the%20new%20one%20you%20just%20added%20will%20be%20in%20a%20pending%20status.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_10-1600952754748.png%22%20style%3D%22width%3A%20647px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221799i38CE643B0F9535EF%2Fimage-dimensions%2F647x154%3Fv%3D1.0%22%20width%3D%22647%22%20height%3D%22154%22%20title%3D%22AndrewCoughlin_10-1600952754748.png%22%20alt%3D%22AndrewCoughlin_10-1600952754748.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20the%20setup%20is%20complete%20the%20new%20server%20should%20show%20healthy%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_11-1600952754750.png%22%20style%3D%22width%3A%20702px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221800iA8C6CD878F47B011%2Fimage-dimensions%2F702x176%3Fv%3D1.0%22%20width%3D%22702%22%20height%3D%22176%22%20title%3D%22AndrewCoughlin_11-1600952754750.png%22%20alt%3D%22AndrewCoughlin_11-1600952754750.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20switch%20to%20the%20new%20server%2C%20you%20will%20see%20new%20files%20being%20populated%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_12-1600952754754.png%22%20style%3D%22width%3A%20709px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221801i571E1938671F2C95%2Fimage-dimensions%2F709x248%3Fv%3D1.0%22%20width%3D%22709%22%20height%3D%22248%22%20title%3D%22AndrewCoughlin_12-1600952754754.png%22%20alt%3D%22AndrewCoughlin_12-1600952754754.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20now%20have%20our%20new%20server%20added%20and%20part%20of%20the%20sync%20group.%26nbsp%3B%20As%20files%20are%20created%20on%20the%20old%20server%2C%20they%20are%20synced%20to%20the%20file%20share%20and%20back%20to%20the%20second%20file%20server.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-796466862%22%20id%3D%22toc-hId-796466862%22%3EVerify%20Sync%20on%20new%20Azure%20File%20Sync%20Server%3C%2FH2%3E%0A%3CP%3ENext%20you%20need%20to%20verify%20that%20the%20new%20server%20has%20completed%20a%20sync.%26nbsp%3B%20To%20do%20this%20we%20will%20open%20eventvwr%20on%20the%20new%20server.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20navigate%20to%20Applications%20and%20Services%20Logs%20%5C%20Microsoft%20%5C%20FileSync%20%5C%20Agent%20%5C%20Telemetry.%26nbsp%3B%20We%20want%20to%20filter%20on%20Event%20ID%209102%2C%20this%20is%20logged%20once%20a%20sync%20has%20completed.%26nbsp%3B%20For%20additional%20information%20around%20this%20event%20id%20you%20can%20visit%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-sync-files-monitoring%23event-logs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%20page.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_13-1600952754761.png%22%20style%3D%22width%3A%20701px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221803i58ED08D6ED64025A%2Fimage-dimensions%2F701x281%3Fv%3D1.0%22%20width%3D%22701%22%20height%3D%22281%22%20title%3D%22AndrewCoughlin_13-1600952754761.png%22%20alt%3D%22AndrewCoughlin_13-1600952754761.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENext%20thing%20to%20do%20is%20to%20create%20the%20shares.%20This%20is%20one%20%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2Fwiki%2Fcontents%2Farticles%2F408.how-to-back-up-and-restore-ntfs-and-share-permissions.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Earticle%3C%2FA%3E%20that%20explains%20how%20to%20export%20%2F%20import%20share%20permissions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1010987601%22%20id%3D%22toc-hId--1010987601%22%3ERemove%20Server%20Endpoint%3C%2FH2%3E%0A%3CP%3E%3CSTRONG%3EWARNING%3C%2FSTRONG%3E%3A%20Before%20completing%20this%20next%20step%20make%20sure%20synchronization%2C%20as%20noted%20in%20%E2%80%98Verify%20Sync%20on%20new%20Azure%20File%20Sync%20Server%E2%80%99%2C%20has%20completed%20and%20no%20client%20devices%20are%20no%20longer%20talking%20to%20this%20server.%26nbsp%3B%20Don%E2%80%99t%20complete%20these%20steps%20until%20all%20clients%20are%20talking%20to%20the%20new%20server.%20There%20are%20several%20ways%20you%20can%20move%20your%20client%20devices%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAdd%20the%20server%20to%20the%20existing%20DFS%20target%20folder%2C%20see%20my%20blog%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcore-infrastructure-and-security%2Fazure-file-sync-integration-with-dfs-namespaces%2Fba-p%2F1670525%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehere%3C%2FA%3E%20for%20more%20information.%3C%2FLI%3E%0A%3CLI%3EShutdown%20the%20old%20server%2C%20rename%20the%20new%20server%20to%20the%20old%20server%20name%2C%20be%20advised%20the%20server%20endpoint%20in%20the%20portal%20doesn%E2%80%99t%20update%20the%20name%20as%20noted%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-files-release-notes%23server-endpoint%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3ECreate%20a%20CNAME%20from%20the%20old%20server%20to%20the%20new%20server%2C%20for%20documentation%20for%20creating%20a%20cname%20use%20this%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fnetworking%2Fcore-network-guide%2Fcncg%2Fserver-certs%2Fcreate-an-alias-cname-record-in-dns-for-web1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Elink%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENormally%20when%20you%20remove%20a%20server%20endpoint%20you%20may%20only%20have%201%20server%20in%20the%20sync%20group.%26nbsp%3B%20Before%20you%20do%20this%2C%20you%20would%20make%20sure%20to%20recall%20those%20files.%26nbsp%3B%20In%20this%20scenario%2C%20we%20have%202%20servers%20in%20the%20sync%20group%20and%20therefore%20we%20do%20not%20need%20to%20recall%20the%20files.%26nbsp%3B%20However%20if%20you%20are%20retiring%20an%20Azure%20File%20Sync%20server%20that%20you%20want%20to%20keep%20the%20files%20locally%20on%20the%20file%20server%20you%20will%20want%20to%20recall%20the%20files%20before%20proceeding%20as%20documented%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-sync-files-server-registration%23optional-recall-all-tiered-data%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGo%20back%20to%20the%20Azure%20Portal%2C%20then%20the%20Storage%20Sync%20Service%20and%20the%20Sync%20Group.%20Click%20on%20the%20old%20sync%20server%20and%20click%20Delete.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_14-1600952754762.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221802i24756C30C3B22445%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22AndrewCoughlin_14-1600952754762.png%22%20alt%3D%22AndrewCoughlin_14-1600952754762.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EType%20the%20name%20of%20the%20server%20in%20the%20text%20box%20and%20click%20Delete.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_15-1600952754767.png%22%20style%3D%22width%3A%20499px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221805i5D3131EE114D7ACA%2Fimage-dimensions%2F499x626%3Fv%3D1.0%22%20width%3D%22499%22%20height%3D%22626%22%20title%3D%22AndrewCoughlin_15-1600952754767.png%22%20alt%3D%22AndrewCoughlin_15-1600952754767.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_16-1600952754768.png%22%20style%3D%22width%3A%20525px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221804i47500EF4077E7212%2Fimage-dimensions%2F525x264%3Fv%3D1.0%22%20width%3D%22525%22%20height%3D%22264%22%20title%3D%22AndrewCoughlin_16-1600952754768.png%22%20alt%3D%22AndrewCoughlin_16-1600952754768.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1476525232%22%20id%3D%22toc-hId-1476525232%22%3ERemove%20Registered%20Server%3C%2FH2%3E%0A%3CP%3EThe%20second%20to%20the%20last%20step%20is%20unregistering%20the%20server%20from%20the%20Azure%20File%20Sync%20Service.%26nbsp%3B%20To%20do%20this%20go%20back%20to%20the%20Azure%20Portal%2C%20then%20the%20Storage%20Sync%20Service.%26nbsp%3B%20Click%20Registered%20Servers%20and%20click%20on%20the%20server%20you%20are%20wanting%20to%20retire.%26nbsp%3B%20Next%2C%20we%20will%20click%20on%20Unregister%20Server.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_17-1600952754774.png%22%20style%3D%22width%3A%20710px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221806iC0303F8C09BF80A8%2Fimage-dimensions%2F710x236%3Fv%3D1.0%22%20width%3D%22710%22%20height%3D%22236%22%20title%3D%22AndrewCoughlin_17-1600952754774.png%22%20alt%3D%22AndrewCoughlin_17-1600952754774.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EType%20the%20name%20of%20the%20server%20in%20the%20text%20box%20and%20click%20Unregister.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_18-1600952754779.png%22%20style%3D%22width%3A%20515px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221807i588F85254D479918%2Fimage-dimensions%2F515x713%3Fv%3D1.0%22%20width%3D%22515%22%20height%3D%22713%22%20title%3D%22AndrewCoughlin_18-1600952754779.png%22%20alt%3D%22AndrewCoughlin_18-1600952754779.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_19-1600952754781.png%22%20style%3D%22width%3A%20508px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221808i3C2BB506C019D1F3%2Fimage-dimensions%2F508x245%3Fv%3D1.0%22%20width%3D%22508%22%20height%3D%22245%22%20title%3D%22AndrewCoughlin_19-1600952754781.png%22%20alt%3D%22AndrewCoughlin_19-1600952754781.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--330929231%22%20id%3D%22toc-hId--330929231%22%3EUninstall%20the%20Azure%20File%20Sync%20agent%3C%2FH2%3E%0A%3CP%3EThe%20last%20step%20is%20an%20optional%20task%2C%20since%20we%20removed%20the%20server%20from%20the%20sync%20group%20and%20unregistered%20it%2C%20those%20are%20the%20more%20important%20tasks.%26nbsp%3B%20If%20you%20would%20like%20to%20uninstall%20the%20agent%2C%20it%20is%204%20simple%20steps%20as%20outlined%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EClick%20Start%20%26gt%3B%20Control%20Panel%20%26gt%3B%20Add%2FRemove%20Programs%20(Programs%20and%20Features).%3C%2FLI%3E%0A%3CLI%3EClick%20on%20Storage%20Sync%20Agent%20%26gt%3B%20Click%20Uninstall.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AndrewCoughlin_20-1600952754782.png%22%20style%3D%22width%3A%20633px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221809i54C386994BE40A9C%2Fimage-dimensions%2F633x114%3Fv%3D1.0%22%20width%3D%22633%22%20height%3D%22114%22%20title%3D%22AndrewCoughlin_20-1600952754782.png%22%20alt%3D%22AndrewCoughlin_20-1600952754782.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%223%22%3E%0A%3CLI%3EClick%20Yes%2C%20on%20Are%20you%20sure%20you%20want%20to%20uninstall%20Storage%20Sync%20Agent.%3C%2FLI%3E%0A%3CLI%3EClick%20Yes%20to%20restart%20now%2C%20or%20No%20to%20restart%20later.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--464613955%22%20id%3D%22toc-hId--464613955%22%3EConclusion%3C%2FH2%3E%0A%3CP%3EIn%206-7%20easy%20steps%2C%20we%20replaced%20an%20old%20Windows%20Server%20running%20Azure%20File%20Sync%20with%20a%20new%20Windows%20Server.%20Are%20you%20a%20Premier%20or%20Unified%20customer%3F%20If%20so%20and%20you%20are%20wanting%20to%20know%20more%20about%20Azure%20File%20Sync%2C%20ask%20your%20CSAM%20about%20the%20Activate%20Azure%20with%20Azure%20File%20offering.%26nbsp%3B%20Thank%20you%20for%20taking%20the%20time%20to%20read%20this%20blog%2C%20I%20hope%20this%20helps%20you%20and%20see%20you%20next%20time.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1708219%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Azure%20File%20Sync.png%22%20style%3D%22width%3A%20806px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221788i4DD74D26F8139AB0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Azure%20File%20Sync.png%22%20alt%3D%22Azure%20File%20Sync.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIn%20this%20blog%20I%20will%20focus%20on%20adding%20an%20additional%20server%20to%20an%20Azure%20File%20Sync%20and%20remove%20the%20old%20server.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1708219%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAndrewCoughlin%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

 

Introduction

This is Andrew Coughlin and I am a Customer Engineer at Microsoft focusing on Azure IaaS.  In this blog I will focus on how to add an additional server to an Azure File Sync and how to remove the old server. This process should be followed if you are looking to retire your old Azure File Sync server and want to replace it with a newer server.  However, if you are currently having issues with your Azure File Sync Server this blog is not for your scenario.  If you are having issues with your sync server it is best to open a support request and work with an engineer to solve the problem.

 

Prerequisites

  • Existing Azure File Sync Service setup and configured.
  • Deploy a new Windows Server.
  • Download the Azure File Sync Agent here.
  • Prepare your Windows Server to use Azure File Sync as documented here.

 

Install the Azure File Sync Agent

To install the Azure File Sync Agent, you will go to the location where you downloaded the executable. 

NOTE: Each version of Windows Server has its own version of the installation executable.

  1. Then you will execute the installer. 
  2. Click Next, on the welcome setup wizard.
  3. Accept the terms and conditions and click Next.
  4. Click Next, on Feature Selection.
  5. Set your proxy settings if required, click Next.
  6. Check the checkbox next to Automatically update when a new version becomes available, then select the day and time, then click Install.
  7. Wait for the installation to finish.
  8. Click Finish.

 

Install AFS Agent.gif


Register it to the Storage Sync Service

Once you have installed the Azure Sync Service, you need to register your server with the service.  To do this you will do the following on the new server:

  1. Click OK, on the Azure File Sync - Agent Update
  2. Click Sign In.
  3. You will be prompted for your global administrator username / password.
  4. You will then select the subscription, resource group and storage sync service, then click Register.
  5. Network connectivity test will show green, you may need to click retest.
  6. Click Close once done.

 

Register AF Agent.gif

 

Add the Server Endpoint

Currently we have installed the agent and registered the new server with the Azure File Sync Service.  Next, we will add the new server endpoint to our existing Sync group.  We will go to the portal and search for Storage Sync Service.

 

AndrewCoughlin_2-1600952754726.png

 

Then you will click on the Storage Sync Service you are going to add this new server to.

 

AndrewCoughlin_3-1600952754729.png

 

Click on Overview and then click on your sync group.

 

AndrewCoughlin_4-1600952754731.png

 

Click on the old Server endpoint.

 

AndrewCoughlin_5-1600952754733.png

 

Take note of your current tiering policies for volume policy and date policy.

 

AndrewCoughlin_6-1600952754738.png

 

Click on the X on the Server Endpoint Properties Window.

Click Add server endpoint.

 

AndrewCoughlin_7-1600952754740.png

 

On the Add server endpoint screen, select the server from the dropdown list on Registered Server, and type the path to be synced as part of the sync group. (Example: E:\Shares)

 

AndrewCoughlin_8-1600952754743.png

 

If your current server endpoint is doing cloud tiering, enable Cloud Tiering and configure the new server endpoint to match the old server endpoint configuration, then click Create.

 

AndrewCoughlin_9-1600952754747.png

 

You will now see 2 server endpoints, and the new one you just added will be in a pending status.

 

AndrewCoughlin_10-1600952754748.png

 

When the setup is complete the new server should show healthy:

 

AndrewCoughlin_11-1600952754750.png

 

If you switch to the new server, you will see new files being populated:

 

AndrewCoughlin_12-1600952754754.png

 

We now have our new server added and part of the sync group.  As files are created on the old server, they are synced to the file share and back to the second file server. 

 

Verify Sync on new Azure File Sync Server

Next you need to verify that the new server has completed a sync.  To do this we will open eventvwr on the new server.

 

Then navigate to Applications and Services Logs \ Microsoft \ FileSync \ Agent \ Telemetry.  We want to filter on Event ID 9102, this is logged once a sync has completed.  For additional information around this event id you can visit this page.

 

AndrewCoughlin_13-1600952754761.png

 

Next thing to do is to create the shares. This is one article that explains how to export / import share permissions.

 

Remove Server Endpoint

WARNING: Before completing this next step make sure synchronization, as noted in ‘Verify Sync on new Azure File Sync Server’, has completed and no client devices are no longer talking to this server.  Don’t complete these steps until all clients are talking to the new server. There are several ways you can move your client devices:

  • Add the server to the existing DFS target folder, see my blog here for more information.
  • Shutdown the old server, rename the new server to the old server name, be advised the server endpoint in the portal doesn’t update the name as noted here.
  • Create a CNAME from the old server to the new server, for documentation for creating a cname use this link.

 

Normally when you remove a server endpoint you may only have 1 server in the sync group.  Before you do this, you would make sure to recall those files.  In this scenario, we have 2 servers in the sync group and therefore we do not need to recall the files.  However if you are retiring an Azure File Sync server that you want to keep the files locally on the file server you will want to recall the files before proceeding as documented here.

 

Go back to the Azure Portal, then the Storage Sync Service and the Sync Group. Click on the old sync server and click Delete.

 

AndrewCoughlin_14-1600952754762.png

 

Type the name of the server in the text box and click Delete.

 

AndrewCoughlin_15-1600952754767.png

 

 

AndrewCoughlin_16-1600952754768.png

 

Remove Registered Server

The second to the last step is unregistering the server from the Azure File Sync Service.  To do this go back to the Azure Portal, then the Storage Sync Service.  Click Registered Servers and click on the server you are wanting to retire.  Next, we will click on Unregister Server.

 

AndrewCoughlin_17-1600952754774.png

 

Type the name of the server in the text box and click Unregister.

 

AndrewCoughlin_18-1600952754779.png

 

 

AndrewCoughlin_19-1600952754781.png

 

Uninstall the Azure File Sync agent

The last step is an optional task, since we removed the server from the sync group and unregistered it, those are the more important tasks.  If you would like to uninstall the agent, it is 4 simple steps as outlined below:

 

  1. Click Start > Control Panel > Add/Remove Programs (Programs and Features).
  2. Click on Storage Sync Agent > Click Uninstall.

AndrewCoughlin_20-1600952754782.png

 

  1. Click Yes, on Are you sure you want to uninstall Storage Sync Agent.
  2. Click Yes to restart now, or No to restart later.

 

Conclusion

In 6-7 easy steps, we replaced an old Windows Server running Azure File Sync with a new Windows Server. Are you a Premier or Unified customer? If so and you are wanting to know more about Azure File Sync, ask your CSAM about the Activate Azure with Azure File offering.  Thank you for taking the time to read this blog, I hope this helps you and see you next time.

 

1 Comment
Microsoft

Thanks for the useful information share