Exemplo n.º 1
0
        private static async Task <string> CreateTeam(string name)
        {
            Microsoft.Graph.Team newGroup = await GraphHelper.CreateNewTeam(name);

            InfoLine("New Team '" + newGroup.DisplayName + "' created");

            return(newGroup.Id);
        }
Exemplo n.º 2
0
        private static async Task <string> CreateTeamFromGroup(string _id)
        {
            Microsoft.Graph.Team newTeam = await GraphHelper.ChangeGroupToTeam(_id);

            if (newTeam == null)
            {
                return(null);
            }

            InfoLine("New Team (from Group) '" + newTeam.DisplayName + "' created");

            return(newTeam.Id);
        }
Exemplo n.º 3
0
 public TeamModel(Microsoft.Graph.Team team)
 {
     GUID = team.Id;
     Name = team.DisplayName;
 }