Hi All, (@MarconettiMarco @Expiscornovus @Pstork1 @Hardesh15 @ScottShearer )
Looking for some Power Automate advice/ help please - done some digging on the forum and found a similar thread: Solved: Re: How to auto-create Folders & Files when a Chan... - Power Platform Community (microsoft....
However I'm running into various errors from ""The response is not in a JSON format" etc
Background:
Essentially I'm trying to get a set of folders (a list of folders to be in every team - a "template" from an existing teams/sharepoint site) uploaded to every new teams site (New Team Id) (after adding new team members also) that's created by this Power Automate flow which is trigged when an email is received to create it.
From my research I've established that the "General" folder/ channel of a new Teams site is not generated automatically unless the "Files" tab in Teams/SharePoint is manually selected to trigger it's creation -I may be wrong here so happy to be corrected.
So far I've attempted to do a "create file" action to create a blank creation word doc to trigger this general folder creation and then after that I'm trying to do a "Copy folder" action to copy the folders from a Template Teams Site I created as I want to replicate these on every new teams site that is triggered automatically from earlier in the flow from teamID.
Please see screenshot and any guidance would be appreciated.
Also, as part of the earlier "add a member to a team" that is performed before the folder actions - I'd like to send a welcome post on teams to the person that's just been added to the new team but I've noticed that I can't get their details from "Get User profile (V2)" as I want this to be able to identify them and then to trigger "post a message to channel" when they are added?
Thanks for your time and help everyone! 😊
@PowerPotential I have not fully looked into your details but this worked before to trigger the sync for the teams files tab.
Simply create a folder named General.
@JimmyWork Hey, thanks for the reply.
These new teams are auto generated by the flow with a unique name from the email each time an email is received - as above I initially tried the the option of creating a dummy text word document to trigger the generation of the “General” folder as the path - as screenshot above shows but it fails.
I’m still a new user so if you could check over my full post please to see the background as this may give additional context and would be appreciative of further advice.
Thank You.
@tom_riha - Hi Tom - seen your reply to "Teams folder not appearing until 'Files' tab is clicked" - could you have a look at my issue detailed above please and add any comments also - you mentioned "scripting" in your response but could you elaborate please as I wasn't sure as still new to PowerAutomate and really need some assistance with this for you or any forum users that could assist- many thanks!😀
That's because there are no folder named General yet.
Please create the folder named General this will trigger the sync between the folder and teams channel.
Thanks for the reply @JimmyWork - can you please give me guidance/steps on how I actually do that as this needs to be done for each new team that is autogenerated by the flow above. And can you also shed any further light on point two above regarding the get user profile pet that’s in the second screenshot in my first post above, please? Thanks!
In your flow after the team is created you get the SharePoint site URL from that team.
You then use action "Create new folder" and use the URL from the Team you just created, name the folder "General"
I don't know how your flow looks for creating a Team, but here is one option of getting the Teams SharePoint URL.
https://normyoung.ca/2020/12/03/use-power-automate-to-get-a-ms-teams-sharepoint-url/
This should or at least before it did trigger the sync between the channel and the folder and will mimic when you manually click the files tab in the Team.
Hi @JimmyWork,
Please excuse the delay in my reply, I followed your advice and the instructions on the link you provided but I couldn't access Graph API connection nor was able to access Azure Active Directory due to not having the correct permissions and none of the additional steps worked in getting the SharePoint url you mentioned.
I've included the entire flow (numbered in order) in the pictures below - please also see my flow background above and in this reply and what I'm trying to also achieve with this:
Flow Background – Current Use:
What I am looking to achieve:
1)
2)
3)
As mentioned previously I'm new to PowerAutomate - before typing this reply I've tried YouTube for any similar solutions to try on my own first including the help documentation provided by Microsoft with no luck -
@MarconettiMarco @Expiscornovus @Pstork1 @Hardesh15 @ScottShearer @tom_riha - I would also very much appreciate any additional views/advice/options you could also provide from your experience on the above thread too?
Thank You All.
Hi @JimmyWork, @MarconettiMarco , @Expiscornovus, @Pstork1 , @Hardesh15 , @ScottShearer, @tom_riha
Further Update points to last message:
Sorry, I couldn't edit my last reply message above to include this additional information below due to a formatting issue when posting it but wanted to include the additional points below:
What I am looking to achieve:
Thank you all again for your time with this!
This is a very complex flow and will be difficult to achieve. But here are some responses to your points
1) The only way to truly get the URL for the SharePoint site created behind the Team is to use Microsoft Graph. This is not a simple operation and most beginners with Power Automate find it very difficult. this post in the Tech Community has an answer that discusses the MS Graph call that would be necessary.
1b) I have created a set of folders and files in a site using a template. The problem is that Power Automate doesn't have a recurrence capability. so the only reliable way I have found to do this is create the files and folders I want to use as a template in a .Zip archive. I can then extract the whole archive to the location. Please note that empty files and empty folders in the archive will be ignored.
2) It takes a few minutes for the team to be created so you'll either need a delay or a loop doing a Get team check to make sure the team exists before proceeding. But once you know its there then there is an action that can be used to Post a message to a channel.
3) Again the answer is to use MS Graph. There are calls in Graph to create a OneNote Notebook.
4) There is an action taht will let you create a Planner site. You would then need to add it as a Tab in Teams
5) I'm not aware of any connector in Power Automate that can work with Power Point.
Just to give you an idea. I was able to build a flow that does the first few things you requested. Screenshots below. It does use MS Graph to get the URL of the SharePoint site. Mine starts with a manual trigger, but an email trigger would work to.
Create a variable to hold the connection information for MS Graph and a variable to control the loop while waiting for the team to be built.
Parse the connection information variable to gain access to the individual values and then create the new team.
Use a Do Until loop to pause until the Team is created and can be retrieved.
Use the ID from the Team to get Information about the Microsoft 365 group used in the Team. Then use the ID of the M365 Group in MS Graph to get the SharePoint URL associated with that Group. That is the SharePoint site for the Team.
Parse the results to get access to the URL itself. Then split it on /Shared Documents to get just the URL of the SharePoint site.
use outputs('Compose')[0] as the Site URL and Create a General folder in the Documents library of the site. Then create one or more files in the General folder.
Hi, @Pstork1 Thank you for your time and very detailed reply.
Sadly due to the secured nature of our Environment set up by Admin - we don't have access to use Graph - it's even switched off on SharePoint "You're seeing a limited version of this page because Office Graph is turned off." - I've tried to get assistance to get access but I've been told it's not an option.
I was wondering if there was a work around of maybe saving the attachment to a specific Teams "Template" site first that I could create and then be able to copy the folders/files from this template to one of the other defined Channels (not the General channel) from the flow above that then gets created and established each time the flow is run? A Teams/ Sharepoint to Sharepoint copy function, if that's possible?
If it's possible, any guidance would also be appreciated here!
Thank You.
Sorry, but there is no way to do what you are requesting using Teams without using MS Graph. As has been pointed out the channel folder isn't created in teams until someone clicks on the Files tab in the Teams client. So you need to get the url of the SharePoint site associated with the team and create the folder manually. MS Graph is the only way to do that. There are ways to provision a Teams environment using Power Shell. That might provide an option. But that won't use Power Automate.
Hi @Pstork1 . I was browsing through solutions to a similar requirement and found you. My requirement is much simpler but I am having a heck of a time. I want to create sub folders WHEN i create a Folder in a SPECIFIC CHANNEL. No matter how many ways I do this, my subfolders do not get created in the CHANNEL. Instead, they are getting created at the Root Level.
So, I know how to create the subfolder. What I DON'T know /CANT figure out is how to get PowerAutomate to recognize the Channel and create the folders there.
The Channel is represented as a folder in the SharePoint Library attached to Teams. So to create subfolders you need to add the Channel name to the front of the folder you want to create. So if you want a subfolder called TeamNotes in the General channel the folder path would be General/TeamNotes.
Apologies for the delay @Pstork1 . I really appreciate your insights. I used them in conjunction with multiple other things, and with trial and error, I was able to make my flow work. I had to jerry-rig a few things but its working for now. Thanks again.
@PowerPotential were you ever able to get this to work? This is exactly what I am trying to complete as well.
Hi All, (@MarconettiMarco @Expiscornovus @Pstork1 @Hardesh15 @ScottShearer)
I've had the same problem with creating the General-folder in Teams without having to press the "Files"-button.
I spent some time examining this case and I tried to configure the flow as @Pstork1 have done, with MS Graph and creating a General-folder on the new teamsite in Sharepoint. While I was struggling with MS Graph and permissions I got an idea.
It's actually possible to skip the steps where MS Graph and "Create new folder" are involved. By naming the folder that we want to copy/move to "General", Teams and SharePoint think that this is the real "General"-folder. The actual folder that we want to copy should be inside the General-folder. I've posted som pics of my flow and the actions that I use.
It's important that the folder that we are copying/moving is named General in the templibrary.
We can predict that the destination site address will be https://***.sharepoint.com/sites/name of the new created team. Destination folder is Shared%20Documents.
The solution is that the folder we want to copy should be named General. We are fooling Teams and Sharepoint that this is the real General-folder.
I've used some variables to make it easier for my self but basically the only thing needed for this flow to succeed is
1. Trigger,
2. Action "Create a team" and
3. Action "Copy folder".
I added a delay before copy folder to be sure that the team and teamsite is created.
Hope that this helps you, have a nice day 🙂
To ensure that we are providing the best possible experience for Community members, we want to hear from you! We value your feedback! As part of our commitment to enhancing your experience, we invite you to participate in a brief 15-question survey. Your insights will help us improve our services and better serve the community. 👉Community User Survey Thank you for being an essential part of our community! Power Platform Engagement Team
It's time for another Tuesday Tip, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community. This Week: All About Community Support Whether you're a seasoned community veteran or just getting started, you may need a bit of help from time to time! If you need to share feedback with the Community Engagement team about the community or are looking for ways we can assist you with user groups, events, or something else, Community Support is the place to start. Community Support is part of every one of our communities, accessible to all our community members. Within each community's Community Support page, you'll find three distinct areas, each with a different focus to help you when you need support from us most. Power Apps: https://powerusers.microsoft.com/t5/Community-Support/ct-p/pa_community_support Power Automate: https://powerusers.microsoft.com/t5/Community-Support/ct-p/mpa_community_support Power Pages: https://powerusers.microsoft.com/t5/Community-Support/ct-p/mpp_community_support Copilot Studio: https://powerusers.microsoft.com/t5/Community-Support/ct-p/pva_community-support Community Support Form If you need more assistance, you can reach out to the Community Team via the Community support form. Choose the type of support you require and fill in the form accordingly. We will respond to you promptly. Thank you for being an active part of our community. Your contributions make a difference! Best Regards, The Community Management Team
As we continue to grow and learn together, it's important to reflect on the valuable insights we've shared. For today's #TuesdayTip, we're excited to take a moment to look back at the last 10 tips we've shared in case you missed any or want to revisit them. Thanks for your incredible support for this series--we're so glad it was able to help so many of you navigate your community experience! Getting Started in the Community An overview of everything you need to know about navigating the community on one page! Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Community Ranks and YOU Have you ever wondered how your fellow community members ascend the ranks within our community? We explain everything about ranks and how to achieve points so you can climb up in the rankings! Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Powering Up Your Community Profile Your Community User Profile is how the Community knows you--so it's essential that it works the way you need it to! From changing your username to updating contact information, this Knowledge Base Article is your best resource for powering up your profile. Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Community Blogs--A Great Place to Start There's so much you'll discover in the Community Blogs, and we hope you'll check them out today! Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Unlocking Community Achievements and Earning Badges Across the Communities, you'll see badges on users profile that recognize and reward their engagement and contributions. Check out some details on Community badges--and find out more in the detailed link at the end of the article! Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Blogging in the Community Interested in blogging? Everything you need to know on writing blogs in our four communities! Get started blogging across the Power Platform communities today! Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Subscriptions & Notifications We don't want you to miss a thing in the community! Read all about how to subscribe to sections of our forums and how to setup your notifications! Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Getting Started with Private Messages & Macros Do you want to enhance your communication in the Community and streamline your interactions? One of the best ways to do this is to ensure you are using Private Messaging--and the ever-handy macros that are available to you as a Community member! Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Community User Groups Learn everything about being part of, starting, or leading a User Group in the Power Platform Community. Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Update Your Community Profile Today! Keep your community profile up to date which is essential for staying connected and engaged with the community. Community Links: ○ Power Apps ○ Power Automate ○ Power Pages ○ Copilot Studio Thank you for being an integral part of our journey. Here's to many more Tuesday Tips as we pave the way for a brighter, more connected future! As always, watch the News & Announcements for the next set of tips, coming soon!
This month's Community Ambassador call is on May 9th at 9a & 3p PDT. Please keep an eye out in your private messages and Teams channels for your invitation. There are lots of exciting updates coming to the Community, and we have some exclusive opportunities to share with you! As always, we'll also review regular updates for User Groups, Super Users, and share general information about what's going on in the Community. Be sure to register & we hope to see all of you there!
We're pleased to share the April Community Newsletter, where we highlight the latest news, product releases, upcoming events, and the amazing work of our outstanding Community members. If you're new to the Community, please make sure to follow the latest News & Announcements and check out the Community on LinkedIn as well! It's the best way to stay up-to-date with all the news from across Microsoft Power Platform and beyond. COMMUNITY HIGHLIGHTS Check out the most active community members of the last month! These hardworking members are posting regularly, answering questions, kudos, and providing top solutions in their communities. We are so thankful for each of you--keep up the great work! If you hope to see your name here next month, follow these awesome community members to see what they do! Power AppsPower AutomateCopilot StudioPower PagesWarrenBelzDeenujialexander2523ragavanrajanLaurensMManishSolankiMattJimisonLucas001AmikcapuanodanilostephenrobertOliverRodriguestimlAndrewJManikandanSFubarmmbr1606VishnuReddy1997theMacResolutionsVishalJhaveriVictorIvanidzejsrandhawahagrua33ikExpiscornovusFGuerrero1PowerAddictgulshankhuranaANBExpiscornovusprathyooSpongYeNived_Nambiardeeksha15795apangelesGochixgrantjenkinsvasu24Mfon LATEST NEWS Business Applications Launch Event - On Demand In case you missed the Business Applications Launch Event, you can now catch up on all the announcements and watch the entire event on-demand inside Charles Lamanna's latest cloud blog. This is your one stop shop for all the latest Copilot features across Power Platform and #Dynamics365, including first-hand looks at how companies such as Lenovo, Sonepar, Ford Motor Company, Omnicom and more are using these new capabilities in transformative ways. Click the image below to watch today! Power Platform Community Conference 2024 is here! It's time to look forward to the next installment of the Power Platform Community Conference, which takes place this year on 18-20th September 2024 at the MGM Grand in Las Vegas! Come and be inspired by Microsoft senior thought leaders and the engineers behind the #PowerPlatform, with Charles Lamanna, Sangya Singh, Ryan Cunningham, Kim Manis, Nirav Shah, Omar Aftab and Leon Welicki already confirmed to speak. You'll also be able to learn from industry experts and Microsoft MVPs who are dedicated to bridging the gap between humanity and technology. These include the likes of Lisa Crosbie, Victor Dantas, Kristine Kolodziejski, David Yack, Daniel Christian, Miguel Félix, and Mats Necker, with many more to be announced over the coming weeks. Click here to watch our brand-new sizzle reel for #PPCC24 or click the image below to find out more about registration. See you in Vegas! Power Up Program Announces New Video-Based Learning Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram. These include a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the image below to find out more! UPCOMING EVENTS Microsoft Build - Seattle and Online - 21-23rd May 2024 Taking place on 21-23rd May 2024 both online and in Seattle, this is the perfect event to learn more about low code development, creating copilots, cloud platforms, and so much more to help you unleash the power of AI. There's a serious wealth of talent speaking across the three days, including the likes of Satya Nadella, Amanda K. Silver, Scott Guthrie, Sarah Bird, Charles Lamanna, Miti J., Kevin Scott, Asha Sharma, Rajesh Jha, Arun Ulag, Clay Wesener, and many more. And don't worry if you can't make it to Seattle, the event will be online and totally free to join. Click the image below to register for #MSBuild today! European Collab Summit - Germany - 14-16th May 2024 The clock is counting down to the amazing European Collaboration Summit, which takes place in Germany May 14-16, 2024. #CollabSummit2024 is designed to provide cutting-edge insights and best practices into Power Platform, Microsoft 365, Teams, Viva, and so much more. There's a whole host of experts speakers across the three-day event, including the likes of Vesa Juvonen, Laurie Pottmeyer, Dan Holme, Mark Kashman, Dona Sarkar, Gavin Barron, Emily Mancini, Martina Grom, Ahmad Najjar, Liz Sundet, Nikki Chapple, Sara Fennah, Seb Matthews, Tobias Martin, Zoe Wilson, Fabian Williams, and many more. Click the image below to find out more about #ECS2024 and register today! Microsoft 365 & Power Platform Conference - Seattle - 3-7th June If you're looking to turbo boost your Power Platform skills this year, why not take a look at everything TechCon365 has to offer at the Seattle Convention Center on June 3-7, 2024. This amazing 3-day conference (with 2 optional days of workshops) offers over 130 sessions across multiple tracks, alongside 25 workshops presented by Power Platform, Microsoft 365, Microsoft Teams, Viva, Azure, Copilot and AI experts. There's a great array of speakers, including the likes of Nirav Shah, Naomi Moneypenny, Jason Himmelstein, Heather Cook, Karuana Gatimu, Mark Kashman, Michelle Gilbert, Taiki Y., Kristi K., Nate Chamberlain, Julie Koesmarno, Daniel Glenn, Sarah Haase, Marc Windle, Amit Vasu, Joanne C Klein, Agnes Molnar, and many more. Click the image below for more #Techcon365 intel and register today! For more events, click the image below to visit the Microsoft Community Days website.
It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community. We're excited to announce that updating your community profile has never been easier! Keeping your profile up to date is essential for staying connected and engaged with the community. Check out the following Support Articles with these topics: Accessing Your Community ProfileRetrieving Your Profile URLUpdating Your Community Profile Time ZoneChanging Your Community Profile Picture (Avatar)Setting Your Date Display Preferences Click on your community link for more information: Power Apps, Power Automate, Power Pages, Copilot Studio Thank you for being an active part of our community. Your contributions make a difference! Best Regards, The Community Management Team
User | Count |
---|---|
78 | |
44 | |
36 | |
20 | |
11 |
User | Count |
---|---|
112 | |
65 | |
49 | |
31 | |
29 |