web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow runs successfully...
Power Automate
Unanswered

Flow runs successfully but it doesn't add users

(0) ShareShare
ReportReport
Posted on by 24

I created a flow to add users to Microsoft team group. The flow runs successfully. However, t doesn't add any users. What could be the problem?

chicgotech_0-1700753628829.png

 

 

 

Categories:
  • chicgotech Profile Picture
    24 on at

    Also, when I try to Edit columns in the flow, I get "Something went wrong. Please refresh the page or try again after some time".

    chicgotech_0-1700755953002.png

     

  • chicgotech Profile Picture
    24 on at

    I re-created it and have the same issue.

     

    chicgotech_0-1700771058281.png

     

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Are you able to show us the configuration of the flow? 

    In the screenshot above, I see two Excel actions, but not any user / Teams / groups actions.

  • chicgotech Profile Picture
    24 on at

    Rhiassuring,

     

    See the code above. Thank you and look forward to receiving your reply. 

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    @chicgotech  I don't see any additional screenshots? 

    I still just see this:

    Rhiassuring_0-1700849060711.png


    Which, as I mention, doesn't show any "add users" activities - only 2 Excel activities. Did you mean to post an additional screenshot?

     

  • chicgotech Profile Picture
    24 on at
    {
      "type": "Recurrence",
      "recurrence": {
        "frequency": "Month",
        "interval": "1",
        "startTime": "2023-11-23T16:00:00.000Z"
      }
    }
    {
      "type": "OpenApiConnection",
      "inputs": {
        "parameters": {
          "source": "me",
          "drive": "b!TKmIsp4smU67QeAi6JQ-mutwf2YQ26pBi9NkOqyZmBc6HPvCzJLnQbWLGKjDOIuI",
          "file": "016MKGSKPEF2UW7Y7JWVB3QIK277K33XNB",
          "table": "{8C1BCEE4-446B-4EC0-88F4-0C8E80E13892}"
        },
        "host": {
          "apiId": "/providers/Microsoft.PowerApps/apis/shared_excelonlinebusiness",
          "connection": "shared_excelonlinebusiness",
          "operationId": "GetItems"
        }
      },
      "runAfter": {},
      "metadata": {
        "016MKGSKPEF2UW7Y7JWVB3QIK277K33XNB": "/Test.xlsx",
        "tableId": "{8C1BCEE4-446B-4EC0-88F4-0C8E80E13892}"
      }
    }
    {
      "type": "Foreach",
      "foreach": "@outputs('List_rows_present_in_a_table')?['body/value']",
      "actions": {
        "Add_a_member_to_a_team": {
          "type": "OpenApiConnection",
          "inputs": {
            "parameters": {
              "body/userId": "@items('For_each')?['Email Address']",
              "teamId": "043dc0a6-3d64-428d-8854-e6f17956e986"
            },
            "host": {
              "apiId": "/providers/Microsoft.PowerApps/apis/shared_teams",
              "connection": "shared_teams",
              "operationId": "AddMemberToTeam"
            }
          }
        }
      },
      "runAfter": {
        "List_rows_present_in_a_table": [
          "Succeeded"
        ]
      }
    }
    {
      "type": "OpenApiConnection",
      "inputs": {
        "parameters": {
          "body/userId": "@items('For_each')?['Email Address']",
          "teamId": "043dc0a6-3d64-428d-8854-e6f17956e986"
        },
        "host": {
          "apiId": "/providers/Microsoft.PowerApps/apis/shared_teams",
          "connection": "shared_teams",
          "operationId": "AddMemberToTeam"
        }
      }
    }
  • chicgotech Profile Picture
    24 on at

    Sorry, I thought I post the code. Can you see the code now?

     

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Yes, thank you, but it's very hard to picture through the code. Could you post screenshots instead, please?

  • chicgotech Profile Picture
    24 on at

    chicgotech_3-1700858447380.pngchicgotech_4-1700858468133.pngchicgotech_5-1700858482015.png

     

    chicgotech_6-1700858504594.png

     

     

     

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Sorry, I mean, I want to see the parameters of each. Not the Code View. 

    I'd also like to see the raw output from List Rows in Table (screenshot of it is fine) to make sure that you're actually getting data out of it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard