cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ryan2k
Resolver I
Resolver I

Possible Bug? Major headace sharing Flow with biz

I've built a Flow that follows these operations:

 

1. Triggers base on completing a Microsoft Form (that I've built)

2. Using Form Data, it creates a series of Outlook Calendar events, Outlook Tasks, and SharePoint Folders

3. The Flow does other miscellaneous things, but these are the heavy hitters of the Flow. The Flow has 5 app connections and contains nearly 40 operations.

 

Expected Results

My goal for this Flow is to share it in my organization so they can fill out the Trigger Form with their unique data, then have the Flow proceed to create the Outlook items on their account.

 

I'm exporting my Flow as a .zip, having my colleages import the Flow into their Office 365 account, and having them update the connectors with their email addresses by choosing "Select during import"

 

Actual Results

1. The first issue is that when my colleage fills out the Form (the one I created) it triggers their Flow, as expected. However their Flow reports that it failed to get Response Details from the Form. I would have expected the Flow to stop running at the section noted from the failure. However the Flow indeed continued to run all the way to the end. All the steps that show the 'X' indicating they didn't run, did indeed run.

flow.jpg

 

 

The error code for Get response details is:

{
  "error": {
    "code": "707",
    "message": "UnauthorizedAccess to CDB. Inner Message: {\"error\":{\"code\":\"OperationForbidden\",\"message\":\"Unauthorized Access\",\"innerError\":{\"code\":\"UnauthorizedAccess\"}}}"
  }

 

2. The second issue - all of the Outlook Calendar events and Tasks (that shouldn't have ran due to the error, but actually did run) were created on MY Office 365 account. These items should have been created on their account - not mine. We verified upon Flow Import that all the connections they created showed their email address. Why would there still be any ties to my email at all?

 

My suspicion

I'm suspicious that the root of the issue is how I have the tigger setup to use the Form. In my source Flow, I'm able to click the trigger drop down and select the Microsoft Form - because I created the Form and it's in my Office 365 account. However this Form doesn't exist in my colleage's account, so the Flow is using an ID that copied over in the template. If they click the dropdown to change the trigger, only their Forms (if they have any) show up. I'm guessing Flow doesn't know how to handle sharing the Form ID between exported/imported Flows in different accounts.

 

Taking that further, Flows thinks it failed due to not finding that Form in my colleages Forms Account (hence the unauthorized access error), so the Flow errored out. However it was still able to read the data and finish running the tasks - the error is a false positive. Again, I'm guessing Flow just doesn't know how to handle this type of use.

 

This project is critical to my team and my business.

* I cannot simply "Publish" this Flow as template to Microsoft as it contains IP and sentitive information to my business. * I cannot add my entire Team as owners as that would add risk of someone editing/breaking/deleting the source.

 

Is there an option for a Private Publish? Please help me overcome this major issue!

1 ACCEPTED SOLUTION

Accepted Solutions

For anyone following along down the road... I worked with Microsoft Support to get to an outcome. There were a few things we had to do differently:

 

1. I had to change the trigger type to a Button instead of triggering off of a MS Form. Turns out you have different sharing options based on the trigger type. Once I changed it to a Button Trigger, I could add a "Managed Run-Only User" which is exactly the type of sharing I needed to my organization.

 

2. Regarding the Calendar entries/Tasks getting created on the proper account, we also had to do a pull of the current Calendar and Task objects before referencing them. Again - this all worked in the previous config on MY account, but once it was shared it didn't work as expected for my colleagues. After making this change, the objects were created on their accounts as expected.

 

Thanks!

View solution in original post

4 REPLIES 4
AlanPs1
Resident Rockstar
Resident Rockstar

Hi @ryan2k

I will try and see if I can assit with some of this but may not have all the answers ...

 

1. If you think you have found a bug, I'd advise posting it here, hence you mention potentially the error is a false positive.

 

2. Based on the error, it looks like what you report below is accurate, I am about to do the same thing tomorrow and can do this and report back my finds but will need to wait until then.

 

3. You mention "This project is critical to my team and my business." and go on to say "I cannot simply "Publish" this Flow as template to Microsoft as it contains IP and sentitive information to my business. * I cannot add my entire Team as owners as that would add risk of someone editing/breaking/deleting the source."

 

Regards point 3, if you have senstive information it is possible to call a Flow from a Flow using HTTP request. What can be done, is that at the point the sensitive information is required you can call the "Private Flow" then when it completes it can call the "Public Flow" and so on. 

 

@sergeluca covers this in some detail here. Kudos to him!

 

So I am hopeful some of what I have posted can help you on a little.

 

If you have found my post helpful, please mark thumbs up.

Any other questions, just ask.

Thanks, Alan

Thanks Alan.

 

#1 Happy to report a bug if you experience similar behavior in your testing.

#2 Appreciate you reproducing the issue

#3 This would unnecessarily complicate things so I'd like to stick with a single Flow

Any comment from Microsoft?

For anyone following along down the road... I worked with Microsoft Support to get to an outcome. There were a few things we had to do differently:

 

1. I had to change the trigger type to a Button instead of triggering off of a MS Form. Turns out you have different sharing options based on the trigger type. Once I changed it to a Button Trigger, I could add a "Managed Run-Only User" which is exactly the type of sharing I needed to my organization.

 

2. Regarding the Calendar entries/Tasks getting created on the proper account, we also had to do a pull of the current Calendar and Task objects before referencing them. Again - this all worked in the previous config on MY account, but once it was shared it didn't work as expected for my colleagues. After making this change, the objects were created on their accounts as expected.

 

Thanks!

Helpful resources

Announcements

Calling all User Group Leaders and Super Users! Mark Your Calendars for the next Community Ambassador Call on May 9th!

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!

April 2024 Community Newsletter

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.      

Tuesday Tip | Update Your Community Profile Today!

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

Hear what's next for the Power Up Program

Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram, including 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 link below to sign up today! https://aka.ms/PowerUp  

Super User of the Month | Ahmed Salih

We're thrilled to announce that Ahmed Salih is our Super User of the Month for April 2024. Ahmed has been one of our most active Super Users this year--in fact, he kicked off the year in our Community with this great video reminder of why being a Super User has been so important to him!   Ahmed is the Senior Power Platform Architect at Saint Jude's Children's Research Hospital in Memphis. He's been a Super User for two seasons and is also a Microsoft MVP! He's celebrating his 3rd year being active in the Community--and he's received more than 500 kudos while authoring nearly 300 solutions. Ahmed's contributions to the Super User in Training program has been invaluable, with his most recent session with SUIT highlighting an incredible amount of best practices and tips that have helped him achieve his success.   Ahmed's infectious enthusiasm and boundless energy are a key reason why so many Community members appreciate how he brings his personality--and expertise--to every interaction. With all the solutions he provides, his willingness to help the Community learn more about Power Platform, and his sheer joy in life, we are pleased to celebrate Ahmed and all his contributions! You can find him in the Community and on LinkedIn. Congratulations, Ahmed--thank you for being a SUPER user!

Tuesday Tip: Getting Started with Private Messages & Macros

Welcome to 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.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   This Week's Tip: Private Messaging & Macros in Power Apps Community   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!   Our Knowledge Base article about private messaging and macros is the best place to find out more. Check it out today and discover some key tips and tricks when it comes to messages and macros:   Private Messaging: Learn how to enable private messages in your community profile and ensure you’re connected with other community membersMacros Explained: Discover the convenience of macros—prewritten text snippets that save time when posting in forums or sending private messagesCreating Macros: Follow simple steps to create your own macros for efficient communication within the Power Apps CommunityUsage Guide: Understand how to apply macros in posts and private messages, enhancing your interaction with the Community For detailed instructions and more information, visit the full page in your community today:Power Apps: Enabling Private Messaging & How to Use Macros (Power Apps)Power Automate: Enabling Private Messaging & How to Use Macros (Power Automate)  Copilot Studio: Enabling Private Messaging &How to Use Macros (Copilot Studio) Power Pages: Enabling Private Messaging & How to Use Macros (Power Pages)

Users online (4,867)