Skip to content

Commit 527cb06

Browse files
authored
Merge pull request #207335 from ggailey777/benperk
[Functions] Add private endpoint CORS info
2 parents d837218 + 81f337b commit 527cb06

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/azure-functions/functions-create-function-app-portal.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ Next, create a function in the new function app.
4848
1. Under **Template details** use `HttpExample` for **New Function**, select **Anonymous** from the **[Authorization level](functions-bindings-http-webhook-trigger.md#authorization-keys)** drop-down list, and then select **Create**.
4949

5050
Azure creates the HTTP trigger function. Now, you can run the new function by sending an HTTP request.
51+
52+
>[!NOTE]
53+
> When your function app has [private endpoints](functions-create-vnet.md) enabled, you must add the following [CORS origins](security-concepts.md?#restrict-cors-access).
54+
>
55+
>- `https://functions-next.azure.com`
56+
>- `https://functions-staging.azure.com`
57+
>- `https://functions.azure.com`
58+
>- `https://portal.azure.com`
59+
5160

5261
## Test the function
5362

0 commit comments

Comments
 (0)