SharepointURL Parameter (Connect-ExcelOnline Cmdlet)
The base URL of your Sharepoint Server.
Syntax
Connect-ExcelOnline -SharepointURL string
Data Type
cstr
Default Value
""
Remarks
To query the SharePointSites, this base URL of your Sharepoint Server must be specified. A protocol prefix, either "http://" or "https://", must be provided in the value supplied for this property.
For example: https://SomeTenantName.sharepoint.com. This property can also be used to control what drives, workbooks, and worksheets are exposed by the 本製品. If you specify SharepointURL and do not specify Drive, the 本製品 will enumerate drives from the specified site as schemas, and enumerate all the worksheets from all the workbooks in each drive as tables in their respective schema. If this property is specified when using AzureServicePrincipal or AzureServicePrincipalCert authentication, the search endpoint will not be used. This property must be specified if working with a custom application that has Sites.Selected as its highest privilege.