A new worker had been added to keep the history up-to-date with the use of a SharePoint webhook. To make the webhook work the following entries need to be added in the App.Config of the adminworker:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<appSettings>
<add key="TenantName" value="<tenant-name>" />
<add key="ClientId" value="<client-id>" />
<add key="ClientSecret" value="<client-secret> " />
<add key="AuthenticationType" value="AzureADAppOnly" />
<add key="AzureADDomain" value="<azure-AD-domain-name>" />
<add key="AzureADApplicationId" value="<the-azure-ad-application-id>" />
<add key="AzureADApplicationKey" value="="<the-azure-ad-application-key>" />
<add key="KeyVaultName" value="MaventionMake" />
<add key="KeyVaultSecret" value="MakeAzureApp" />
<add key="StorageType" value="SharePoint" />
<add key="StorageSite" value="https://contoso.sharepoint.com/sites/<site-name>" />
<add key="ScmUrl" value="https://<web-app-name>.scm.azurewebsites.net" />
<add key="ScmUser" value="<scm-user>" />
<add key="ScmPassword" value="<scm-password>" />
<add key="WebHookEndPoint" value="<make-site-url>/api/WebHook" />
<!-- TableStorage Settings -->
<add key="AzureStorageConnectionString" value="<Azure-Storage-Connection-String>" />
<add key="AzureMakeHistoryTable" value="MakeHistory" />
<add key="AzureMakeHistoryContainer" value="makehistory" />
<add key="AzureChangeTokenTable" value="ChangeToken" />
<add key="AzureChangeTokenContainer" value="changetoken" />
<add key="AzureChangeTokenQueue" value="makehistory" />
</appSettings>
|
The appSettings in the web.config of the WebApi has been updated with the following values:
1
2
3
4
5
6
7
|
<add key="TenantName" value="<tenant-name>" />
<add key="WebHookEndPoint" value="<make-site-url>/api/WebHook" />
<!-- TableStorage Settings -->
<add key="AzureChangeTokenTable" value="ChangeToken" />
<add key="AzureChangeTokenContainer" value="changetoken" />
<add key="AzureChangeTokenQueue" value="makehistory" />
|