使用OneDrive for Business自动执行文件同步到SharePoint Online [英] Automating file synchronizing using OneDrive for Business to SharePoint Online

查看:168
本文介绍了使用OneDrive for Business自动执行文件同步到SharePoint Online的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

专家您好,

Hello Experts,

 

我们正在尝试自动化文件同步从1系统到SharePoint.我们计划将OneDrive配置为将文件同步到SharePoint.有一个脚本可以从另一个系统读取文件,并将其粘贴到本地同步的文件中. SharePoint在线门户的文档库(使用OneDrive或公司).

We are trying to automate the file synchronization from 1 system to SharePoint. We are planning to configure OneDrive for synchronizing files to SharePoint. There is one script which reads files from another system and will paste in the locally synchronized document library (Using OneDrive or business) for our SharePoint online portal. 

没有从脚本中粘贴文件的定义时间段,因此我们计划使用OneDrive同步,它将数据推送到SharePoint文档库.这项架构会奏效吗?我的意思是如果有挑战 我们会尝试自动将文件复制到OneDrive同步文件夹

There is no defined time period where the files will get pasted from the script and hence we are planning to go with OneDrive synch which will push data to SharePoint document library. Will this architechture work? I mean will there be any challenges if we try to automate the file copying to OneDrive Synched folder (like authentication / cookie expiry etc.).

 

预先感谢.

阿俊.

在此先感谢.干杯,Arjun U Menon.

Thanks in Advance. Cheers, Arjun U Menon.

推荐答案

嗨Arjun,

Hi Arjun,

由于您的目标是将文件同步到SharePoint,为什么不直接将文件上传到SharePoint库而不是将它们上传到OneDrive for Business?

As your target is syncing files into SharePoint, why not upload files into the SharePoint library directly instead of uploading them into OneDrive for Business?

如果使用脚本将文件上传到OneDrive for Business文件夹,则需要用户名和密码才能上传文件.默认情况下,OneDrive for business大约每10分钟自动同步文件一次,更新无法 及时显示在SharePoint中,除非您手动进行同步.

If you upload files into OneDrive for Business folder using script, you should need user name and password to upload your files. And by default, OneDrive for business automatically sync files approximately every 10 minutes, the updates are unable to show in SharePoint in time except you sync it manually.

根据您的要求,建议您直接使用PowerShell脚本将文件上传到SharePoint Online库.

For your requirement, I suggest you upload files into the SharePoint Online library directly using PowerShell script.

有一些有用的博客供您参考:

There are some useful blogs for your reference:

谢谢

温迪


这篇关于使用OneDrive for Business自动执行文件同步到SharePoint Online的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆