When using the action "Post Message as Flow Bot to a channel" I recieve the following error:
The sender with objectId '1881764e-e5f0-4e17-82f5-b7730c5e6e84' is not a member of the team.
Any hints on how to resolve this?
This is an authentication issue, and the account you are trying to run the Microsoft Teams action with does not have access to the Microsoft Team where you are trying to have Microsoft Teams send the message.
Verify that you have the correct account selected under the My connections of the steps in question, example (see green box):
If you are using the correct account, verify that you can post to the Team with that account manually. If that works, then you should re-authenticate and/or delete and re-add the Microsoft Teams connector from the Data > Connections page of Flow, example:
On the connections page, either Delete and re-add the Microsoft Teams connector, or click Switch account to re-enter your credentials:
If you are still having issues, try logging out of Flow and back in all together. Also, try to use the Post a message as the Flow bot to a user action and send yourself a message to see if it works.
If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Thank you for taking a look at my issue. Here is a copy of the flow and the error:
Hi @Anonymous ,
The error message says that The sender is not a member of the team, are you or the shared user triggering the flow?
Please make sure the user is a member of a team.
When testing this issue on my side, it is working successfully.
Best regards,
Mabel
Hi @Anonymous ,
If you are an Owner of the team, you can go to the manage team and enable "Users can add apps to the team" option and add the Flow Bot to the team in the Apps section. Please referr to the screenshot below:
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Updated status:
1. Created a NEW Team
2. Added flow bot
3. In Flow: Team name shows in the action
4. SUCCESSFUL post from flow bot.
Issue remains with the 'old' Team.
1. Added Flow Bot.
2. In Flow: Team name does not show -- you have to use the team GUID
3. FAILED to post from flow bot
Error:
'Unauthorized' - The sender with objectId '1881764e-e5f0-4e17-82f5-b7730c5e6e84' is not a member of the team.
Is there a setting to update for this 'old' team to make it work?
Hey! So you are not able to select the old team in the flow and you are adding the team ID correct? This might be because you don't have access to that team (please check if you are a member of that team and you can post a message to that channel).
Alternatively, please try deleting the current teams connection and create a new one.
Hope this helps.
Hi @Anonymous ,
About how to add Flow Bot to the team, please check the following doc for a reference:
https://flow.microsoft.com/en-us/blog/introducing-the-flow-tab-in-teams-and-new-teams-triggers/
About the old teams, please make sure you are added as a member of the team.
Best regards,
Mabel
Hi @Anonymous ,
I had the same issue, and managed to find a fix. I originally created the team via the Teams Admin center and was by default an owner of the Team, could post etc, but was getting the "Not a member" error in flow.
I just removed myelf as an owner, then added myself back to the Team as a member, then promoted to owner again. Not sure if this will work for you, but it worked for me. I think it has something to do with the defaulting to being an owner on team creation, bypassing membership.
Regards,
Dan
Hi
I'm having the same problem. The user however is an owner of the Team, so I don't know why we keep getting this error. Anyone know a way to resolve this?
Thanks!
Inserting a delay after adding the team members but before performing any actions using flow resolved this for me.
User | Count |
---|---|
22 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
43 | |
28 | |
25 | |
24 | |
23 |