Dismiss Notice

Register now to be one of the first members of this SharePoint Community! Click here it just takes seconds!

Dismiss Notice
Welcome Guest from Country Flag

Having trouble creating a communication site with PnPJS

Discussion in 'SharePoint Blogs' started by /u/oh_lympy, Sep 12, 2019 at 6:22 PM.

Thread Status:
Not open for further replies.
  1. /u/oh_lympy

    /u/oh_lympy Guest

    Blog Posts:
    Hey all,

    I’ve created an azure HTTPTrigger function that should create a SP communication site when triggered.

    I know I’m setting the client context properly using SPFetchClient because I can successfully hit other endpoints, but when I try to run createCommunicationSite() I get an object back with empty SiteId and SiteURl properties, and a SiteStatus of 3. There has never been a site at the same URL. Anyone have any idea what I’m missing?


    submitted by /u/oh_lympy
    [link] [comments]

    Continue reading...
Thread Status:
Not open for further replies.

Share This Page

LiveZilla Live Chat Software