Hi,
I built an MS flow to automatically create a team (not a team channel) when an MS form is submitted. I used this guide to create it.https://www.lee-ford.co.uk/new-team-request-for-teams-using-flow-and-graph-api/
However, I face an error in the second HTTP action. error message attached. Please let me know how to make it work. Much appreciated!
Thank you,
Roger
Howdy @TGRM ,
The Error\Status Code is 403 - Forbidden.
To isolate the problem, can you please Test the same REST request using a REST client such as PostMan or ARC.
On a side note for graph API I prefer using 'HTTP with Azure AD connector'
You can find some details in my blog, https://clavinfernandes.wordpress.com/2020/05/04/exporting-chats-from-microsoft-teams-using-power-au...
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!
Thanks for your response. I did contact my IT admin and he gave me some permission but I'm not sure if it was sufficient.
Screenshot attached. Can you tell me which one still needs permission? Thank you!
Hi @TGRM
You screenshot is very small and not readable.
To create a Team you will need to provide the permissions https://docs.microsoft.com/en-us/graph/api/team-post?view=graph-rest-1.0
Permission type Permissions (from least to most privileged)
Delegated (work or school account) | Group.ReadWrite.All, Directory.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Group.ReadWrite.All, Directory.ReadWrite.All |
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!
Hi @CFernandes,
I think I've got all the permission, and yet it still popped up the error message. Could you please take a look?
Thanks,
Permission screenshots
Error message:
Another observation is that the MS Graph seems to work when I select GET, but not work when I select POST.
Does it mean I need to get permission to POST?
Hi @CFernandes
Can you give further instruction to this problem. I got all the permission needed.
Much appreciated!
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
17 | |
11 | |
8 | |
7 | |
5 |
User | Count |
---|---|
23 | |
13 | |
12 | |
12 | |
10 |