Redirecting Known Folders to OneDrive for Business with MEMCM

Published May 10 2021 02:26 PM 3,151 Views
Microsoft

Hello everyone, Chris Vetter Customer Engineer at Microsoft. I am writing to talk about creating OneDrive for Business profiles with Microsoft Endpoint Manager Configuration Manager (MEMCM). Let us start with the why. Since more businesses are allowing remote work these days what better way to allow your workforce to access their files from any device when their files are synchronized with OneDrive for Business. This can also lower the dependency on the company provided devices and provide less data loss in the case of faulty hard drives or if a machine needs a refreshed image. By using OneDrive for Business Profiles, we also automatically synchronize the content of the known folders unlike when we use folder redirection. Why should we do this with MEMCM when we can just set it with Group Policy? Two reasons number one: If you are like most organizations your On-Premises Active Directory environment already has plenty GPO (Group Policy Objects) settings being applied which can cause things like long logon times and waiting for all the Group Policies to process and refresh. Number two: The path to fully Azure Active Directory joined environment is to move away from group policy and apply these settings with Microsoft Endpoint Manager being that is one dependency a lot of environments have on staying hybrid joined is that Azure Active Directory does not have group policy like On-Premises Active Directory. So let us begin!!

 

Create OneDrive for Business Profile

 

This feature was introduced into Configuration Manager with Current Branch 1902 so if you are not on at least CB (Current Branch). 1902 (You are in an unsupported state since 1902 is no longer supported) you will need to upgrade to the latest version of MEMCM Current Branch. See my blog post on how to do this here.

 

From the Assets and Compliance tab expand the Compliance Settings Folder and click on the OneDrive for Business Profiles Node. From the ribbon select Create OneDrive for Business Profile,

 

image001.jpg

 

On the General Tab we name our Profile and give it a brief description then we select next, this brings up the Supported Platforms Tab Select any Operating systems you will be supporting in your environment then select next.

 

image003.jpg

 

The next tab is the Known Folder Move Settings. You can select what will work best for your environment or create multiple Profiles with different settings if you have dissimilar needs for different users. You will also need to add your tenant ID for your M365 subscription which can be found by following this link,

https://docs.microsoft.com/en-us/onedrive/find-your-office-365-tenant-id

Here is a brief explanation of the settings on this tab:

  • Prompt users to move Windows known folders to OneDrive: With this option, the user sees a wizard to move their files. If they choose to postpone or decline moving their folders, OneDrive periodically reminds them.
  • Silently move Windows known folders to OneDrive: When this policy applies to the device, the OneDrive client automatically redirects the known folders to OneDrive for Business.
    • Show notification to users after folders have been redirected: If you enable this option, the OneDrive client notifies the user after it moves their folders.
  • Prevent Users from redirecting their Windows known folders back to their PC: This disables the option for users to be able to move their folders back to being local on the device.

 

image005.jpg

 

Select next to get to the Summary Tab then next again to begin the creation process. When you are finished select close.

Next, we will select our newly created Profile and deploy it to our desired device collection.

 

image007.jpg

 

 When the Deployment Wizard opens select your Device Collection you wish to target as well as if want an alert generated for non-compliance and the schedule in which you want this profile to evaluate.

 

image009.jpg

 

From the Windows Client this looks like a Configuration Baseline in the Configuration Manager control panel applet.

 

image010.jpg

 

The experience in my lab was delivered on the next log on and I saw my known folders were now redirected to my OneDrive section in File Explorer.

 

image012.jpg

 

 

Disclaimer

All screenshots and folder paths are from a non-production lab environment and can/will vary per environment. All processes and directions are of my own opinion and not of Microsoft and are from my years of experience with the configuration manager product in multiple customer environments.

 

Resources

OneDrive for Business Profiles - Configuration Manager | Microsoft Docs

 

2 Comments
Occasional Visitor

I would like to have the SCCM ability to place any folder I like in my onedrive, like Videos and downloads. It's short right now

Microsoft

Useful article for SCCM  admin

%3CLINGO-SUB%20id%3D%22lingo-sub-2342562%22%20slang%3D%22en-US%22%3ERedirecting%20Known%20Folders%20to%20OneDrive%20for%20Business%20with%20MEMCM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2342562%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%2C%20Chris%20Vetter%20Customer%20Engineer%20at%20Microsoft.%20I%20am%20writing%20to%20talk%20about%20creating%20OneDrive%20for%20Business%20profiles%20with%20Microsoft%20Endpoint%20Manager%20Configuration%20Manager%20(MEMCM).%20Let%20us%20start%20with%20the%20why.%20Since%20more%20businesses%20are%20allowing%20remote%20work%20these%20days%20what%20better%20way%20to%20allow%20your%20workforce%20to%20access%20their%20files%20from%20any%20device%20when%20their%20files%20are%20synchronized%20with%20OneDrive%20for%20Business.%20This%20can%20also%20lower%20the%20dependency%20on%20the%20company%20provided%20devices%20and%20provide%20less%20data%20loss%20in%20the%20case%20of%20faulty%20hard%20drives%20or%20if%20a%20machine%20needs%20a%20refreshed%20image.%20By%20using%20OneDrive%20for%20Business%20Profiles%2C%20we%20also%20automatically%20synchronize%20the%20content%20of%20the%20known%20folders%20unlike%20when%20we%20use%20folder%20redirection.%20Why%20should%20we%20do%20this%20with%20MEMCM%20when%20we%20can%20just%20set%20it%20with%20Group%20Policy%3F%20Two%20reasons%20number%20one%3A%20If%20you%20are%20like%20most%20organizations%20your%20On-Premises%20Active%20Directory%20environment%20already%20has%20plenty%20GPO%20(Group%20Policy%20Objects)%20settings%20being%20applied%20which%20can%20cause%20things%20like%20long%20logon%20times%20and%20waiting%20for%20all%20the%20Group%20Policies%20to%20process%20and%20refresh.%20Number%20two%3A%20The%20path%20to%20fully%20Azure%20Active%20Directory%20joined%20environment%20is%20to%20move%20away%20from%20group%20policy%20and%20apply%20these%20settings%20with%20Microsoft%20Endpoint%20Manager%20being%20that%20is%20one%20dependency%20a%20lot%20of%20environments%20have%20on%20staying%20hybrid%20joined%20is%20that%20Azure%20Active%20Directory%20does%20not%20have%20group%20policy%20like%20On-Premises%20Active%20Directory.%20So%20let%20us%20begin!!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%233366FF%22%3E%3CSTRONG%3ECreate%20OneDrive%20for%20Business%20Profile%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20feature%20was%20introduced%20into%20Configuration%20Manager%20with%20Current%20Branch%201902%20so%20if%20you%20are%20not%20on%20at%20least%20CB%20(Current%20Branch).%201902%20(You%20are%20in%20an%20%3CSTRONG%3E%3CU%3Eunsupported%20state%3C%2FU%3E%3C%2FSTRONG%3E%20since%201902%20is%20no%20longer%20supported)%20you%20will%20need%20to%20upgrade%20to%20the%20latest%20version%20of%20MEMCM%20Current%20Branch.%20See%20my%20blog%20post%20on%20how%20to%20do%20this%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcore-infrastructure-and-security%2Fupdating-configuration-manager-in-offline-mode-with-the-service%2Fba-p%2F1410282%22%20target%3D%22_blank%22%3Ehere.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFrom%20the%20Assets%20and%20Compliance%20tab%20expand%20the%20Compliance%20Settings%20Folder%20and%20click%20on%20the%20OneDrive%20for%20Business%20Profiles%20Node.%20From%20the%20ribbon%20select%20Create%20OneDrive%20for%20Business%20Profile%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image001.jpg%22%20style%3D%22width%3A%20342px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279642iA00890AE9568AAAF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image001.jpg%22%20alt%3D%22image001.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Vetter_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EOn%20the%20General%20Tab%20we%20name%20our%20Profile%20and%20give%20it%20a%20brief%20description%20then%20we%20select%20next%2C%20this%20brings%20up%20the%20Supported%20Platforms%20Tab%20Select%20any%20Operating%20systems%20you%20will%20be%20supporting%20in%20your%20environment%20then%20select%20next.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image003.jpg%22%20style%3D%22width%3A%20740px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279643iFB1A56C62DF25C9C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image003.jpg%22%20alt%3D%22image003.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Vetter_1%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EThe%20next%20tab%20is%20the%20Known%20Folder%20Move%20Settings.%20You%20can%20select%20what%20will%20work%20best%20for%20your%20environment%20or%20create%20multiple%20Profiles%20with%20different%20settings%20if%20you%20have%20dissimilar%20needs%20for%20different%20users.%20You%20will%20also%20need%20to%20add%20your%20tenant%20ID%20for%20your%20M365%20subscription%20which%20can%20be%20found%20by%20following%20this%20link%2C%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Ffind-your-office-365-tenant-id%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Ffind-your-office-365-tenant-id%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHere%20is%20a%20brief%20explanation%20of%20the%20settings%20on%20this%20tab%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EPrompt%20users%20to%20move%20Windows%20known%20folders%20to%20OneDrive%3C%2FSTRONG%3E%3A%20With%20this%20option%2C%20the%20user%20sees%20a%20wizard%20to%20move%20their%20files.%20If%20they%20choose%20to%20postpone%20or%20decline%20moving%20their%20folders%2C%20OneDrive%20periodically%20reminds%20them.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ESilently%20move%20Windows%20known%20folders%20to%20OneDrive%3C%2FSTRONG%3E%3A%20When%20this%20policy%20applies%20to%20the%20device%2C%20the%20OneDrive%20client%20automatically%20redirects%20the%20known%20folders%20to%20OneDrive%20for%20Business.%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EShow%20notification%20to%20users%20after%20folders%20have%20been%20redirected%3C%2FSTRONG%3E%3A%20If%20you%20enable%20this%20option%2C%20the%20OneDrive%20client%20notifies%20the%20user%20after%20it%20moves%20their%20folders.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CLI%3E%3CSTRONG%3EPrevent%20Users%20from%20redirecting%20their%20Windows%20known%20folders%20back%20to%20their%20PC%3C%2FSTRONG%3E%3A%20This%20disables%20the%20option%20for%20users%20to%20be%20able%20to%20move%20their%20folders%20back%20to%20being%20local%20on%20the%20device.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image005.jpg%22%20style%3D%22width%3A%20736px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279644iB6F0FBAA85BAA7E4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image005.jpg%22%20alt%3D%22image005.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESelect%20next%20to%20get%20to%20the%20Summary%20Tab%20then%20next%20again%20to%20begin%20the%20creation%20process.%20When%20you%20are%20finished%20select%20close.%3C%2FP%3E%0A%3CP%3ENext%2C%20we%20will%20select%20our%20newly%20created%20Profile%20and%20deploy%20it%20to%20our%20desired%20device%20collection.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Vetter_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image007.jpg%22%20style%3D%22width%3A%20817px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279645i95DD4C88EC3B71A6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image007.jpg%22%20alt%3D%22image007.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3BWhen%20the%20Deployment%20Wizard%20opens%20select%20your%20Device%20Collection%20you%20wish%20to%20target%20as%20well%20as%20if%20want%20an%20alert%20generated%20for%20non-compliance%20and%20the%20schedule%20in%20which%20you%20want%20this%20profile%20to%20evaluate.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Vetter_4%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image009.jpg%22%20style%3D%22width%3A%20571px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279646i1354F33787A8AE89%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image009.jpg%22%20alt%3D%22image009.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFrom%20the%20Windows%20Client%20this%20looks%20like%20a%20Configuration%20Baseline%20in%20the%20Configuration%20Manager%20control%20panel%20applet.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Vetter_5%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image010.jpg%22%20style%3D%22width%3A%20384px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279647i5DF39579F1F8A750%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image010.jpg%22%20alt%3D%22image010.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20experience%20in%20my%20lab%20was%20delivered%20on%20the%20next%20log%20on%20and%20I%20saw%20my%20known%20folders%20were%20now%20redirected%20to%20my%20OneDrive%20section%20in%20File%20Explorer.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Vetter_6%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image012.jpg%22%20style%3D%22width%3A%20731px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279648i3C924FB53F153A53%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image012.jpg%22%20alt%3D%22image012.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CFONT%20color%3D%22%233366FF%22%3EDisclaimer%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EAll%20screenshots%20and%20folder%20paths%20are%20from%20a%20non-production%20lab%20environment%20and%20can%2Fwill%20vary%20per%20environment.%20All%20processes%20and%20directions%20are%20of%20my%20own%20opinion%20and%20not%20of%20Microsoft%20and%20are%20from%20my%20years%20of%20experience%20with%20the%20configuration%20manager%20product%20in%20multiple%20customer%20environments.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%233366FF%22%3E%3CSTRONG%3EResources%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcompliance%2Fdeploy-use%2Fonedrive-profile%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOneDrive%20for%20Business%20Profiles%20-%20Configuration%20Manager%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2342562%22%20slang%3D%22en-US%22%3E%3CP%3EMake%20your%20journey%20to%20the%20cloud%20a%20little%20easier%20by%20redirecting%20Known%20Folders%20to%20OneDrive%20for%20Business%20with%20MEMCM%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2342562%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EChrisVetter%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2357001%22%20slang%3D%22en-US%22%3ERe%3A%20Redirecting%20Known%20Folders%20to%20OneDrive%20for%20Business%20with%20MEMCM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2357001%22%20slang%3D%22en-US%22%3E%3CP%3EUseful%20article%20for%20SCCM%26nbsp%3B%20admin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2349648%22%20slang%3D%22en-US%22%3ERe%3A%20Redirecting%20Known%20Folders%20to%20OneDrive%20for%20Business%20with%20MEMCM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2349648%22%20slang%3D%22en-US%22%3E%3CP%3EI%20would%20like%20to%20have%20the%20SCCM%20ability%20to%20place%20any%20folder%20I%20like%20in%20my%20onedrive%2C%20like%20Videos%20and%20downloads.%20It's%20short%20right%20now%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎May 10 2021 02:25 PM
Updated by: