diff --git a/Source/ARMTemplates/LogicApps/processprovisionrequest.json b/Source/ARMTemplates/LogicApps/processprovisionrequest.json index 83d4dce..26aef6f 100644 --- a/Source/ARMTemplates/LogicApps/processprovisionrequest.json +++ b/Source/ARMTemplates/LogicApps/processprovisionrequest.json @@ -2078,7 +2078,7 @@ "defaultExternalSharingSetting": "@variables('DefaultExternalSharingSetting')", "disableDocSync": "@variables('DisableDocumentSync')", "enableAllowAccessRequests": "@variables('EnableAllowAccessRequests')", - "externalSharing": "@{triggerBody()?['ExternalSharing']}", + "externalSharing": "@triggerBody()?['ExternalSharingRequired']", "featuresToActivate": "@variables('FeaturesToActivate')", "hubSiteId": "@triggerBody()?['HubSite']", "joinHub": "@{triggerBody()?['JoinHub']}", diff --git a/Source/Runbooks/ConfigureSpace.ps1 b/Source/Runbooks/ConfigureSpace.ps1 index 31e7e64..5841754 100644 --- a/Source/Runbooks/ConfigureSpace.ps1 +++ b/Source/Runbooks/ConfigureSpace.ps1 @@ -92,7 +92,7 @@ function AddSiteCollectionAdmins { } function SetExternalSharing { - If ($externalSharing -eq "True") { + If ($externalSharing) { Write-Output "External sharing is required - configuring sharing settings"