|
1 | 1 | # SharePoint Site Creation Bot |
2 | 2 |
|
3 | | -## Summary |
4 | | - |
5 | | -Sample Bot that creates a SharePoint Site by calling Power Automate and using Microsoft Graph/SharePoint Rest APIs. |
6 | | - |
7 | | -This bot can create either a blank Communication site or a blank Team site (Group connected). |
8 | | - |
9 | | -This solution was built and targeted to be used in Dataverse for Teams. |
10 | | - |
11 | | - |
12 | | - |
13 | | -## Applies to |
14 | | - |
15 | | -* [Microsoft Power Virtual Agents](https://docs.microsoft.com/power-virtual-agents/) |
16 | | -* [Microsoft Power Automate](https://docs.microsoft.com/power-automate/) |
17 | | - |
18 | | -## Compatibility |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | -## Authors |
25 | | - |
26 | | -Solution|Author(s) |
27 | | ---------|--------- |
28 | | -sharepoint-site-creation-bot | [Michel Mendes](https://github.com/michelcarlo) ([@michelcarlo](https://twitter.com/michelcarlo)) |
29 | | - |
30 | | -## Version history |
31 | | - |
32 | | -Version|Date|Comments |
33 | | --------|----|-------- |
34 | | -1.0|July 16, 2022|Initial release |
35 | | - |
36 | | -## Features |
37 | | - |
38 | | -This is a bot built and targeted to be used within a Dataverse for Teams environments. No premium licenses are required. |
39 | | - |
40 | | -The bot is triggered by any of the phrases: |
41 | | -* Create a site |
42 | | -* Create a SharePoint site |
43 | | -* I want a site |
44 | | -* I want a SharePoint site |
45 | | -* Give me a site |
46 | | - |
47 | | -You can then choose to create a Communication site or a Team site. |
48 | | - |
49 | | -After specifiying your site name, the bot will then trigger a Power Automate flow that handles the SharePoint site creation (part of the solution package). |
50 | | - |
51 | | -Before creating the site, the flow checks if a site with the same destination URL exists. If it does not exist then if the site to be created is a Communication Site, it will use the SharePoint REST API to create it, if it is a Team site we use Microsoft Graph (using the Send an HTTP request - Preview action from the Office 365 Groups connector). |
52 | | - |
53 | | -## Minimal Path to Awesome |
54 | | - |
55 | | -* [Download](solution/SharePointSiteCreationBot_1_0_0_0.zip) the `.zip` from the `solution` folder |
56 | | -* Import the `.zip` file from Power Apps in Dataverse For teams: **Build** > **See All** > **Import** |
57 | | -* Configure the connection References, and proceed importing. |
58 | | -* After the import has suceeded, you can edit the bot from the Chatbots section or from Power Virtual Agents in Teams, and publish it to any Team you have permissions to, or submit it to be published to your tenant if you have the rights. |
59 | | - |
60 | | - |
61 | | -## Disclaimer |
62 | | - |
63 | | -**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** |
64 | | - |
65 | | -## Help |
66 | | - |
67 | | -We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues. |
68 | | - |
69 | | -If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/powerautomate-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=YOURSAMPLENAME&authors=@YOURGITHUBUSERNAME&title=YOURSAMPLENAME%20-%20). |
70 | | - |
71 | | -For questions regarding this sample, [create a new question](https://github.com/pnp/powerautomate-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=YOURSAMPLENAME&authors=@YOURGITHUBUSERNAME&title=YOURSAMPLENAME%20-%20). |
72 | | - |
73 | | -Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/powerautomate-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=YOURSAMPLENAME&authors=@YOURGITHUBUSERNAME&title=YOURSAMPLENAME%20-%20). |
74 | | - |
75 | | - |
76 | | -<img src="https://telemetry.sharepointpnp.com/powerautomate-samples/samples/readme-template" /> |
77 | | - |
78 | | ---- |
| 3 | +This sample has been moved to [here](https://github.com/pnp/powerplatform-samples/tree/main/samples/sharepoint-site-creation-bot). |
0 commit comments