Skip to content

Commit

Permalink
Merge branch 'issue-390-improved-fix' of https://github.com/luismanez…
Browse files Browse the repository at this point in the history
…/pnpframework into pr418
  • Loading branch information
jansenbe committed Jul 26, 2021
2 parents 27542c7 + c5f87c0 commit f6dfaa1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,11 @@ private static string CreateOrUpdateTeamFromGroupInternal(PnPMonitoredScope scop
CoreResources.Provisioning_ObjectHandlers_Teams_Team_ProvisioningError,
canPatch: true);

if (!string.IsNullOrEmpty(teamId))
if (string.IsNullOrEmpty(teamId)) // Currently GraphHelper.CreateOrUpdateGraphObject is not throwing Exceptions, but returning TeamId null
{
System.Threading.Thread.Sleep(TimeSpan.FromSeconds(5));
}
else
{
wait = false;
}
Expand Down

0 comments on commit f6dfaa1

Please sign in to comment.