Jul 16 2019 11:10 PM
What is the Microsoft Graph API endpoint to restrict guest user access to Microsoft Teams? I want to prevent guests from being added to teams when the team is being created via https://docs.microsoft.com/en-us/graph/api/team-put-teams?view=graph-rest-1.0 call.
Jul 17 2019 12:01 AM
You control this on the underlying Group object, not the team itself. Here's the Graph call to use: https://docs.microsoft.com/en-us/graph/api/directorysetting-update?view=graph-rest-beta&tabs=http
Jul 17 2019 02:56 AM
According to this https://docs.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-beta this have "allowExternalSenders" - is this what you are saying?
Jul 17 2019 09:40 AM
No, I'm talking about the actual directory settings which control group behavior. If you are not familiar with them, read here: https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-settings-cmdlets