We want to install MatterCenter from https://github.com/microsoft/mattercenter as per this documentation @ https://view.officeapps.live.com/op/view.aspx?src=http%3A%2F%2Fmicrosoft.github.io%2Fmattercenter%2Ftree%2Fmaster%2Fcloud%2Fdocs%2FMatter%2520Center%2520Build%2520and%2520Deployment%2520Guide.docx&wdOrigin=BROWSELINK , but when i execute Deploy.ps1 it will return this error
"Message: The underlying connection was closed: An unexpected error occurred on a send."`
17/06/2022 19:51:02 - Step 1a: Create groups and adding users to it
Message: The underlying connection was closed: An unexpected error occurred on a send.
Stacktrace: at System.Net.HttpWebRequest.GetResponse()
at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate()
at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
at Microsoft.Legal.MatterCenter.Common.ConfigureSharePointContext.ConfigureClientContext(String url, String userId, String password)
at Microsoft.Legal.MatterCenter.CreateGroups.Program.AddGroups(Dictionary`2 listval, List`1 groupData)
Message: The underlying connection was closed: An unexpected error occurred on a send.
Stacktrace: at System.Net.HttpWebRequest.GetResponse()
at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate()
at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
at Microsoft.Legal.MatterCenter.Common.ConfigureSharePointContext.ConfigureClientContext(String url, String userId, String password)
at Microsoft.Legal.MatterCenter.CreateGroups.Program.DeleteGroups(Dictionary`2 listval, List`1 groupData)
17/06/2022 19:51:04 - Creating group and adding users to it failed
the logs will show this error:-
Message: The underlying connection was closed: An unexpected error occurred on a send.
Stacktrace: at System.Net.HttpWebRequest.GetResponse()
at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate()
at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
at Microsoft.Legal.MatterCenter.Common.ConfigureSharePointContext.ConfigureClientContext(String url, String userId, String password)
at Microsoft.Legal.MatterCenter.CreateGroups.Program.DeleteGroups(Dictionary`2 listval, List`1 groupData) occurred at 17/06/2022 21:48:24
any advice?
I also explicitly added TLS1.2 before calling the .exe as follow:-
Show-Message -Message "Step 1a: Create groups and adding users to it"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
& " $HelperPath\Microsoft.Legal.MatterCenter.CreateGroups.exe" "true" $Username $Password
but still i am getting the exact same error Message: The underlying connection was closed: An unexpected error occurred on a send... Any one has any idea how to fix this error? Thanks