Power Automate Exchange

Please login or click SIGN UP FOR FREE to create your FlowUG account to join this user group.
  • 1.  Edit Flow Owner role as Admin

    Gold Contributor
    Posted Jun 23, 2021 05:49 PM
    I'm trying to change the Owner of an existing Flow from one owner to myself. The current owner will be leaving the company 6/30/21 so I was trying to be proactive. I'm using the Edit Flow Owner role as Admin action. I've entered the required fields along with my email address in the 'put_email - 1 field. This keeps failing with error: The permission with id '/providers//environments//flows//permissions/' in the put collection requires either the id or the email for the principal.

    Any idea what I'm doing wrong? I've referred to this MS documentation - Power Automate for Admins - Connectors | Microsoft Docs

    Thanks,
    Beth

    ------------------------------
    Beth Beck
    O365 Business Analyst
    Fort Myers FL
    ------------------------------


  • 2.  RE: Edit Flow Owner role as Admin

    Posted Jun 24, 2021 08:38 AM
    Just curious why you dont Edit the Owner list of the flow instead of creating a new flow? Maybe I am misunderstanding what you are trying to do.

    To change the Owner of a Flow, you can go into Details of the Flow and Edit the Owners. Then you can add/delete whoever is there.



    ------------------------------
    Marie Castine
    Web Developer
    McDonough
    ------------------------------



  • 3.  RE: Edit Flow Owner role as Admin

    Gold Contributor
    Posted Jun 24, 2021 09:01 AM
      |   view attached
    Hi Marie,
    I want to re-assign Owner so I remove the original owner prior to her end date. I'm not able to delete her per attached screen shot. For future, I want to change flow owners to service account so that we reduce the Levers issue. Thanks.

    Beth

    ------------------------------
    Beth Beck
    O365 Business Analyst
    Fort Myers FL
    ------------------------------



  • 4.  RE: Edit Flow Owner role as Admin

    Posted Jun 25, 2021 10:26 AM
    Hi Beth,

    I needed to make a Service Account the owner of a flow. Perhaps I did this the long way around, but this worked:

    1. Exported the flow
    2. Logged in as Service Account
    3. Imported the flow, which automatically assigned the Service Account as the primary owner
    4. Added myself as a co-owner
    5. Shared the flow with everyone
    NOTE: I don't remember if I had to rename my original flow after exporting, before I could import as Service Account. Ultimately, I deleted "my" version of the flow.

    When I need to add/remove co-owners, I can do so as the Service Account.

    Hope this helps.

    ------------------------------
    Lisa White
    Senior IT Specialist
    Herndon VA
    703-709-7172
    ------------------------------



  • 5.  RE: Edit Flow Owner role as Admin

    Gold Contributor
    Posted Jun 25, 2021 04:17 PM
    Thanks Lisa. I have performed your steps except that I'm using myself as the Owner, instead of Service Account. I will have our Security team create the SA. It's been on my To Do list for a while. After I get that SA, I'll repeat using your approach. I'd still like to understand that Flow action better. In the meantime, here's another blog post from Peter V that is helpful - How to handle leavers in Power Automate (sharepains.com).

    ------------------------------
    Beth Beck
    O365 Business Analyst
    Fort Myers FL
    ------------------------------



  • 6.  RE: Edit Flow Owner role as Admin

    Posted Jun 29, 2021 06:39 PM
    Hi Beth,

    I may have done overkill on this. Here's my reasoning:

    • Whoever creates a Flow is automatically the "main" owner
    • The "main" owner can add/remove co-owners
    • Co-owners cannot add/remove other co-owners
    • When the Service Account is logged in, doing "Save as" after importing a Flow makes the Service Account the owner of the newly created Flow

    For Flows created by people who are no longer with the company, I went into the Power Platform Admin Center and shared Flows with the Service Account.

    ------------------------------
    Lisa White
    Senior IT Specialist
    Herndon VA
    703-709-7172
    ------------------------------



  • 7.  RE: Edit Flow Owner role as Admin

    Gold Contributor
    Posted Jul 07, 2021 10:52 AM
    Hi Lisa,
    Sorry for the delayed reply to your response. I have used your approach of going to the Power Platform Admin Center to find Flows and assign owners. I'm just waiting for our security team to get the service account created.

    The downside of this is that it takes forever scrolling through the pages to find all the Flows that need to be re-assigned. Hence the reason I was looking to do this using a Power Automate Flow.

    Really appreciate your feedback.

    Warm regards,
    Beth

    ------------------------------
    Beth Beck
    O365 Business Analyst
    Fort Myers FL
    ------------------------------



  • 8.  RE: Edit Flow Owner role as Admin

    Posted Jul 08, 2021 06:52 AM
    Hi Beth, I am also owner of hundreds of workflows and it is really a struggle each time I need to search for a flow.  The search does not give any result, first I need to click about 10 times on the [more] down below and then search again.  Like search is only looking at the loaded flow titles.

    ------------------------------
    Erik Pauwels
    Solution architect
    Willebroek
    ------------------------------



  • 9.  RE: Edit Flow Owner role as Admin

    Gold Contributor
    Posted Jul 08, 2021 02:43 PM
    @Erik Pauwels The search for Flow struggle is certainly a pain!​

    ------------------------------
    Beth Beck
    O365 Business Analyst
    Fort Myers FL
    ------------------------------



  • 10.  RE: Edit Flow Owner role as Admin

    Top Contributor
    Posted Jul 09, 2021 07:05 AM
    Edited by Sam Duval Jul 09, 2021 07:07 AM
    @Erik Pauwels look at https://flowstudio.app/welcome

    Searching in ​flow is a joke. This "program" lays ontop of flow and makes a huge difference in the usability of flow.  it is basically an Azure extension, and access is controlled via our AAD, It also stores it's data in Australia, which has very good data laws/governance. It also appears that the versions of flows that it keeps are stored without connector info.
     
    Also note that the API requests go directly from browser to the endpoints and this traffic never hits Flow Studios servers.
     
    Having passed the MSFT requirements for API access, the servers being housed in a country known for data protection, and the use of https for API calls directly from browser to endpoint, the security measures to protect information in these flows is pretty solid.

    ​ ​

    ------------------------------
    Sam Duval
    Data Quality Analyst
    Element Financial
    Indianapolis IN
    ------------------------------