Skip to main content

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
},

1

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.

2

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.

3

Replace with the ID of the Azure tenant. For more information, refer to the Microsoft Azure documentation.

4

Replace with the name of the certificate of the corresponding app registration in Microsoft Entra ID. For more information, refer to Generate a Certificate.

5

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.

6

If you want to secure the communication between the Azure functions and PoolParty with OAuth, replace with the client secret for the PoolParty Thesaurus Server (ppt).

Note

If you run PoolParty on-premise, refer to the administrator of your PoolParty instance to provide you with the client secret of the client ppt. If you run PoolParty in cloud, please contact support.

7

If you want to secure the communication between the Azure functions and PoolParty with OAuth, replace with the URL to get an access token from. For more information, refer to the PoolParty documentation.

8

Replace with the URL of the site where you have installed PoolParty for SharePoint Administration.

9

Replace with the username of the PoolParty user you want to use for the interaction between PoolParty and PoolParty for SharePoint.

10

Replace with the password of a PoolParty user you want to use for the interaction between PoolParty and PoolParty for SharePoint.

11

Replace with the URL of the PoolParty server.

12

Replace with the SharePoint URL.