Site Url is not properly formed in Powershell?

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

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

Similar Messages

  • Special characters in UCM site URL does not give error

    Hey Experts,
    If we put any special characters in site URL, UCM does not show 404 page .. for e.g.
    site URL is http://www.example.com/abc/xyzs/index.html.... if we add special characters in URL for e.g. http://www.example.com/#$abc/xyzs/index.html...
    then home page of site is displayed .....http://www.example.com/...
    Also http://www.example.com/ abc/xyzs/index.html shows home page ..
    Any idea why it is happening ??

    I would attribute this behavious to the SSUrlMap filter - which has the job of turning the friendly URL's into SS_GET_PAGE service calls. Apparently the way it parses the URLs and looks for the patterns does not consider these characters.
    Is it actually a problem?
    Tim

  • Cloud Service Site Url DNS not resolving

    I have a site published to Azure Cloud Services that is running, and accessible via VIP.  I cannot access the site via Site Url, even after flushing my local dns, or trying on different devices.  In my browser's debugger, I see that DNS resolution
    fails in the first step of the web request.  
    I am relying on the site url for CNAME records - I cannot use the VIP.  
    What would be causing this?  What can I do about it?
    Also - if I run whatsmydns.net to query CNAMEs against the cloudapp.net address, I get nothing, but A records are resolving to the VIP.  

    Hello,
    Did your make sure your CNAME is valid? I suggest you could use some DNS tool to query it and check it.
    If your dns name is valid, I suggest you could follow tutorial (http://www.windowsazure.com/en-us/develop/net/common-tasks/custom-dns/ ) to step by step.
    Please try it.
    Any question, please let me know.
    Thanks.
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Mapping a CASE constraint gives error:The expression is not properly formed

    Hi
    I am hoping someone can help us with this as we cannot find it in the usual places:
    I have the following WHERE clause in my query:
    WHERE xd.cii_owner_account_id = hca.cust_account_id
    AND incidentb.incident_status_id = incident_status.incident_status_id
    AND incident_number = xd.sr_number
    AND ( (CASE
    WHEN buyout_immediate_flag <> 'Immediate'
    THEN '-'
    END) = '-'
    OR (CASE
    WHEN buyout_immediate_flag = 'Immediate'
    THEN incident_status.NAME
    END
    ) LIKE '%Authorised%'
    OR (CASE
    WHEN buyout_immediate_flag = 'Immediate'
    THEN incident_status.NAME
    END
    ) LIKE '%IT Appro%'
    We are unsure how to map the CASE expression and where it is meant to go. Possibly in the join ? Or expression compaonent. Problem is that both do not allow for CASE statements.
    Please advise.

    Hi there
    Please can you clarify this because I am unsure where the expression operator would go in my example. You see, the CASE is seperate for each part of my clause and the CASE is what gives the left hand side of the WHERE statement in each line whereas the right hand side is written outside of the CASE.
    I hope you understand what I mean, if not let me know and I will try to clarify it for you.
    Thanks

  • My Mac desktop says URL is not properly scripted. ??

    After dragging the icon into the app. folder and then dragging it onto the dock, it says that it can't open it because of an incorrect URL or the way that the URL is composed. ??

    What icon? Firefox? Try downloading the disk image file again. Get Firefox here:
    * http://www.mozilla.com/en-US/firefox/all.html
    https://support.mozilla.com/kb/Installing+Firefox+on+Mac

  • Sometimes when firefox loads a web page the error message comes up stating The URL is not valid and cannot be loaded. And I know this is a valid web site. What gives?

    This happens very often. When I open Mozilla sometimes I get an error stating that "The URL is not valid and cannot be loaded." When I click ok the site stops loading and the tab is titled untiled.

    This can be a problem with DDE.<br />
    See http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox

  • The URL is not valid and cannot be loaded. This statement comes up on almost any attempt to log into or click a link to anything at least on 2 tries, then the site comes up. what's up with this?

    firefox v 3.6.13 is what I use. If I select something from "read Later" or a link from the home page to another site, I get that message - The URL is not valid and cannot be loaded. in a box that pops us a couple of times, then the site I want.

    Please [https://bugzilla.mozilla.org/show_bug.cgi?id=713167 see this.] Installing [https://www.microsoft.com/download/en/details.aspx?id=5638 Visual C++ 2005 SP1] or the .Net Framework 3.5 SP1 may help mitigate the issue.

  • I get continously "THE URL IS NOT VALID AND CANNOT BE LOADED" whereve I am, my homepage or sites I have been using always

    Since I downloaded the last Firefox version 3.6 15, no matter where I am, I am back in my homepage and I get the message "The URL is not valid and cannot be loaded", usually I can go back to the site I was in and keep doing whatever I was doing, but often it will happen again.
    This is happening in both my computer, laptop and desktop, one has windows XP, the other one has windows 7.
    Suggestions? It is becoming a nuisance being moved from the tab I am, and kicked back to the homepage tab

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Hitting submit on th eparameter form causes the requested url was not found

    Hi,
    I'm using reports 6i patch 10 on a Oracle 8.1.7.4 , all of it is installed on a windows xp system.
    When I try to run one of my own reports through the web (still staying on the local machine) this works well for displaying the parameter form.
    Hitting the submit button on the parameter form causes
    Error: the requested url was not found, or cannot be served at this time
    Oracle Reports Server CGI- reports server name is not specified
    But the server name is in the command line
    When I run the same report with paramform = no and specifying the required parameters in the command line everything runs well.
    When running the supplied test report everything runs ok, with and without the parameter form.
    Any idea what's going on?
    Do I need to give more detailed info?
    regards, Piet

    Running it the way you specified it works well, also with keymap everything is ok then.
    The environment settings are
    RWCGI Environment
    Oracle Reports Server CGI60 version 6.0, a Win32 executable.
    HTTP Environment Variables (server):SERVER_NAME pdb-laptop
    SERVER_PORT 80
    SERVER_PORT_SECURE undefined
    SERVER_SOFTWARE Oracle WebDb Listener 2.1
    SERVER_PROTOCOL HTTP/1.0
    GATEWAY_INTERFACE CGI/1.1
    SCRIPT_NAME /dev60cgi/rwcgi60.exe/
    HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    HTTP Environment Variables (request):HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
    REQUEST_METHOD GET
    QUERY_STRING server=Rep60_PDB-LAPTOP-OraDevHome
    CONTENT_LENGTH undefined
    CONTENT_TYPE undefined
    REMOTE_HOST 127.0.0.1
    REMOTE_ADDR 127.0.0.1
    REMOTE_USER undefined
    REMOTE_IDENT undefined
    HTTP_REFERER undefined
    HTTP_COOKIE databaseid=bd2Ng49PxTNWh9Ks03Ga4AnAhXnC4SwGCtOXkzqe8NSDLcoIaZU=; lastuserid=bd2Ng49PxVwN3dWo3XGH8g==
    AUTH_TYPE undefined
    HTTP_AUTHORIZATION undefined
    PATH_INFO showenv
    PATH_TRANSLATED undefined
    Oracle Reports Server CGI60 Environment Variables:PATH C:\OraDevHome\bin;C:\OraHome\bin;C:\OraHome\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\PROGRA~1\UTILIT~1\ULTRAE~1;"C:\Program Files\Symantec\Norton Ghost 2003\";C:\Program Files\Executive Software\DiskeeperWorkstation\
    ORACLE_HOME C:\OraDevHome
    RW60 C:\OraDevHome\REPORT60
    ORACLE_PATH undefined
    REPORTS60_PATH C:\OraDevHome\REPORT60\ADMIN\TEMPLATE\US;C:\OraDevHome\REPORT60
    REPORTS60_TMP C:\OraDevHome\REPORT60\TMP
    REPORTS60_CGIMAP undefined
    REPORTS60_CGIHELP undefined
    REPORTS60_CGIDIAGBODYTAGS undefined
    REPORTS60_CGIDIAGHEADTAGS undefined
    REPORTS60_CGINODIAG undefined
    USER_NLS_LANG undefined
    NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1
    Stdin is empty.
    CGI Command Line is used
    main.argv[0] C:\OraDevHome\tools\web60\cgi\rwcgi60.exe

  • Scrolling of dinamani site in firefox using key board not properly configured?

    scrolling of dinamani site in firefox using key board not properly configured?
    by using down arrow i am unable to scroll
    instead it goes to end of page
    previously ie. about 4-5 months back this problem was not there

    You may have switched on caret browsing.
    * http://kb.mozillazine.org/accessibility.browsewithcaret
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    * Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    * http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    * http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • The bottom bar, which shows the URL, the "lock" on secured sites, etc, is NOT THERE on firefox but is on other browsers. What can I do?

    As above, the bar across the bottom, which shows the URL, the "lock" symbol on secure sites, etc., IS NOT THERE on any firefox page I open. It is there on other browsers but I would like to continue using firefox. What should I do?

    In Firefox 4 and later you no longer have the Status bar that showed the padlock in previous Firefox versions.<br />
    The padlock only shows that there is a secure connection and doesn't guarantee that you are connected to the right server.<br />
    So you might still be connected to the wrong server if you make a typo in the URL and someone has claimed that mistyped URL.
    The functionality of the padlock has been replaced by the [[Site Identity Button]] on the left end of the location bar.
    See also:
    * http://www.dria.org/wordpress/archives/2008/05/06/635/
    * https://support.mozilla.com/kb/Site+Identity+Button
    * http://www.mozilla.com/en-US/firefox/security/identity/
    You can use this extension to get a padlock on the location bar.
    *Padlock: https://addons.mozilla.org/firefox/addon/padlock-icon/

  • XML document does not appear to contain a properly formed DOCTYPE header

    Hi,
    I've created an ejb which uses the studio API to start/execute etc the workflow
    tasks in a generic way. The same ejb contain certain method which I want to use
    as business operations in my workflows. However, when I deploy this ejb as a separate
    application by putting the required jar files in class path it works fine, but
    when I deploy it as a part of WLI application for accessing the business operations
    in workflow I'm getting the following error. I'm entering ejbcomponent entry under
    the wli application tag of config.xml and putting the jar file in the lib directory
    where other jar files are placed. I couldn't understand the reason why it is failing
    when I deploy it as a part of WLI application and not when I deploy it independently.
    Module Name: TestWLPI, Error: The XML parser encountered an error in your deployment
    descriptor. Please ensure that your DOCTYPE is correct. You may wish to compa
    re your deployment descriptors with the WebLogic Server examples to ensure the
    format is correct. The error was:
    weblogic.xml.process.ProcessorFactoryException: XML document does not appear to
    contain a properly formed DOCTYPE header
    at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:281)
    at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:224)
    at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:267)
    at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:242)
    at weblogic.ejb20.dd.xml.DDUtils.processAltDD(DDUtils.java:220)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:102)
    at weblogic.ejb20.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:500)
    at weblogic.ejb20.deployer.EJBModule.loadDescriptor(EJBModule.java:207)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:714)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:458)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:490)
    at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:253)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:150)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)

    javax.xml.stream.XMLStreamException: javax.xml.stream.XMLStreamException: Premature end of file encountered
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:80)
    at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:99)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:316)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:110)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:128)
    at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:74)
    at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:63)
    at weblogic.servlet.internal.WlsWebAppReader2.<init>(WlsWebAppReader2.java:59)
    at weblogic.servlet.internal.WebAppDescriptor$MyWlsWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:316)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:402)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
    Any Suggestions plz???
    Thanks

  • Search Results not working as expected with Site.URL Filter

    I have a page (SharePoint 2013 - Foundation) with a search Results web part. In that web part I have added a filter to limit the results to the specific site (and it's children). So my Query text is:
    {searchboxquery} Path:{Site.URL}*
    This works.. except for one thing. I'm guessing here but I think the "Site.URL" is returning the site that contains the search results page and not the site that actually started the search! 
    What I'm trying to do is mimic the default search behavior where a search only contains results from the current site down. So for example
    \sites\mySite\mySubSite
    If I'm on mySite and search, I should get everything from mySite + mySubSite. However if I am in the mySubSite when I search, I should only get results from mySubSite and NOT the parent mySite.
    Added info:
    the actual 'search center' is at the \sites\mysite level. Per MS documentation it states that {Site.URL} is the site from where the query was issued. To me that means that if I am on \mysite\mySubSite and initiate the search there, that it should only include
    results mySubSite which it is not doing
    Here is a screen shot.. I should not be getting any hits

    Hi,
    In SharePoint 2013, we could configure Result source to limit searched to certain content or to a subset of search results. This would be equal to a new search scope in SharePoint 2010.
    For your reference:
    http://technet.microsoft.com/library/jj683115(v=office.15)
    http://blogs.technet.com/b/tothesharepoint/archive/2012/10/09/build-a-specialized-search-experience-in-minutes-with-sharepoint-2013.aspx
    Using sample below will limit search result in subsite:
    {searchTerms} path:http://sp/sites/mysite/subsite
    Regards,
    Rebecca Tu
    TechNet Community Support

  • The url does not change when navigating to a new site or page. Back button is also inactive.

    I launch firefox 3.6.15 and it displays google main page. I perform a google search, get search results, click on a site link, and that page is displayed. All good. Here is the problem I am experiencing. The url for the site, however, is not displayed. Firefox still displays google.com and not the url for the page I am on. Additionally, the back button is inactive. So, I can never navigate back to the previous page. If I type in a url the same thing will happen. Forefox will display the typed in url and not urls for the pages I navigate to and the back button is inactive. Very frustrating.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • What can I do if all HTML links refresh site instead of redirecting properly (FF only, HTML 1.0 Strict valid, no plugins) just after using autocompleted url?

    I was testing a XHTML 1.0 Strict valid website on my localhost. It had URL "http://localhost/visaita/tictactoe/Web/index.php?item_id=8&game_password=73|55fc84c0c432ad625a901caaa13108aa&chat_code=74|50b3b60c8be203.98819772#.ULO2EnC23XQ". If I click in URL field between 8 and ?. Then pres shift + end and delete the rest of URL, I get a drop down of suggestions. Then I press arrow left in my keyboard - suggestions dissappear. I press enter and my URL is immediately reset to initial one (with all arguments) even though I wanted to delete them. Server receives all the arguments, so this is not the case of a back-end redirection (tested).
    The most interesting effect is that after such refresh ALL HTML LINKS stop working. They refresh page instead of redirecting. Even if I click on a link redirecting to another domain, page still gets refreshed and not redirected. I see it as an obvious and serious bug which happens in very special conditions.
    All FF plugins and add-ons disabled. Tested in safe mode as well. One interesting fact is that this page is opened by a redirect from another page (JavaScript performs redirect), but the page where error happens does not contain any JavaScript redirection code. Error console is also empty.
    During these redirects FireBug (when enabled) displays interesting stuff. It shows that request without arguments is pending infinitely while immediately after it another request is launched with all unwanted arguments.
    Another interesting fact is that page is using late polling AJAX technique (not sure whether it has any impact).
    It seems that it is some caching bug.

    Autocompleted URL does not seem to be related in order to provoke the bug. If I press Esc and then immediately press on links, they all work fine. Without pressing Esc, if long polling is in action, all links redirect the same page. Long polling request happens for no longer that 2 minutes and then there is a 1 second JS delay before the next one. If links are pressed between calls, they work fine.
    The strange thing though is that my friend has prepared a simple script which is generating a long polling request and has a link to Google. This test works, so I am trying to understand whether there is any additional factor which is causing the problem. Perhaps it can be due to having redirects and 2 simultaneous long polling requests at the same time. Doing my best to understand the problem. Not sure what is happening although I am quite sure that problem is caused by the FF browser somehow. Tested everything back and forth.

Maybe you are looking for

  • Database Error

    I am using the subform initialize event to populate the subforms fields with the below select statement. I have set up a DSN and the connection works. When I open the pdf I get the below error and the fields populates with the correct record (from Te

  • After exporting finished movie project, one clip is gone but all others are visabel

    I hope someone can help me out. After importaing my movie project from iMovie into FCPX I made some changes to the project and was able to exported it. After exporting, all clips we visable with the expection of one.  How can I fix this? The original

  • Very Loud Fan

    the fan in my macbook is making a very loud noise and is very annoying what should i do?

  • Laptop freezes on HP logo during boot

    We have a Pavilion Dv5 running 32-bit Windows 7. Today when my wife went to wake it (it locks and shuts off the screen after half an hour of no use) it instead reboot itself. When it boots, it immediately gets stuck on the screen with the HP logo. I'

  • Add contact for Ipod Touch 5th Generation

    I cannot find the contact app like I have on my Iphone.  How do you add a contact for a Itouch 5th generation?