Forum Discussion
Neil_Benson
Mar 21, 2020Brass Contributor
How to automatically add a guest to a team in Teams?
Hello, I can add a guest to a Teams team using this procedure: https://support.office.com/en-us/article/add-guests-to-a-team-in-teams. I'd like to automate this procedure so that when one of my s...
- May 19, 2021Thanks MattB365, but Microsoft has finally announced webinars for Teams. If it lives up to the hype, this is the answer I've been waiting for (rolling out May 2021).
Aug 12, 2021
Hi Niel,
I am blocked too with the same problem. I created manually a guest in AZURE AD but can not gest the guest AAD Id of the guest. to be able to add him to Teams team I managed to create with Power Automate.
Any idea ?
Best regards
Youcef
I am blocked too with the same problem. I created manually a guest in AZURE AD but can not gest the guest AAD Id of the guest. to be able to add him to Teams team I managed to create with Power Automate.
Any idea ?
Best regards
Youcef
MarkTaylor
Sep 09, 2021Copper Contributor
1. I use the Office 365 "search for users (v2)" action to return 1 result (I have the private email address of the guest user (eg. hotmail/yahoo/outlook.com), but there are various filters)
2. AAD 'get user' action (based on the previous hit, PA expands it to a for each because technically the search returns a collection/array of 1!)
3. use get user result (to add them to the team.
- Sep 11, 2021
Mark,
Thank you very much for your answer but I think I did not explain my request correctely.
In fact, I wish to create automatically a guest user in Azure AD from a change in a custum Dataverse entity. As for adding a contact as a guest in a Teams team I managed to do that.
Very best regards.
Youcef
- Oct 06, 2021Hi Mark,
After reading my previous answer to your message I realised I missed it one again. In fact I am trying to create a flow that would fire from the change in a field of the contact entity and what I need to automate is :
1 - Create the contact as a guest in AAD instead of having to create him manualy
2 - Add that guest user to the Teams team I created earlier with another flow and for that I need to get dynamically the AAD ID of the created guest.
Best regards.
Youcef