Forum Discussion
Rasul_RA1
Apr 22, 2024Copper Contributor
Map Home-Directory attribute UNC path for locally connected azure-ad joined shared devices.
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, ...
May 11, 2024
Just wondering... but how are you mapping those drive letters? And in which context ...are you using PowerShell scripts or the admx solution?
WIth powershell script you need to make sure you are deploying that script in the user context... otherwise the %username% cant be resolved..
I know that with the admx option, you need to change a couple of things but the username variable works with this option... we use it everywhere 🙂
https://call4cloud.nl/2021/03/willy-wonka-and-the-drive-letter-factory/#part6
WIth powershell script you need to make sure you are deploying that script in the user context... otherwise the %username% cant be resolved..
I know that with the admx option, you need to change a couple of things but the username variable works with this option... we use it everywhere 🙂
https://call4cloud.nl/2021/03/willy-wonka-and-the-drive-letter-factory/#part6