Forum Discussion
Map Home-Directory attribute UNC path for locally connected azure-ad joined shared devices.
The paths already exist on our file servers and are accessible to each user based on their username. We need to devise a method to link the existing folders to the respective usernames (%username%) so that it becomes their Home Drive. This Home Drive will serve as their profile on any device they log into. I think, I’ll likely need to write a script that get the HomeDirectory attribute on-premises and map that path folders for each user.
How do you configure your configuration profile?
- Rasul_RA1May 08, 2024Copper Contributor
I tried using %username%, and it seems to be working for the ADMX method. Thank you for mentioning that! However, we have several file servers based in different locations, and we need to map specific file servers and folders based on the location of each user. Unfortunately, none of the available solutions address our scenario. I attempted to expand the script provided by intunedrivemapping.azurewebsites.net, but I haven’t been successful yet. I’ll keep this post updated if I find a solution. Thanks, Nick!
- NicklasOlsenMay 10, 2024Iron ContributorHi Gordon,
You're welcome, let me know, if you have any questions.
I think it will be hard for you, to map a specific file server based on a location. Is it on group basis, or is it automatically, when the user switch location?