We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dbb9213 + 0892717 commit 18aa2adCopy full SHA for 18aa2ad
src/lib/PnP.Framework/Utilities/Graph/GraphHelper.cs
@@ -81,7 +81,8 @@ bool canPatch
81
if (!string.IsNullOrEmpty(alreadyExistsErrorMessage) &&
82
!string.IsNullOrEmpty(matchingFieldName) &&
83
!string.IsNullOrEmpty(matchingFieldValue) &&
84
- ex.InnerException.Message.Contains(alreadyExistsErrorMessage))
+ (ex.InnerException?.Message.Contains(alreadyExistsErrorMessage) == true ||
85
+ ex.InnerException?.InnerException?.Message.Contains(alreadyExistsErrorMessage) == true))
86
{
87
try
88
0 commit comments