Apr 22 2024 12:59 PM
We have an on-premises Active Directory (AD) environment connected to Azure AD via AD Connect. We’ve successfully joined our devices to Azure AD using Azure AD Join (MEJ) through Autopilot. We also, using Passthrough Authentication (PTA) for Authentication and we have 3 PTA agents (Including AAD Connect) on-premises.
Now, we want to grant users access to an on-premises file share (File server) while they are physically connected to the local network at the office. Each user has an individual Home Drive (H:) defined in their On-premises "Home-Directory attribute" (HomeDirectory), and we want to make this H drive accessible for any users who sign-in to a locally connected shared AADJ devices at the office (We don't want these H drives to be available for remote users). Our shared AADJ devices currently have access to on-premises share files when they’re locally connected at the office, but they don’t have access to user's home drive now.
In summary, we want to map Home-Directory attribute UNC path for locally connected azure-ad joined shared devices for any individual users who sign in to these devices.
Apr 23 2024 11:06 AM
Apr 23 2024 04:05 PM
@NicklasOlsen Correct, but we have different paths for each individual user accounts which are their personal drive (We call it Home Drive). These paths are available on "Home Directory" Attributes on Active Directory. When I connect Azure joined devices to a local network, all shared drives and home Drives are accessible, but they are not Mapped for users as a Drive. they should get the path for Shared Drive and Home Drive and open it via the explorer.
Apr 24 2024 09:42 AM
May 01 2024 08:31 AM
May 01 2024 11:42 AM
May 01 2024 02:08 PM
May 02 2024 08:39 AM
May 02 2024 09:52 AM
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.
May 02 2024 10:38 AM
May 08 2024 10:32 AM
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!
May 10 2024 02:08 PM
May 11 2024 09:53 AM