使用PowerShell获取SharePoint数据 [英] Using PowerShell to fetch SharePoint data
问题描述
我是PowerShell的新手。我正在尝试从SharePoint网站获取数据,但在使用命令"Get-SPOSite https://sharepoint.site.com":
>时出现以下错误p>
Connect-SPOService:无法连接到SharePoint Online:不支持的服务版本。
在行:1 char:1
+ Connect-SPOService https ://sharepoint.site.com/x/
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo         :NotSpecified :( :) [Connect-SPOService],InvalidOperationException
  + FullyQualifiedErrorId:System.InvalidOperationException,Microsoft.Online.SharePoint.PowerShell.ConnectSPOService
这可能是什么原因?
谢谢,
我是PowerShell的新手。我正在尝试从SharePoint网站获取数据,但在使用命令"Get-SPOSite https://sharepoint.site.com":
Connect-SPOService:无法连接到SharePoint Online:不支持的服务版本。
在行:1个字符:1
+ Connect-SPOService https://sharepoint.site.com/x/
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo   ;:NotSpecified:( :) [Connect-SPOService],InvalidOperationException
+ FullyQualifiedErrorId:System.InvalidOperationException,Microsoft.Online.SharePoint.PowerShell.ConnectSPOService
这可能是什么原因?
谢谢,
Hi,
I'm pretty new at PowerShell. I'm trying to fetch data form a SharePoint site, but get the following error when using the command "Get-SPOSite https://sharepoint.site.com":
Connect-SPOService : Could not connect to SharePoint Online: unsupported version of service.At line:1 char:1
+ Connect-SPOService https://sharepoint.site.com/x/
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-SPOService], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Online.SharePoint.PowerShell.ConnectSPOService
What may be the reason for this?
thanks,
Hi,
I'm pretty new at PowerShell. I'm trying to fetch data form a SharePoint site, but get the following error when using the command "Get-SPOSite https://sharepoint.site.com":
Connect-SPOService : Could not connect to SharePoint Online: unsupported version of service.
At line:1 char:1
+ Connect-SPOService https://sharepoint.site.com/x/
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-SPOService], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Online.SharePoint.PowerShell.ConnectSPOService
What may be the reason for this?
thanks,
这篇关于使用PowerShell获取SharePoint数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!