Create a SharePoint Online site with Power Apps and Power Automate via the Rest API

Поделиться
HTML-код
  • Опубликовано: 27 май 2024
  • Use the Send an HTTP request to SharePoint action in Power Automate flow to trigger the SharePoint Online Rest API to create a site collection. You can even provide inputs from Power Apps and then trigger the flow. Lots to learn and lots of new rabbit holes to explore.
    Power Apps Consulting and training at www.PowerApps911.com
  • НаукаНаука

Комментарии • 73

  • @ArohShukla
    @ArohShukla 7 месяцев назад +1

    Shane, this is perfect example of SharePoint Online Govrenance. Seen seen many customers who have SPO with completely no govrenance in place.
    This solution will control who can create SPO sites via Power Apps coupled with the approval process and boom, a new site is created.
    Thanks for this insightful video. :)

    • @ShanesCows
      @ShanesCows  7 месяцев назад

      You are welcome. Enjoy building cool stuff with it. :)

  • @geralddahl9159
    @geralddahl9159 2 года назад +4

    Thank you for this API content. I would like to see video on custom API connectors. Google contacts - authentication - delete a contact. (I watched your light switch API video but I am shamelessly appealing for a Google contacts API tips video - I know connectors exist for this but not with delete.) Stay well!

  • @TheFamilyAdmin
    @TheFamilyAdmin 2 года назад +2

    Great video, anything that helps demystify APIs is more than welcome content.

    • @ShanesCows
      @ShanesCows  2 года назад

      I wish someone would demystify them for me. 😂

  • @Indyfficient
    @Indyfficient 2 года назад

    Yea please more of this, love all your videos!

  • @louiscutmore
    @louiscutmore 2 года назад +1

    JSON - Just a hipster way of saying Jason 😂
    Thanks for the v2 tips!
    Awesome, as always!

  • @strategik365
    @strategik365 2 года назад +1

    Nice video Shane - much appreciated. Thanks.

  • @nielsasselman1433
    @nielsasselman1433 2 года назад +1

    Really liked the video! Thanks for the effort! Keep going down those rabbit holes! :)

  • @santanup8567
    @santanup8567 2 года назад +3

    First view 😀... please create more videos on Model driven Apps 👍

    • @ShanesCows
      @ShanesCows  2 года назад

      I will try my best but I don't use them often so hard for me to do well.

    • @williamdunn9880
      @williamdunn9880 2 года назад

      I really struggle with use cases for model driven apps. Canvas apps are so much more intuitive and seem to be able to handle everything a model driven app can.

  • @henrikholmfrandsen9745
    @henrikholmfrandsen9745 2 года назад

    Great video again. Give me the red pill and show how deep the rabbit-hole goes😀. It would be great with a video regarding team and private channel creation by flow/automate.

  • @dichternebel01
    @dichternebel01 2 года назад

    As always nice one Shane, thank you!
    I want to create the same site which I would get, when I create a site manually over the SharePoint root or admin center but I can´t find the correct "Webtemplate" name/ID. Is this even possible with the SharePoint Rest Api or do I need the Graph Api for it`?

  • @rthoughts7232
    @rthoughts7232 2 года назад +3

    Very nice videos....
    I want to see more videos on dataverse and business flows with real life scenario if possible.... 👍🏼

    • @ShanesCows
      @ShanesCows  2 года назад +1

      Noted. I do have a handful of Dataverse videos today.

    • @williamdunn9880
      @williamdunn9880 2 года назад

      I'll add to this, videos covering security and auditing in dataverse would be great!

  • @iyengar007
    @iyengar007 2 года назад +1

    This seemed like creating SubSite. Perhaps, we have to give the tennat level URL to actually create a Site Collection?. We can't create sites wih our limited acess, but This is good start. I'm still waiting for demo on my request. I have large columns in SPO and in APPS, I would like to accept data in multiple screens without patch function. Also, do you have demos on extacting mails or it's attachments and saving it in Onedrive/SPO?

  • @sundrapillay6668
    @sundrapillay6668 2 года назад +1

    Thanks Shane excellent video as always

  • @clemfandango7258
    @clemfandango7258 2 года назад

    Excellent Video Shane. Could you tell me how to add more than one owner and create a new SharePoint site from a custome template.

  • @jimmietraylor7413
    @jimmietraylor7413 Год назад

    Shane, how would we create a site from a custom Template? I have 2 site templates that we use and currently i have a flow that sends me an approval email asking for the site to be created. I then create the site from the information in the email using one of the templates. When the site is created i press the appropriate button on the approval email to create a number of documents tied to content types and then let the requester know their site is ready for use. It would be nice to remove the approval portion of the workflow and have the site created automatically.

  • @ytwadk
    @ytwadk Год назад

    Great video tutorial, thanks for sharing. How to validate the URL if it has existed? Is it possible to do string replacement like replace whitespace by a hyphen? in the URL? If the URL consists of a special symbol how to validate and warn the user to remove the symbol? Thanks.

  • @dullawolf
    @dullawolf 2 года назад

    My question is how do you get the data from powerapps to flow? Do you have powerapp dump information to a sharepoint list, then the flow pulls from that?

  • @arnedokpo1
    @arnedokpo1 2 года назад

    Hi Shane! thanks a lot for the video, could you try to copy a file after creating the site? Even with the delay and status 2, if I want to copy a file into the site folders, it returns that it doesn't exists, but...if I open the site with a browser, after creating it...it works ok ! Is like there's some initialization in the middle don't know...could you help me? thanks

  • @franknielsen7713
    @franknielsen7713 2 года назад +1

    Great rabbit hole :)

  • @OptimusCrist
    @OptimusCrist 2 года назад

    HI Shane, I understand the process but Im having 2 issues, I first create the flow and for each of the Values to create the site I set "ask in POwerApps" I dont have the Option to specify the "Name" "URL" etc, that is one thing, and then I went to the App and set the flow in the button but the I got an erro when I write the formula "Received 5 Expected 1" have not been able to figure this out :(

  • @technicaljk4275
    @technicaljk4275 8 месяцев назад +1

    Hi Shane I would like to know if there is possible way to use RESTAPI into power app where the data is being given through sharepoint list?

    • @ShanesCows
      @ShanesCows  8 месяцев назад

      If the data is in JSON you could use ParseJSON ruclips.net/video/G6dU5me5h1o/видео.html

  • @mini2580
    @mini2580 9 месяцев назад +1

    Hi Shane, thanks for all educational videos. Is it possible to create a site with multiple owners and apply retention label to document library?

    • @ShanesCows
      @ShanesCows  9 месяцев назад +1

      Yes, search the web for how to do that using the sharepoint rest API and then plug it in to the HTTP action. I am sure you can do it but I don't know how to off the top of my head.

  • @lukastoman462
    @lukastoman462 6 месяцев назад +1

    Shane, please direct me under which subscription I can get the resource for : Create a SharePoint Online site with Power Apps and Power Automate via the Rest API.
    Thank you very much in advance
    Great work

    • @ShanesCows
      @ShanesCows  6 месяцев назад

      training.powerapps911.com/courses/video-library That is all you need. :)

  • @technicaljk4275
    @technicaljk4275 8 месяцев назад

    can you do a video or suggest a video where we use SharePoint http action trigger to call external api. I have seen videos using SharePoint HTTP action triggers but it does not involves using External API calls I need it for my project.Thank you for the reply.

  • @milidottori4057
    @milidottori4057 2 года назад +1

    Shane! I'd like to do some Azure courses, which would you recommend?

    • @ShanesCows
      @ShanesCows  2 года назад

      I don’t have any recommendations. Sorry

  • @koynabettawar1211
    @koynabettawar1211 2 года назад

    Hello sir, could you plz clear my doubt how to hide fields based on toggle? I want if toggle value is true then fields should be visible otherwise it should be not visible? Plz clear my doubt it will be very helpful for me.

  • @technicaljk4275
    @technicaljk4275 8 месяцев назад +1

    Thanks for sharing. Do we have alternate option if we dont have Premium capacity. I am looking to use API call to add Item details to a Sharepoint List. Any suggestions for that? Thank you

    • @ShanesCows
      @ShanesCows  8 месяцев назад

      SharePoint HTTP action is not premium 😊

    • @technicaljk4275
      @technicaljk4275 8 месяцев назад

      @@ShanesCows can you do a video or suggest a video regarding that i have seen videos using SharePoint HTTP action triggers but it does not involves using External API calls I need it for my project.Thank you for the reply.

  • @joshcorne2957
    @joshcorne2957 2 года назад +1

    Recently did this by creating a Team using flow which obviously generates the SP backend then used SP API to create the pages. Couldn't find a way to label the site for Microsoft Information Protection over the API mind. Not sure if I've missed something or if it isn't possible.

    • @ShanesCows
      @ShanesCows  2 года назад

      I haven't done the Information Protection so not sure either.

  • @KjetilYtrehus
    @KjetilYtrehus 3 месяца назад +1

    Do you have some examples of how to work with pages and web parts with http requests?

    • @ShanesCows
      @ShanesCows  3 месяца назад

      Sorry, I haven't done that.

  • @ninadpatil9850
    @ninadpatil9850 2 года назад +1

    Hey Shane love your video..just one question buddy what if the site with the name is already in our tenant? How can we handle this exception..cheers

    • @ShanesCows
      @ShanesCows  2 года назад +2

      You would have to build logic to check for conflicts first.

    • @dichternebel01
      @dichternebel01 2 года назад

      I would create a list where I log all created URLs and then looping through it during the flow runs. Not tested!

  • @anshujha3885
    @anshujha3885 Год назад

    Hi shane. Thanks for the video. I'am running into an error stating ""SiteId": "", "SiteStatus": 3, "SiteUrl": """. Could you please help

  • @ErikPgh
    @ErikPgh Год назад +1

    Would love to see how you would create .... say a Wiki Page within an established Sharepoint site or Team site from Powerapps / Powerflow.. The idea is to create a knowledge base using Powerapps as the generator of the Wiki page. Powerapps would have defined attributes & meta data established that conform our structure of categorization / folders structure / etc.

    • @ShanesCows
      @ShanesCows  Год назад

      Interesting Idea Erik. I haven't done that one before but I am sure it is possible. 🤔

    • @ErikPgh
      @ErikPgh Год назад

      @@ShanesCows ok hopefully got the brain juices going. and hope to see it someday. great set of videos you have created

  • @deepakrajana
    @deepakrajana 2 года назад

    Please make videos on custom connectors

  • @stephaniechavez9927
    @stephaniechavez9927 2 года назад +1

    Good morning,
    I would like to build a tool room check out/in app that is connected to a calendar to schedule when it will be needed. Also a friendly way new inventory can be input. Please help thank you in advance :)

    • @ShanesCows
      @ShanesCows  2 года назад

      Cool idea!

    • @stephaniechavez9927
      @stephaniechavez9927 2 года назад

      @@ShanesCows yeah im just not sure how to connect a reservation calendar to a item/tool. Can PowerApp do that?

  • @ullasanand5487
    @ullasanand5487 Год назад

    Hey Shane ,
    Thanks for the helpful video ,
    it looks like using _api/SPSiteManager/Create , we can create modern team sites with no O365 groups , is there a way to create a team site with O365 groups as well ?

  • @garimatewari2212
    @garimatewari2212 2 года назад +1

    Could you please help me create a sharepoint page using flow when an item is created in a list. List must have multiple line text column that we will be using in page

  • @hiram4578
    @hiram4578 2 года назад +2

    YAAAS!!!

  • @russmore
    @russmore 2 года назад +1

    Dope

  • @aham_abhishek
    @aham_abhishek 2 года назад +1

    How to add a PowerShell script to a database table. How to create a database table and run PowerShell script automatically

    • @ShanesCows
      @ShanesCows  2 года назад

      I think to run PowerShell you will have to call an azure function.

    • @aham_abhishek
      @aham_abhishek 2 года назад

      I have a lot of problems and it's not possible to solve these problems . Can you help me to solve these problems related to script. I want to create a database table regarding that blah blah blah . Plese send me a mail and we will discuss this there . I'll pay if required. 🙏🙏🙏🙏U r god for me

  • @karlstenator
    @karlstenator Год назад

    It's great to refer the audience to the manual, but I was expecting you to detail the various options and config that you're teaching, rather than playing dumb, acting clueless and skipping through. Why not instead take the time to teach the settings since you're already racing through them?