Skip to content

Commit 6d60ce7

Browse files
committed
Reviewed and updated this page for "Create the Azure Function"
Fixes SharePoint#5960
1 parent eba3542 commit 6d60ce7

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed
Loading
Loading
Loading

docs/declarative-customization/site-design-pnp-provisioning.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Calling the PnP provisioning engine from a site script
33
description: Build a complete SharePoint site design using the PnP provisioning engine
4-
ms.date: 06/05/2020
4+
ms.date: 07/04/2020
55
localization_priority: Priority
66
---
77

@@ -172,31 +172,30 @@ Copy the following provisioning template XML to a new file and save the file as
172172
1. Go to the [Azure Portal](https://portal.azure.com).
173173
1. Choose **+ Create a resource**.
174174
1. Search for **Function App** and create a new function app. In the **Storage** field, select **Use existing**, and select the storage account that you created earlier. Set the other values as required.
175-
1. Navigate within the Function App just created to **Configuration** > **Function runtime settings** and change the runtime version from **~3** to **~1**.
176-
175+
1. Within the Function App select **Configuration** > **Function runtime settings** and change the runtime version from **~3** to **~1**.
176+
177177
![Screenshot of the Azure portal with the Function runtime settings screen highlighted](images/pnpprovisioning-runtime-settings.png)
178178

179179
> [!NOTE]
180-
> Function apps based on the runtime version ~3 or ~2 support only PowerShell Core as programming language for the functions.
181-
> At this moment, PnP PowerShell cmdlets can be only executed under PowerShell (and not on PowerShell Core).
180+
> Function Apps based on the runtime version ~3 or ~2 only support PowerShell Core as programming language. At this moment, PnP PowerShell cmdlets can be only executed under PowerShell (and not on PowerShell Core).
182181
>
183182
> First, to make available Powershell at the level of the Function App, the runtime version has to be set to **~1**.
184183
>
185-
> Secondly, PowerShell can be only activated from the **classic experience** of the Azure Portal, by switching on the **Experimental Language Support**, at the level of the function app.
184+
> Secondly, PowerShell can be only activated from the **classic experience** of the Azure Portal, by enabling the **Experimental Language Support**, at the level of the Function App.
186185
>
187186
> Read more about [Azure Functions runtime versions.](https://www.microsoft.com/download/details.aspx?id=35588)
188187
189-
1. Switch temporarly the Function App user interface to the **classic experience** (previous Azure Portal experience). Choose **Overview** from the left navigation and next **Switch to Classic experience** from the command bar.
188+
1. Temporarly switch the Azure Function App's user interface to the **classic experience** from the current experience. Select **Overview** in the left-hand navigation and select **Switch to Classic experience** as shown in the following figure.
190189

191190
![Screenshot of the Azure portal with the Function runtime settings screen highlighted](images/pnpprovisioning-switch-classic-experience.png)
192191

193-
1. Create a new function: **Functions** > **New function**:
192+
1. Create a new Azure Function **Functions** > **New function**:
194193

195194
![Screenshot of the Azure portal with the New function option highlighted](images/pnpprovisioning-create-function.png)
196195

197-
1. Turn on **Experimental Language Support**:
196+
1. Enable **Experimental Language Support**:
198197

199-
![Screenshot of the Azure portal with the Experimental Language Support switch highlighted](images/pnpprovisioning-experimental-features.PNG)
198+
![Screenshot of the Azure portal with the Experimental Language Support switch highlighted](images/pnpprovisioning-experimental-features.png)
200199

201200
1. Create a new Queue Triggered function based upon PowerShell:
202201

0 commit comments

Comments
 (0)