Forum Discussion
mweber48
May 09, 2023Copper Contributor
Mapping Network Drive Hybrid Environment
We are in the process of migrating our windows devices and users to Azure AD.
The historic process to map user and departmental drives has been with a batch file using net-use commands.
The organization has never used Group Policy to do this. (Not sure why)
The desire is to migrate all user shares to onedrive and departmental to teams once we have all devices and suers in Azure.
In the meantime we need to map drive. Users and devices in Azure can still map to local shares via the batch file, but I want to eliminate this and automate it.
I cannot find instructions how to accomplish this task.
I have tried creating this mapping by importing the ADMX file, but since we don't map drives with GP I dont believe this will work, and it is not working.
I have also tried creating Powershell script and applying it to our test group. It says it is successful in the Azure portal, but the drive is not mapped on the user computer.
I know how to do this in Group Policy and using security groups, but I am new to Azure endpoint manager and I do not know how to accomplish this task.
How can I use Configuration profile to map a local share drive?
- Please try applying it using powershell script from intune
BiteSize: Map a drive using PowerShell with Intune - YouTube
mweber48 you can achieve that using a custon configuration profile in intune. refer to the below link that shows you step by step
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily.
- mweber48Copper ContributorThank you for your response. I have followed these instructions and it is not working.
I noticed that on line 18 of the ADMX file download it is pointing to key="Software\Policies\weatherlights.com\NetworkDriveMapping"
Since we are not using Weatherlights am I aware of what it is, this needs edited, but the instructions just say to paste it as is.- your applying the configuration profile on your devices or users , it showing an error ?