Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Site Url is not properly formed in Powershell?

$
0
0

Hi,

I've been trying to add files to a site on SharePoint Online via PowerShell

$SiteUrl = Get-SPOSite https://company.sharepoint.com/site1

However, every time i run the script i get this error:

Get-SPOSite : The site https://company.sharepoint.com/site1 is not properly formed.

I have connected to sharepoint with the Connect-SPOService command correctly.

What is wrong with the url?
Thanks

Dearbhla


Dearbhla Bradley


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>