Configure the Function App
After you have uploaded the Azure functions to the corresponding function apps, you need to edit the apps' settings by adding the JSON snippet below.
For more information on how to edit settings of a function app in bulk, refer to the Microsoft Azure documentation.
{ "name": "AZURE_CLIENT_ID", "value": "Azure client ID value",1 "slotSetting": false }, { "name": "AZURE_CLIENT_SECRET", "value": "Azure client secret value",2 "slotSetting": false }, { "name": "AZURE_TENANT_ID", "value": "Azure tenant ID value",3 "slotSetting": false }, { "name": "CertificatName", "value": "certificate name",4 "slotSetting": false }, { "name": "GraphApiEndpoint", "value": "https://graph.microsoft.com/beta", "slotSetting": false }, { "name": "GraphApiResource", "value": "https://graph.microsoft.com", "slotSetting": false }, { "name": "KeyVaultUrl", "value": "https://keyvault.vault.azure.net/",5 "slotSetting": false }, { "name": "oAuth", "value": "false", "slotSetting": false }, { "name": "PoolPartyClientId", "value": "ppt", "slotSetting": false }, { "name": "PoolPartyClientSecret", "value": "PoolParty client secret value",6 "slotSetting": false }, { "name": "PoolPartyGrantType", "value": "password", "slotSetting": false }, { "name": "PoolPartyAccessTokenUrl", "value": "https://keycloak_server/auth/realms/servername/protocol/openid-connect/token",7 "slotSetting": false }, { "name": "PoolPartyForSharePointAdminSiteUrl", "value": "https://domainname.sharepoint.com/sites/AdminSite",8 "slotSetting": false }, { "name": "PoolPartyLogin", "value": "username",9 "slotSetting": false }, { "name": "PoolPartyPassword", "value": "password",10 "slotSetting": false }, { "name": "PoolPartyUrl", "value": "https://servername",11 "slotSetting": false }, { "name": "replyUri", "value": "https://localhost:44316", "slotSetting": false }, { "name": "SharePointUrl", "value": "https://domainname.sharepoint.com",12 "slotSetting": false },
Replace with the Application (client) ID of the corresponding app registration in Microsoft Entra ID (formerly Azure Active Directory). For more information, refer to Create an App Registration. | |
Replace with the value of the client secret of the corresponding app registration in Microsoft Entra ID. For more information, refer to Add a Client Secret. | |
Replace with the ID of the Azure tenant. For more information, refer to the Microsoft Azure documentation. | |
Replace with the name of the certificate of the corresponding app registration in Microsoft Entra ID. For more information, refer to Generate a Certificate. | |
Replace with the URL of the key vault of the corresponding app registration in Microsoft Entra ID. For more information, refer to Create a Key Vault. | |
If you want to secure the communication between the Azure functions and PoolParty with OAuth (starting with PoolParty for SharePoint 2024 R1 the default authentication method for fresh installations), replace with the client secret for the PoolParty Thesaurus Server ( NoteIf you run PoolParty on-premise, refer to the administrator of your PoolParty instance to provide you with the client secret of the client | |
If you want to secure the communication between the Azure functions and PoolParty with OAuth (starting with PoolParty for SharePoint 2024 R1 the default authentication method for fresh installations), replace with the URL to the access token. For more information, refer to the PoolParty documentation. | |
Replace with the URL of the site where you have installed PoolParty for SharePoint Administration. | |
If you want to secure the communication between the Azure functions and PoolParty with Basic Authentication (up to PoolParty for SharePoint 2022 R3 the default authentication method for fresh installations), replace with the username of the PoolParty user you want to use for the interaction between PoolParty and PoolParty for SharePoint. | |
If you want to secure the communication between the Azure functions and PoolParty with Basic Authentication (up to PoolParty for SharePoint 2022 R3 the default authentication method for fresh installations), replace with the password of the PoolParty user you want to use for the interaction between PoolParty and PoolParty for SharePoint. | |
Replace with the URL of the PoolParty server. | |
Replace with the SharePoint URL. |