Please enable JavaScript.
Coggle requires JavaScript to display documents.
Add a member in team in Teams, Approval - Coggle Diagram
Add a member in team in Teams
Enter a search term to look up the Teams you want to add member to
{Return search criteria met results }
Dropdown with {displayName - description}
<Retry Search >
<Continue with selected>
Please select the team in which you want to add member
{DropDown}(API call to list the teams which are accessible)
https://docs.microsoft.com/en-us/graph/teams-list-all-teams
Submit
Check if the group selected is "Security enabled" - Yes
Secutity enabled-No
Please select the member you want to add{Dropdown(Search and Select), List of AD}(
API call to get the List of AD
)
https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http
Check if the Member already Exist(
API call for getting list of members in team
)
https://docs.microsoft.com/en-us/graph/api/team-list-members?view=graph-rest-1.0&tabs=http
Member Exists-Yes
This member already exists in this team
1 more item...
Member Exists -No
Execute add member API
Security enabled- Yes
Check the number of owner of group
Number of owner are more than 1
Please select the member you want to add{Dropdown(Search and Select), List of AD}(
API call to get the List of AD
)
https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http
Check if the Member already Exist(
API call for getting list of members in team
)
https://docs.microsoft.com/en-us/graph/api/team-list-members?view=graph-rest-1.0&tabs=http
2 more items...
Number of owner =1
Is requestor= Owner
Yes
1 more item...
No
2 more items...
If list of team is 0
Currently no team exist.
Is there anything else ...
[Selected Team]
Approval
Approval Provided
{API call to add the member}
Send an email to requestor stating that the {member} has been added.
Send an email to user
Approval Not Provided
Send an email to requestor stating that the {member} is not added because{reason}
Sent back for more info