Automation - Sync SharePoint sites to File Explorer based on User Access Permissions

%3CLINGO-SUB%20id%3D%22lingo-sub-2578351%22%20slang%3D%22en-US%22%3EAutomation%20-%20Sync%20SharePoint%20sites%20to%20File%20Explorer%20based%20on%20User%20Access%20Permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2578351%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20automate%20the%20process%20of%20syncing%20team%20site%20libraries%20to%20the%20local%20file%20explorer%20of%20the%20device%2C%20based%20on%20what%20libraries%20a%20user%20has%20access%20to.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20playing%20with%20different%20options%20such%20as%20the%20OneDrive%20Administrative%20Template%20%22%3CSPAN%3EConfigure%20team%20site%20libraries%20to%20sync%20automatically%22%20but%20I%20haven't%20found%20a%20solutions.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECase%20Scenario%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EUser_X%20-%20has%20access%20to%20Site_A%20and%20Site_B%20-%20has%20been%20assigned%20Device_1%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EUser_Z%20-%20has%20access%20to%20Site_C%20and%20Site_B%20-%20has%20been%20assigned%20Device_2%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EObjective%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDevice_1%20is%20enrolled%20by%20User_X%20in%20Intune.%26nbsp%3B%3CSTRONG%3EOneDrive%20syncs%20Site_A%20and%20Site_B%20to%20the%20local%20File%20Explorer.%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EAdmin%20gives%20User_X%20access%20to%20Site_F.%20%3CSTRONG%3EOneDrive%20syncs%20Site_F%20to%20local%20File%20Explorer.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDevice_2%20is%20enrolled%20by%20User_Z%20in%20Intune.%26nbsp%3B%3CSTRONG%3EOneDrive%20syncs%20Site_C%20and%20Site_D%20to%20the%20local%20File%20Explorer.%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EAdmin%20removes%20User_Z%20access%20to%20Site_C.%20%3CSTRONG%3EOneDrive%20un-syncs%20Site_C%20from%20local%20File%20Explorer.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2578351%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2589513%22%20slang%3D%22en-US%22%3ERe%3A%20Automation%20-%20Sync%20SharePoint%20sites%20to%20File%20Explorer%20based%20on%20User%20Access%20Permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2589513%22%20slang%3D%22en-US%22%3EApologies%20if%20this%20is%20not%20the%20right%20board%20for%20this%20discussion.%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20there%20anyone%20that%20has%20tried%20something%20similar%3F%3C%2FLINGO-BODY%3E
New Contributor

Hi everyone.

 

I am trying to automate the process of syncing team site libraries to the local file explorer of the device, based on what libraries a user has access to.

 

I have been playing with different options such as the OneDrive Administrative Template "Configure team site libraries to sync automatically" but I haven't found a solutions.

 

Case Scenario:

 

User_X - has access to Site_A and Site_B - has been assigned Device_1

User_Z - has access to Site_C and Site_B - has been assigned Device_2

 

Objective:

 

Device_1 is enrolled by User_X in Intune. OneDrive syncs Site_A and Site_B to the local File Explorer. 

Admin gives User_X access to Site_F. OneDrive syncs Site_F to local File Explorer.

 

Device_2 is enrolled by User_Z in Intune. OneDrive syncs Site_C and Site_D to the local File Explorer. 

Admin removes User_Z access to Site_C. OneDrive un-syncs Site_C from local File Explorer.

 

 

Any ideas?

 

Thank you

1 Reply
Apologies if this is not the right board for this discussion.

Is there anyone that has tried something similar?