Autopilot Laptops Unable to Map Azure File Shares Due to Domain Controller Authentication Issues

Sal Delvisco 0 Reputation points
2024-11-26T18:29:18.3133333+00:00

In a hybrid environment with On-Prem AD and Entra ID/M365, there is an issue mapping Azure File Shares to Intune Autopilot laptops. MDM imaged laptops can successfully map the network drives using the PowerShell script (New-PSDrive).

However, the Autopilot laptops are encountering an error when attempting to map the drives, specifically: "New-PSDrive : The system cannot contact a domain controller to service the authentication request. Please try again later." Notably, there are no related events in the Domain Controller's Event Logs.

The laptop is connected to the network, and it is possible to ping the Domain Controllers from the laptop.

Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
477 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,300 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 50,331 Reputation points Microsoft Vendor
    2024-11-27T01:30:17.7833333+00:00

    @Sal Delvisco, Thanks for posting in Q&A. From your description, I know we get the error on the Autopilot device, for New-PSDrive.

    To clarify our issue, could you collect the following information to us.

    1. Could you confirm if we run the command "New-PSDrive." manually on one Autopilot enrolled device or we deploy it via Intune script?
    2. If we deploy via Intune script, please capture a configuration of it.
    3. I notice the DC is able to ping. If we manually access the Azure file share on this Autopilot device, can it be accessible?

    Please collect the above information and if there's any update, feel free to let us know.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.