Intune Policy for Personal OneDrive Blocking fails

Bree 0 Reputation points
2024-08-19T09:31:09.4133333+00:00

I created a profile under device | configuration that Prevent users from syncing personal OneDrive accounts (User) and added my own user ID for testing purposes. As soon as I finish the policy, it shows an error 65000 and below is the error from my machine's event viewer.

  1. MDM ConfigurationManager: Command failure status. Configuration Source ID: (9D0719D1-8C55-423A-86CA-DBF5B355EB4A), Enrollment Name: (MDMDeviceWithAAD), Provider Name: (Policy), Command Type: (Add: from Replace or Add), CSP URI: (./User/Vendor/MSFT/Policy/Config/OneDriveNGSCv2~Policy~OneDriveNGSC/DisablePersonalSync), Result: (The system cannot find the file specified.).

Any idea how to resolve this?

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,070 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,959 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xenia-MSFT 1,875 Reputation points Microsoft Vendor
    2024-08-20T01:55:12.2466667+00:00

    @Bree Thanks for posting in our Q&A.

    For this issue, this error code is very general. To clarify this issue, we appreciate your help to clarify something:

    1.Which is OS version of your device?

    2.It is suggested to check if the following registry key is added.

    HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\OneDrive\DisablePersonalSync key. It's DWORD value should be 1.

    https://learn.microsoft.com/en-us/sharepoint/use-group-policy#prevent-users-from-syncing-personal-onedrive-accounts

    If there is anything 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.