IAMinerva
HomeBlogAbout
m3M365 NewscoMicrosoft CopilotteMicrosoft TeamsshSharePoint & OneDriveinIntune & SecurityexExchange & OutlookpoPower PlatformazAzure & Entra IDtuTutorials & GuidesevEvents & ConferencesseSecuritywiWindows
IAMinerva

Professional blog dedicated to the Microsoft 365 ecosystem.

Quick links

HomeBlogAboutNewsletter

Stay informed

Get the latest Microsoft 365 news delivered straight to your inbox.

© 2026 IAMinerva. All rights reserved.

Built withNext.js&Tailwind
OneDrive : corriger la connexion automatique après Autopilot avec Intune
BlogSharePoint & OneDriveOneDrive: Fix Automatic Sign-In After Autopilot with Intune
SharePoint & OneDrive#OneDrive#Autopilot#Intune

OneDrive: Fix Automatic Sign-In After Autopilot with Intune

Complete guide to configure automatic OneDrive sign-in after a Windows Autopilot deployment via Microsoft Intune. Solutions and detailed steps.

Houssem MAKHLOUF
March 10, 2026
4 min read

TL;DR par Minerva

généré par IA

Complete guide to configure automatic OneDrive sign-in after a Windows Autopilot deployment via Microsoft Intune. Solutions and detailed steps.

Introduction

During a Windows Autopilot deployment, one of the common frustrations is the need for users to manually sign in to OneDrive after their first logon on the workstation. Despite a smooth OOBE (Out-of-Box Experience) and functional SSO authentication for Office applications, OneDrive remains disconnected until manual intervention.

Image 1

This incomplete configuration compromises the "zero-touch" deployment objective and delays access to synchronized files and known folder redirection features. This guide presents the method to configure automatic OneDrive sign-in via Microsoft Intune.

i

Technical Context

By default, OneDrive does not authenticate automatically even when the user is logged in to Windows with their Azure AD credentials. A specific configuration is required to enable this functionality.

Why Configure Automatic OneDrive Sign-In?

In a standard Autopilot environment coupled with Intune, the typical behavior is as follows:

  • Device Enrollment: successful and automatic
  • User Authentication: performed with Azure AD credentials
  • Office Applications: automatic sign-in through SSO
  • OneDrive: waiting for manual sign-in

This gap requires user intervention to:

  • Manually open the OneDrive application
  • Re-enter login credentials
  • Configure folder synchronization

Features Enabled by the Configuration

Implementing this policy automatically enables:

  • Silent Sign-In with Windows credentials
  • Automatic Startup of OneDrive client
  • Known Folder Move (Desktop, Documents, Pictures redirection)
  • Silent Configuration of the synchronization client

Configuring Automatic OneDrive Sign-In

Resolving this issue involves creating a specific configuration profile in Intune using the settings catalog.

1

Creating the Configuration Profile

Access the Microsoft Intune Administration Center and navigate to:

  • Devices > Configuration Profiles > Create Profile

Image 2

Select the following settings:

  • Platform: Windows 10 and later
  • Profile Type: Settings Catalog
2

Configuring the OneDrive Setting

In the settings selector, search for and add:

  • Setting Name: "Silently sign in users to the OneDrive sync app with their Windows credentials"
  • Value: Enabled

Image 3

3

Adding the Specific Setting

In the "Configuration Settings" tab:

  1. Click + Add Settings to open the selector
  2. Enter "Silently sign in users" in the search bar
  3. Click the Search button
  4. Select the OneDrive category to filter results
  5. Check the "Silently sign in users to the OneDrive sync app with their Windows credentials" setting
  6. Enable the setting by moving the toggle to Enabled
  7. Click Next

Image 4

4

Profile Assignment

In the assignment window:

  • Add All Users or a specific user group
  • Click Next

Image 5

5

Finalizing the Configuration

Click Create to finalize the configuration profile.

Image 6

✦

Key Setting

The "Silently sign in users to the OneDrive sync app with their Windows credentials" setting is essential: it tells OneDrive to use the Azure AD credentials from the Windows session to automatically authenticate.

Workflow After Configuration

Once the profile is applied, the process becomes fully automated:

  1. User Sign-In on the Autopilot device
  2. Automatic Launch of OneDrive in the background
  3. Silent Authentication without user intervention
  4. Automatic Synchronization of Desktop, Documents, and Pictures folders
  5. Immediate Productivity without manual configuration

Image 7

i

Result

Users benefit from immediate access to their OneDrive files on first logon, thus meeting Autopilot's zero-touch deployment objective.

PowerShell Script for Verification

To validate the OneDrive configuration on a workstation:

⚡PowerShell
1# Check OneDrive status
2Get-Process -Name "OneDrive" -ErrorAction SilentlyContinue
3
4# Check automatic sign-in policy
5$registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\OneDrive"
6$propertyName = "SilentAccountConfig"
7
8if (Test-Path $registryPath) {
9 $value = Get-ItemProperty -Path $registryPath -Name $propertyName -ErrorAction SilentlyContinue
10 if ($value) {
11 Write-Host "OneDrive Automatic Sign-In: Configured" -ForegroundColor Green
12 } else {
13 Write-Host "OneDrive Automatic Sign-In: Not Configured" -ForegroundColor Red
14 }
15} else {
16 Write-Host "OneDrive Policies: Not Found" -ForegroundColor Yellow
17}

Technical Terms Glossary

Autopilot: Microsoft service enabling automatic provisioning and configuration of Windows devices.

Known Folder Move (KFM): OneDrive feature that automatically redirects Desktop, Documents, and Pictures folders to the cloud.

OOBE (Out-of-Box Experience): First-time setup process of a Windows device.

Settings Catalog: Intune interface enabling granular parameter configuration through a unified catalog.

SSO (Single Sign-On): Single authentication mechanism allowing access to multiple services with one set of credentials.

Useful Links and Documentation

  • Official OneDrive for Business Documentation
  • Configuring OneDrive Policies via Intune
  • Windows Autopilot Guide
  • OneDrive Policy Settings
Share:
HM

Houssem MAKHLOUF

Microsoft 365 enthusiast & IT professional.

Previous article

Essential Pillars of a Successful SharePoint Architecture

Mar 10, 2026
Next article

Microsoft365DSC: Compare M365 Configurations Between Tenants

Mar 10, 2026

Related articles

Réseau représenté par des cercles connectés et une horloge sur fond noir.intune

Intune EPM: Network Configuration and Time Synchronization

Explore the new EPM features in Microsoft Intune enabling secure management of network settings and time synchronization. Discover how to configure the rules.

Jun 26, 20264 min
Intune : Resoudre l'erreur x-msft-approval-justificationintune

Intune: Resolving the x-msft-approval-justification Error

Fix Intune Multi Admin Approval errors. Technical guide to integrate MAA exclusions and resolve x-msft-approval-justification.

Jun 24, 20264 min
Erreur 0x87D1041C lors de l'installation de Company Portal pendant Autopilotintune

Error 0x87D1041C During Company Portal Installation in Autopilot

Resolve error 0x87D1041C preventing Company Portal installation during Autopilot and discover the technical details behind this issue.

Jun 11, 20263 min