I was trying to import a Flow from one environment to a new environment. The import process failed with the errors shown below. The Flow works successfully in the old environment. But now it's saying it has issues to get table. In the Flow, there is a step for "Get items" from a SharePoint list. Could that the be the source of the error? If so, how can I debug and solve it? (I couldn't just delete that step because the steps afterwards will rely on the results of "Get items".)
Error:
Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'Unauthorized'. This may indicate invalid input parameters. Error response: { "error_description": "Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown." }'.
I have seen this post, which got a very similar error message, but that was happening when trying to save the Flow.
Thank you in advance!
Hi @willyzh ,
I did a similar test, but I was unable to reproduce such an issue.
Please try to update the connection in the current Flow first, then create the same connection in the new environment in advance.
Finally, try importing this Flow again and see if a similar issue still exists.
Best Regards,
HI @willyzh
I think the key is "unauthorized" in the error message. Creating the connection before can solve this issue as mentioned by @v-bacao-msft, I recommend creating a simple flow with just a button trigger and a "Get Items". If you reach the information then you're sure that you have permissions. If not you can work on that until it works. After the connection stuff is organized then you're sure that the connection will work when you import the flow.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Hi @v-bacao-msft and @manuelstgomes ,
Thank you very much for your replies.
The challenge is that the we are using different accounts to set up the connections in the old and new environments. And the SharePoint lists are also located indepedently in these two environments.
I have tried to create a new Flow with just "Get items" and it worked in the new tenant environment. But the import process still failed afterwards.
One side note is that I have successfully imported a PowerApps package and the Flows included in that package to the new tenant. Those Flows were succussfully created and some of them have "Get item from SharePoint list".
Thanks again. Hope you to hear from you soon.
Best regards,
Will
Hi @willyzh
I had a similar problem, Sometimes when you import a flow some activities does not update properly, you need to look for the sharepoint action and update the json schema.
Microsoft.Flow/flows/{GUID}/definition.json in the .zip file.
Search SharePoint action and the schema must be like this
If is different you need change this schema like I did show.
Regards,
Luis Babativa
If this post helps, then please consider Accept it as the solution to help the other members find it more
Bonsoir @lbabativa1 ,
Merci pour votre réponse qui semble apporter des solutions concrètes.
Je rencontre le même problème et j'aurai besoin de précision quant à votre proposition.
Vous indiquez où faire les modifs: Microsoft.Flow / flows / {GUID} /definition.json dans le fichier .zip.
Mais quelles modifs doivent être réalisées?
Merci d'avance pour votre aide,
Cordialement,
Mélanie
is the flow in a solution?
What you can try is to export the flow and re import the package into the same environment. Than export again
Proud to be a Flownaut!
Bonjour @Jcook ,
De mon côté j’ai déjà essayé cette solution et j’obtiens le même résultat.
Echec.
Dans solution, 1 app, 6 flows. 4 passent parfaitement et pour les 2 autres c’est impossible.
pourtant, j’ai des actions SharePoint dans les 6.
incomprehensible..
Hello @wan237
Please start a new post, and tag me using the '@' symbol and my username Jcook.
Proud to be a Flownaut!
@wan237 ,
I was getting the same error and was able fix it by updating the definition.js file in the exported zip file.
What I was trying to do is export a flow from one site and import it to another site using a different username. The new username does not have access to the original site. The definition.js had references to the old site and the import procedure was having problems authenticating.
My solution was to edit the definition.js file and replace the SharePoint URL and List ID with the new site information. The definition.js file is in the lowest folder in the exported zip file and is defined under parameters
"parameters":{"dataset":"https://<URL to SharePoint site>/","table":"B582B199-6500-4F76-8627-C08D770204A6"}
I replaced the URL and list ID (defined under table), saved the definition.js file and copied it to the zip file. Afterwards I was able to successfully import the flow.
Hi
Trying out @eshen solution I just get an unknown error when I try to upload the package after I made the changes to the definition.json file.
What really strikes me here, is that making changes to that file or any file in the package would even be necessary?
Moving App's between tenants should not be this difficult!
It makes sense thoug, that the reason it fails to begin with, is because the references in the file are pointing to the wrong URL and therefore we recieve an 'unauthorized' error. But if this is in fact the case, it should be something you get to change during the upload process, otherwise this export/import feature is more or less useless.
Hi
So I had the same issue when I tried to import a new flow. It seems that the authorisation is in fact the key issue as was highlighted by another user on this thread.
so what I did then to fix the issue was to create new connections in my new flow workspace, with the accounts of the old workflow I was importing. so for example, if I exported a flow from Account Username1, and then is importing it into the flow workspace of Account Username2, I first added a new connection for each element of my flow into my flow workspace for account username2.
This meant going an adding a connection to flow workspace for user account Username2 for both Forms and SharePoint in my Manage connections list, but when asked which login to use, I used Username1. I repeated this for each connection type I needed.
then, I went back to the flows workspace and tried importing again. On importing, when asked to select a connection, I selected the connections linked to account username1. this then allowed me to successfully import my flow.
Hope this helps.
Thanks.
Super Users – 2023 Season 1 We are excited to kick off the Power Users Super User Program for 2023 - Season 1. The Power Platform Super Users have done an amazing job in keeping the Power Platform communities helpful, accurate and responsive. We would like to send these amazing folks a big THANK YOU for their efforts. Super User Season 1 | Contributions July 1, 2022 – December 31, 2022 Super User Season 2 | Contributions January 1, 2023 – June 30, 2023 Curious what a Super User is? Super Users are especially active community members who are eager to help others with their community questions. There are 2 Super User seasons in a year, and we monitor the community for new potential Super Users at the end of each season. Super Users are recognized in the community with both a rank name and icon next to their username, and a seasonal badge on their profile. Power Apps Power Automate Power Virtual Agents Power Pages Pstork1* Pstork1* Pstork1* OliverRodrigues BCBuizer Expiscornovus* Expiscornovus* ragavanrajan AhmedSalih grantjenkins renatoromao Mira_Ghaly* Mira_Ghaly* Sundeep_Malik* Sundeep_Malik* SudeepGhatakNZ* SudeepGhatakNZ* StretchFredrik* StretchFredrik* 365-Assist* 365-Assist* cha_cha ekarim2020 timl Hardesh15 iAm_ManCat annajhaveri SebS Rhiassuring LaurensM abm TheRobRush Ankesh_49 WiZey lbendlin Nogueira1306 Kaif_Siddique victorcp RobElliott dpoggemann srduval SBax CFernandes Roverandom schwibach Akser CraigStewart PowerRanger MichaelAnnis subsguts David_MA EricRegnier edgonzales zmansuri GeorgiosG ChrisPiasecki ryule AmDev fchopo phipps0218 tom_riha theapurva takolota Akash17 momlo BCLS776 Shuvam-rpa rampprakash ScottShearer Rusk ChristianAbata cchannon Koen5 a33ik AaronKnox Matren Alex_10 Jeff_Thorpe poweractivate Ramole DianaBirkelbach DavidZoon AJ_Z PriyankaGeethik BrianS StalinPonnusamy HamidBee CNT Anonymous_Hippo Anchov KeithAtherton alaabitar Tolu_Victor KRider sperry1625 IPC_ahaas zuurg rubin_boer cwebb365 If an * is at the end of a user's name this means they are a Multi Super User, in more than one community. Please note this is not the final list, as we are pending a few acceptances. Once they are received the list will be updated.
Welcome to our March 2023 Newsletter, where we'll be highlighting the great work of our members within our Biz Apps communities, alongside the latest news, video releases, and upcoming events. If you're new to the community, be sure to subscribe to the News & Announcements and stay up to date with the latest news from our ever-growing membership network who find real "Power in the Community". LATEST NEWS Power Platform Connections Check out Episode Five of Power Platform Connections, as David Warner II and Hugo Bernier chat with #PowerAutomate Vice President, Stephen Siciliano, alongside reviewing out the great work of Vesa Juvonen, Waldek Mastykarz, Maximilian Müller, Kristine Kolodziejski, Danish Naglekar, Cat Schneider, Victor Dantas, and many more. Use the hashtag #PowerPlatformConnects on social media for a chance to have your work featured on the show! Did you miss an episode? Catch up now in the Community Connections Galleries Power Apps, Power Automate, Power Virtual Agents, Power Pages Power Platform leading a new era of AI-generated low-code development. **HOT OFF THE PRESS** Fantastic piece here by Charles Lamanna on how we're reinventing software development with Copilot in Power Platform to help you can build apps, flows, and bots with just a simple description! Click here to see the Product Blog Copilot for Power Apps - Power CAT Live To follow on from Charles' blog, check out #PowerCATLive as Phil Topness gives Clay Wesener Wesner a tour of the capabilities of Copilot in Power Apps. UPCOMING EVENTS Modern Workplace Conference Check out the Power Platform and Microsoft 365 Modern Workplace Conference that returns face-to-face at the Espace St Martin in Paris on 27-28th March. The #MWCP23 will feature a wide range of expert speakers, including Nadia Yahiaoui, Amanda Sterner, Pierre-Henri, Chirag Patel, Chris Hoard, Edyta Gorzoń, Erika Beaumier, Estelle Auberix, Femke Cornelissen, Frank POIREAU, Gaëlle Moreau, Gilles Pommier, Ilya Fainberg, Julie Ecolivet, Mai-Lynn Lien, Marijn Somers, Merethe Stave, Nikki Chapple, Patrick Guimonet, Penda Sow, Pieter Op De Beéck, Rémi Riche, Robin Doudoux, Stéphanie Delcroix, Yves Habersaat and many more. Click here to find out more and register today! Business Applications Launch 2023 Join us on Tuesday 4th April 2023 for an in-depth look into the latest updates across Microsoft Power Platform and Microsoft Dynamics 365 that are helping businesses overcome their biggest challenges today. Find out about new features, capabilities, and best practices for connecting data to deliver exceptional customer experiences, collaborating and creating using AI-powered capabilities, driving productivity with automation, and building future growth with today’s leading technology. Click Here to Register Today! Power Platform Conference 2023 We are so excited to see you for the Microsoft Power Platform Conference in Las Vegas October 3-5th, 2023! But first, let's take a look below at some fun moments from MPPC 2022 in Orlando Florida. 2023 sees guest speakers such as Charles Lamanna, Heather Cook, Julie Strauss, Nirav Shah, Ryan Cunningham, Sangya Singh, and many more taking part, so why not click the link below to register for the #PowerPlatformConf today! Vegas, baby! Click Here to Register Today! COMMUNITY HIGHLIGHTS Check out our top Super and Community Users reaching new levels! These hardworking members are posting, answering questions, kudos, and providing top solutions in their communities. Power Apps: Super Users: @WarrenBelz | @iAm_ManCat Community Users: @LaurensM | @Rusk | @RJM07 Power Automate: Super Users: @abm | @Expiscornovus | @RobElliott Community Users: @grantjenkins | @Chriddle Power Virtual Agents: Super Users: @Expiscornovus | @Pstork1 Community Users: @MisterBates | @Jupyter123 | Kunal K Power Pages: Super Users: @OliverRodriguesOliverRodrigues | @Mira_Ghaly Community Users: @FubarFubar | @ianwukianwuk LATEST PRODUCT BLOG ARTICLES Power Apps Community Blog Power Automate Community Blog Power Virtual Agents Community Blog Power Pages Community Blog Check out 'Using the Community' for more helpful tips and information: Power Apps, Power Automate, Power Virtual Agents, Power Pages
Join us for an in-depth look into the latest updates across Microsoft Dynamics 365 and Microsoft Power Platform that are helping businesses overcome their biggest challenges today. Find out about new features, capabilities, and best practices for connecting data to deliver exceptional customer experiences, collaborating, and creating using AI-powered capabilities, driving productivity with automation—and building towards future growth with today’s leading technology. Microsoft leaders and experts will guide you through the full 2023 release wave 1 and how these advancements will help you: Expand visibility, reduce time, and enhance creativity in your departments and teams with unified, AI-powered capabilities.Empower your employees to focus on revenue-generating tasks while automating repetitive tasks.Connect people, data, and processes across your organization with modern collaboration tools.Innovate without limits using the latest in low-code development, including new GPT-powered capabilities. Click Here to Register Today!
Episode Five of Power Platform Connections sees David Warner and Hugo Bernier talk to Vice President of Power Automate, Stephen Siciliano, alongside the latest news, product reviews, and community blogs. Use the hashtag #PowerPlatformConnects on social media for a chance to have your work featured on the show! Show schedule in this episode: 0:00 Cold Open 0:34 Show Intro 01:09 Stephen Siciliano Interview 30:42 Blogs & Articles 31:06 PnP Weekly Ep 200 32:51 SharePoint Custom Form Backup 33:38 Power Apps Extreme Makeover 34:56 ChatGPT Control 35:35 Color Data 37:17 Top 7 Features on Dynamics 365 2023 Release Wave 1 38:30 Outro & Bloopers Check out the blogs and articles featured in this week’s episode: https://pnp.github.io/blog/microsoft-365-pnp-weekly/episode-200/ (no tags) https://grazfuchs.net/post/sharepoint-customform-backup/ @Maximilian Müllerhttps://www.fromzerotoheroes.com/ @Kristine Kolodziejski https://github.com/Power-Maverick/PCF-Controls/tree/master/ChatGPTControl @DanzMaverick https://yerawizardcat.com/color/ @CatSchneider https://events.powercommunity.com/dynamics-power-israel/ @VictorDantas Action requested: Feel free to provide feedback on how we can make our community more inclusive and diverse. This episode premiered live on our YouTube at 12pm PST on Thursday, 16th March 2023. Video series available at Power Platform Community YouTube channel. Upcoming events: Business Applications Launch – April 4th – Free and Virtual! M365 Conference - May 1-5th - Las Vegas Power Apps Developers Summit – May 19-20th - London European Power Platform conference – Jun. 20-22nd - Dublin Microsoft Power Platform Conference – Oct. 3-5th - Las Vegas Join our Communities: Power Apps Community Power Automate Community Power Virtual Agents Community Power Pages Community If you’d like to hear from a specific community member in an upcoming recording and/or have specific questions for the Power Platform Connections team, please let us know. We will do our best to address all your requests or questions.
We are excited to share the ‘Power Platform Communities Front Door’ experience with you! Front Door brings together content from all the Power Platform communities into a single place for our community members, customers and low-code, no-code enthusiasts to learn, share and engage with peers, advocates, community program managers and our product team members. There are a host of features and new capabilities now available on Power Platform Communities Front Door to make content more discoverable for all power product community users which includes ForumsUser GroupsEventsCommunity highlightsCommunity by numbersLinks to all communities Users can see top discussions from across all the Power Platform communities and easily navigate to the latest or trending posts for further interaction. Additionally, they can filter to individual products as well. Users can filter and browse the user group events from all power platform products with feature parity to existing community user group experience and added filtering capabilities. Users can now explore user groups on the Power Platform Front Door landing page with capability to view all products in Power Platform. Explore Power Platform Communities Front Door today. Visit Power Platform Community Front door to easily navigate to the different product communities, view a roll up of user groups, events and forums.
We are so excited to see you for the Microsoft Power Platform Conference in Las Vegas October 3-5 2023! But first, let's take a look back at some fun moments and the best community in tech from MPPC 2022 in Orlando, Florida. Featuring guest speakers such as Charles Lamanna, Heather Cook, Julie Strauss, Nirav Shah, Ryan Cunningham, Sangya Singh, Stephen Siciliano, Hugo Bernier and many more. Register today: https://www.powerplatformconf.com/
User | Count |
---|---|
15 | |
15 | |
14 | |
9 | |
8 |
User | Count |
---|---|
27 | |
25 | |
23 | |
21 | |
17 |