Skip to content

Commit 5b231cd

Browse files
Merge pull request #233502 from gasridha/patch-2
Update functions-networking-options.md
2 parents 97cc549 + 421a33b commit 5b231cd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/azure-functions/functions-networking-options.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,15 @@ The following APIs let you programmatically manage regional virtual network inte
283283
+ **Azure CLI**: Use the [`az functionapp vnet-integration`](/cli/azure/functionapp/vnet-integration) commands to add, list, or remove a regional virtual network integration.
284284
+ **ARM templates**: Regional virtual network integration can be enabled by using an Azure Resource Manager template. For a full example, see [this Functions quickstart template](https://azure.microsoft.com/resources/templates/function-premium-vnet-integration/).
285285

286+
## Testing
287+
288+
When testing functions in a function app with private endpoints, you must do your testing from within the same virtual network, such as on a virtual machine (VM) in that network. To use the **Code + Test** option in the portal from that VM, you need to add following [CORS origins](./functions-how-to-use-azure-function-app-settings.md?tabs=portal#cors) to your function app:
289+
290+
* https://functions-next.azure.com
291+
* https://functions-staging.azure.com
292+
* https://functions.azure.com
293+
* https://portal.azure.com
294+
286295
## Troubleshooting
287296

288297
[!INCLUDE [app-service-web-vnet-troubleshooting](../../includes/app-service-web-vnet-troubleshooting.md)]

0 commit comments

Comments
 (0)