Updating Redirections.xml to configure what not to copy to a profile with FSLogix

%3CLINGO-SUB%20id%3D%22lingo-sub-2752753%22%20slang%3D%22en-US%22%3EUpdating%20Redirections.xml%20to%20configure%20what%20not%20to%20copy%20to%20a%20profile%20with%20FSLogix%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2752753%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20configured%20Redirections.xml%20in%20our%20Horizon%20Cloud%20on%20Microsoft%20Azure%20environment%20to%20optimize%20the%20user%20profile%20data.%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3BSystem%20Components%3A%20AVD%20(Azure%20Virtual%20Desktop%20%2B%20Horizon%20Cloud)%20%2B%20FSlogix%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EAfter%20the%20Go-Live%2C%20we%20find%20the%20items%20we%20can%20add%20to%20the%20Redirections.xml%20with%20Exclude%20tags%20to%20reduce%20the%20user%20profile%20data.%20However%2C%20when%20we%20put%20the%20new%20tags%20on%20the%20xml%2C%20the%20already%20created%20items%20in%20those%20paths%20won't%26nbsp%3B%20%26nbsp%3Bbe%20removed%2C%20and%20users%20don't%26nbsp%3B%20have%20the%20access%20to%20the%20items%2C%20so%20users%20cannot%20find%20and%20delete%20the%20items%20by%20themselves%20also.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EMeanwhile%2C%20we%20have%20been%20providing%20DaaS%20service%20for%2025K%20users%2C%20so%20it%E2%80%99s%20not%20feasible%20to%20delete%20the%20data%20one%20by%20one%20with%20admin%20account.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIs%20there%20any%20resolution%20to%20manage%20this%20issue%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2754144%22%20slang%3D%22en-US%22%3ERe%3A%20Updating%20Redirections.xml%20to%20configure%20what%20not%20to%20copy%20to%20a%20profile%20with%20FSLogix%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2754144%22%20slang%3D%22en-US%22%3EYou%20can%20use%20the%20fslogix%20cleanup%20script%20and%20prune%20the%20folders%20by%20modifying%20the%20xml%20file%20that%20the%20script%20references.%3CBR%20%2F%3E%3CBR%20%2F%3E%22fslogix%2FProfile-Cleanup%20at%20main%20%C2%B7%20aaronparker%2Ffslogix%20%C2%B7%20GitHub%22%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Faaronparker%2FFSLogix%2Ftree%2Fmain%2FProfile-Cleanup%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Faaronparker%2FFSLogix%2Ftree%2Fmain%2FProfile-Cleanup%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2801610%22%20slang%3D%22en-US%22%3ERe%3A%20Updating%20Redirections.xml%20to%20configure%20what%20not%20to%20copy%20to%20a%20profile%20with%20FSLogix%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2801610%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F281592%22%20target%3D%22_blank%22%3E%40paultozer%3C%2FA%3E%3CBR%20%2F%3EThank%20you%20for%20the%20information.%20I%20didn't%20notice%20the%20script.%3CBR%20%2F%3E%3CBR%20%2F%3EUnfortunately%2C%20it%20turns%20out%20that%20the%20setting%20is%20not%20allowed%20by%20my%20corporate%20IT%20rule%2C%20because%20this%20is%20not%20supported%20by%20Microsoft%2C%20and%20have%20the%20possibility%20to%20erase%20the%20users'%20data%2C%20which%20need%20to%20be%20kept.%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20there%20any%20way%20to%20overcome%20this%20issue%20by%20the%20method%20supported%20by%20Microsoft%20%3F%3C%2FLINGO-BODY%3E
New Contributor

We configured Redirections.xml in our Horizon Cloud on Microsoft Azure environment to optimize the user profile data.
   System Components: AVD (Azure Virtual Desktop + Horizon Cloud) + FSlogix

After the Go-Live, we find the items we can add to the Redirections.xml with Exclude tags to reduce the user profile data. However, when we put the new tags on the xml, the already created items in those paths won't   be removed, and users don't  have the access to the items, so users cannot find and delete the items by themselves also.

Meanwhile, we have been providing DaaS service for 25K users, so it’s not feasible to delete the data one by one with admin account.


Is there any resolution to manage this issue?


Thank you.

2 Replies
You can use the fslogix cleanup script and prune the folders by modifying the xml file that the script references.

"fslogix/Profile-Cleanup at main · aaronparker/fslogix · GitHub" https://github.com/aaronparker/FSLogix/tree/main/Profile-Cleanup
@paultozer
Thank you for the information. I didn't notice the script.

Unfortunately, it turns out that the setting is not allowed by my corporate IT rule, because this is not supported by Microsoft, and have the possibility to erase the users' data, which need to be kept.

Is there any way to overcome this issue by the method supported by Microsoft ?