Syswow64.co.uk
  • About
    • Contributors
  • Blog
    • CVE-2023-24932
      • Part 1: Bootx64.efi: Windows UEFI 2023 CA signed
      • Part 2: Applying the mitigation
    • Microsoft 365 App Authentication
    • Intune - Wi-Fi Templates PENDING STATE
    • Intune Device Filter: Laptops Only
    • “Unlock the PC” EnableWebSignIn error
    • ConfigMgr 2409 - Post Upgrade Issue
    • OneDrive: Prompt to sync personal OneDrive
Powered by GitBook
On this page
  • This settings is available in Intune policy via Settings Catalog
  • However, you may be happy with the ability to sync personal OneDrive but you don't want the prompt to encourage or confuse the end user.
  1. Blog

OneDrive: Prompt to sync personal OneDrive

Microsoft's roadmap includes a prompt for users to sync their personal OneDrive files. This blog covers block personal OneDrive or Blocking the Prompt.

PreviousConfigMgr 2409 - Post Upgrade Issue

Last updated 9 hours ago

You may have seen Microsoft's roadmap in which users will receive a prompt to sync their personal OneDrive files

Microsoft's roadmap includes a prompt for users to sync their personal OneDrive files. To prevent users from syncing personal OneDrive accounts, you can enable a setting that blocks users from signing in with a Microsoft account to sync their personal OneDrive files. If you prefer to allow syncing but want to avoid prompts that might confuse users, you can hide messages encouraging users to sync Consumer OneDrive files.

This setting lets you block users from signing in with a Microsoft account to sync their personal OneDrive files. By default, users are allowed to sync personal OneDrive accounts.

If you enable this setting, users are prevented from setting up a sync relationship for their personal OneDrive account. Users who are already syncing their personal OneDrive when you enable this setting can't continue syncing (they receive a message that syncing has stopped), but any files synced to the computer remain on the computer.

Enabling this policy sets the following registry key value to 1:

[HKCU\SOFTWARE\Policies\Microsoft\OneDrive]"DisablePersonalSync"=dword:00000001

This settings is available in Intune policy via Settings Catalog

However, you may be happy with the ability to sync personal OneDrive but you don't want the prompt to encourage or confuse the end user.

This setting determines whether a user will be prompted to sync their Consumer files when a Microsoft Account (MSA) is detected on the device.

If you enable this setting, users will not be prompted to sign in with their MSA and sync their Consumer files. Users can still manually configure their Consumer accounts to sync their OneDrive Consumer files. Enabling this policy sets the following registry key value to 1:

[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"DisableNewAccountDetection"=dword:00000001

If you disable this setting or do not configure it, users will be prompted to sign in with their MSA and sync their Consumer files.

This setting for what ever reason is not in the Intune Setting Catalog and is only available in the ADMX file (at time of writing the blog) . You have to import the ADMX into Intune and then create a Imported Administrative templates (Preview) profile.

You will find the ADMX and ADML file here on a Windows 11 client to import: %ProgramFiles%\Microsoft OneDrive\BuildNumber\adm\

In addition, finding the setting in the ADMX is also confusing, you will need to search for "Disable a toast and activity center message to encourage a user to sign in OneDrive using an existing credential that is made available to Microsoft applications"

Once the policy has applied the client will receive the registry key

[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"DisableNewAccountDetection"=dword:00000001

The general advice is to Prevent users from syncing personal OneDrive accounts

Hide the messages to sync Consumer OneDrive files

https://learn.microsoft.com/en-us/sharepoint/use-group-policy#prevent-users-from-syncing-personal-onedrive-accounts
https://learn.microsoft.com/en-us/sharepoint/use-group-policy#hide-the-messages-to-sync-consumer-onedrive-files
https://www.microsoft.com/en-us/microsoft-365/roadmap?searchterms=490064