OneDrive for Business Auto Registration - Old School

OneDrive for Business Auto Registration - Old School

OneDrive for Business Auto Registration - Old School

So this is something I wrote quite some time ago, many folks configure OneDrive using the Administrative Templates in Intune, but old habits Die Hard. Below you will learn how to build a One Drive Profile to Auto Configure OneDrive under the current Logged on user using a Custom CSP and ADMX ingestion, very slick Process.

One Drive is quickly growing as many of my customers are adopt Office 365 and a great tool for individual business continuity, we can allow one drive to automatically configure and start backing up Desktop, Documents, and Pictures. This will also bring forward any items that have been previously backup to OneDrive.

Gather the Contents of the OneDrive.admx

  1. Find the OneDrive ADMX template in the source folders for this module or on a Windows 10 client in the following location %LocalAppData%\Microsoft\OneDrive\ in the current client version folder > ADM > OneDrive.admx

    or from my Github - Client/OneDriveADMX.txt at master · Mauvlans/Client · GitHub

  2. Right click the OneDrive.admx open with Notepad

  3. Copy the entire contents and save for later.

Gather the Directory ID

  1. Sign into Azure Active Directory

  2. Under the Manage Blade Select Properties

clip_image002.png

Copy the Directory ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

 

Build Custom OMA-URI Policy

  1. In Intune, choose Device Configuration > Profiles.

  2. Select Create Profile.

  3. Enter a Policy Name ex. AP – OneDrive Policies

  4. Enter Description as needed.

  5. Select Platform: Windows 10 and later

  6. Select Profile Type: Custom

  7. Select Settings Configure

  8. Select Add and enter the following

Name: ADMX Ingestion

Description: OneDrive for Business admx

OMA-URI: ./Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/OneDriveNGSC/Policy/OneDriveAdmx

Data type: String

Value: Original content of the OneDrive admx file from steps 1-2 above.

clip_image004.png
  1. Click OK

  2. Click Add

  3. Select Add and enter the following

Name: SilentAccountConfig

Description: Silently configure OneDrive using the primary Windows account

OMA-URI: ./Device/Vendor/MSFT/Policy/Config/OneDriveNGSC~Policy~OneDriveNGSC/SilentAccountConfig

Data type: String

Value: <enabled/>

clip_image006.png
  1. Click OK

  2. Select Add and enter the following

Name: KFMOptInNoWizard

Description: Silently redirect Windows known folders to OneDrive

OMA-URI: ./Device/Vendor/MSFT/Policy/Config/OneDriveNGSC~Policy~OneDriveNGSC/KFMOptInNoWizard

Data type: String

Value: <enabled/> <data id="KFMOptInNoWizard_TextBox" value="Insert Your Azure Tenant ID"/> <data id="KFMOptInNoWizard_Dropdown" value="0"/>

Click OK

clip_image008.png
  1. Select Add and enter the following

Name: FilesOnDemandEnabled

Description: Enable OneDrive Files On-Demand

OMA-URI: ./Device/Vendor/MSFT/Policy/Config/OneDriveNGSC~Policy~OneDriveNGSC/FilesOnDemandEnabled

Data type: String

Value: <enabled/>

clip_image010.png
  1. Click OK

  2. Click OK

  3. Click Create

  4. Click Assignment

  5. Select Pilot Group targeting Pilot Users

  6. Save and Close

What About Autopilot Dynamic Device Groups

What About Autopilot Dynamic Device Groups

Intune Configuring Windows Enrollment

Intune Configuring Windows Enrollment