Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private static JToken CreateTeamFromProvisioningSchema(PnPMonitoredScope scope,
// If security is configured, add the members and owners defined in the template to the Team
if (team.Security != null)
{
if (!SetGroupSecurity(scope, parser, team, teamId, accessToken, graphBaseUri)) return null;
if (!SetGroupSecurity(scope, parser, team, parsedGroupId, accessToken, graphBaseUri)) return null;
}

// Then promote the Group into a Team or update it, if it already exists. Patching a team doesn't return an ID, so use the parsedGroupId directly (teamId and groupId are the same).
Expand Down Expand Up @@ -1950,6 +1950,9 @@ private static List<TeamTab> GetTeamChannelTabs(ExtractConfiguration configurati
var teamTabs = teamTabsJObject.ToObject<TeamTab[]>();
foreach (var tab in teamTabs)
{
if (tab.Configuration != null && tab.ID == "3ed5b337-c2c9-4d5d-b7b4-84ff09a8fc1c") {
continue;
}
if (tab.Configuration != null && string.IsNullOrEmpty(tab.Configuration.ContentUrl))
{
tab.Configuration = null;
Expand Down