使用power shell将用户添加到SP Online teamsite [英] Adding users to SP Online teamsite using power shell

查看:67
本文介绍了使用power shell将用户添加到SP Online teamsite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是所有者对于很少的团队网站,我需要添加~1000个用户。如何通过powershell添加它? 注意:我不是SP Online Admin的成员,但不是团队成员的所有者/管理员。



谢谢!


Ashwin。

解决方案

SharePoint Online与您可能习惯使用的现场SharePoint powershell完全不同:


http://technet.microsoft.com/en-us/library/fp161362.aspx


但是根据您当前的权限, canno 运行powershell:


"除非他或她是Office 365中的全局管理员,否则SharePoint Online站点管理员不能使用任何cmdlet。"


从这里:
http://technet.microsoft.com /en-us/library/fp161388.aspx


以下是将用户添加到SharePoint组的命令,您可以为全局管理员编写脚本,让他们运行它:
http://technet.microsoft.com/en-us/库/ fp161371.aspx


I am owner for few team sites and I need to add ~1000 users. How can I add it thru powershell?Is there anyway I can connect to the TEAMSITES directly and start adding users thru Powershell?

Note: I am NOT part of SP Online Admin but however owner/administrator to teamsites.

Thanks!

Ashwin.

解决方案

SharePoint Online is fairly different to the onsite SharePoint powershell you might be used to:

http://technet.microsoft.com/en-us/library/fp161362.aspx

However with your current permissions you cannot run powershell:

"A SharePoint Online site administrator cannot use any cmdlets unless he or she is a global administrator in Office 365."

From here: http://technet.microsoft.com/en-us/library/fp161388.aspx

Here's the command to add a user to a SharePoint group, you might be able to write the script for your Global admin and get them to run it: http://technet.microsoft.com/en-us/library/fp161371.aspx


这篇关于使用power shell将用户添加到SP Online teamsite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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