Skip to content

Commit 4a1cd7e

Browse files
authored
create new content for Power Platform administration
1 parent db73c0c commit 4a1cd7e

File tree

3 files changed

+145
-0
lines changed

3 files changed

+145
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- name: Power Platform Administration Troubleshooting
2+
href: welcome-power-platform-administration.yml
3+
- name: Environment Administration
4+
items:
5+
- name: Troubleshoot Virtual Network issues in Power Platform
6+
href: troubleshoot-virtual-network-power-platform.md
7+
- name: Support resources
8+
items:
9+
- name: Power Platform support
10+
href: https://learn.microsoft.com/power-platform/admin/support-overview
11+
- name: Power Platform Community forum
12+
href: https://community.powerplatform.com/forums/thread/
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
---
2+
title: Virtual Network troubleshooting
3+
description: Learn how to troubleshoot common scenarios for Virtual Network in Microsoft Power Platform.
4+
author: faix
5+
ms.component: pa-admin
6+
ms.topic: concept-article
7+
ms.date: 09/15/2025
8+
ms.subservice: admin
9+
ms.author: osfaixat
10+
ms.reviewer: sericks
11+
search.audienceType:
12+
- admin
13+
contributors:
14+
---
15+
# Virtual Network troubleshooting
16+
17+
This article provides guidance on troubleshooting common scenarios for Virtual Network in Power Platform. You can make use of a PowerShell module that can help you identify and resolve issues related to Virtual Network configurations.
18+
19+
## Diagnostics PowerShell Module
20+
21+
The Diagnostics PowerShell Module is a tool designed to help you diagnose and troubleshoot issues related to Virtual Network configurations in Power Platform. The module can be used to check the connectivity between your Power Platform environment and your Virtual Network, and to identify any misconfigurations that may be causing issues. It's available from the Powershell Gallery and from our GitHub repository: [PowerPlatform-EnterprisePolicies](https://github.com/microsoft/PowerPlatform-EnterprisePolicies)
22+
23+
### Installing the module
24+
25+
To install the Diagnostics PowerShell Module, you can use the following command in PowerShell:
26+
27+
```powershell
28+
Install-Module -Name Microsoft.PowerPlatform.EnterprisePolicies
29+
```
30+
31+
### Running the functions included in the module
32+
33+
Once the module is installed, you can import it into your PowerShell session using the following command:
34+
35+
```powershell
36+
Import-Module Microsoft.PowerPlatform.EnterprisePolicies
37+
```
38+
39+
The module includes several functions that can be used to diagnose and troubleshoot issues related to Virtual Network configurations. Some of the key functions include:
40+
41+
- [Get-EnvironmentRegion](https://github.com/microsoft/PowerPlatform-EnterprisePolicies/blob/main/docs/en-US/Microsoft.PowerPlatform.EnterprisePolicies/Get-EnvironmentRegion.md): Retrieves the region of the specified Power Platform environment.
42+
- [Get-EnvironmentUsage](https://github.com/microsoft/PowerPlatform-EnterprisePolicies/blob/main/docs/en-US/Microsoft.PowerPlatform.EnterprisePolicies/Get-EnvironmentUsage.md): Provides information about the usage of the specified Power Platform environment.
43+
- [Test-DnsResolution](https://github.com/microsoft/PowerPlatform-EnterprisePolicies/blob/main/docs/en-US/Microsoft.PowerPlatform.EnterprisePolicies/Test-DnsResolution.md): Tests the DNS resolution for the specified domain name.
44+
- [Test-NetworkConnectivity](https://github.com/microsoft/PowerPlatform-EnterprisePolicies/blob/main/docs/en-US/Microsoft.PowerPlatform.EnterprisePolicies/Test-NetworkConnectivity.md): Tests the network connectivity between the Power Platform environment and the specified Virtual Network.
45+
46+
### Issues with the diagnostic module
47+
48+
If you encounter issues while running the diagnostic module, report them through the Github repository where the module is hosted. The repository is available at: [PowerPlatform-EnterprisePolicies](https://github.com/microsoft/PowerPlatform-EnterprisePolicies).
49+
50+
To report an issue, go to the Issues section of the repository and create a [new issue](https://github.com/microsoft/PowerPlatform-EnterprisePolicies/issues/new). Provide detailed information about the problem you're facing, including any error messages or logs that may help in diagnosing the issue. The more information you provide, the easier it is for us to assist you. Don't include any sensitive information in your report.
51+
52+
## How to troubleshoot common scenarios
53+
54+
### Scenario: Misconfiguration of regions
55+
56+
If you have verified that everything is correctly configured but you are still experiencing issues, you can use the `Get-EnvironmentRegion` function from the Diagnostics PowerShell Module to check if the region of your Power Platform environment is the same as the regions where you have been configuring your Virtual Network. You can run the following command:
57+
58+
```powershell
59+
Get-EnvironmentRegion -EnvironmentId "00000000-0000-0000-0000-000000000000"
60+
```
61+
62+
Your environment belongs to a specific PowerPlatform region. However, a PowerPlatform region can span multiple Azure regions. You need to ensure that your Virtual Network is configured in both of the Azure regions that correspond to your PowerPlatform region. Your environment can be located in either of the two Azure regions, and it can also automatically failover between them. Therefore, to ensure high availability and connectivity, you should configure your Virtual Network in both Azure regions associated with your PowerPlatform region. You can find the mapping of the PowerPlatform regions to Azure regions that are support for the Virtual Network functionality at [Power Platform regions](./vnet-support-overview.md#supported-regions).
63+
64+
### Scenario: Hostname not found
65+
66+
If you're experiencing issues with hostname resolution, you can use the `Test-DnsResolution` function from the Diagnostics PowerShell Module to check if the hostname is being resolved correctly. You can run the following command:
67+
68+
```powershell
69+
Test-DnsResolution -EnvironmentId "00000000-0000-0000-0000-000000000000" -HostName "microsoft.com"
70+
```
71+
72+
This command tests the DNS resolution for the specified hostname in the context of your Power Platform environment. The request will initiate from the subnet that you have delegated and will attempt to resolve the hostname using the DNS server that is configured for your Virtual Network. If the hostname isn't being resolved correctly, you may need to check your DNS settings and ensure that the hostname is correctly configured.
73+
74+
> [!IMPORTANT]
75+
> If you notice that your DNS setup is incorrect and need to update the DNS server settings for your Virtual Network, see [Can I update the DNS address of my Virtual Network after it's delegated to "Microsoft.PowerPlatform/enterprisePolicies"?](vnet-support-overview.md#can-i-update-the-dns-address-of-my-virtual-network-after-its-delegated-to-microsoftpowerplatformenterprisepolicies)
76+
77+
### Scenario: Unable to connect to the resource
78+
79+
If you're experiencing issues with connectivity to a resource, you can use the `Test-NetworkConnectivity` function from the Diagnostics PowerShell Module to check if there's connectivity. You can run the following command:
80+
81+
```powershell
82+
Test-NetworkConnectivity -EnvironmentId "00000000-0000-0000-0000-000000000000" -Destination "unknowndb.database.windows.net" -Port 1433
83+
```
84+
85+
This command attempts to establish a TCP connection to the specified destination and port in the context of your Power Platform environment. The request will initiate from the subnet that you have delegated and will attempt to connect to the specified destination using the network configuration that is set up for your Virtual Network. If the connection fails, you may need to check your network settings and ensure that the destination is reachable from your Virtual Network. If the connection is successful, it indicates that there's network connectivity between the Power Platform environment and the specified resource.
86+
87+
> [!NOTE]
88+
> This command only tests if a TCP connection can be established to the specified destination and port. It doesn't test if the resource is actually available or if there are any application-level issues that may be preventing access to the resource.
89+
> Furthermore, some firewalls may be allowing TCP connections to be established but blocking actual traffic to the resource (i.e. HTTPS). Therefore, even if the command indicates that there's network connectivity, it doesn't guarantee that the resource is fully accessible.
90+
91+
### Scenario: Connectivity is successful, but the application is still not working
92+
93+
If the connectivity tests are successful, but you're still experiencing issues with your application, you may need to check the application-level settings and configurations. Things that you can check include:
94+
95+
- Validate in your firewall that the delegated subnet is allowed to access the resource.
96+
- Validate that the certificate presented by the resource are publicly trusted.
97+
- Ensure that there are no authentication or authorization issues that may be preventing access to the resource.
98+
99+
If our existing tools aren't sufficient to diagnose the issue further. You may want to create a subnet without delegation in your Virtual Network and deploy a virtual machine in that subnet. You can then use the virtual machine to perform additional diagnostics and troubleshooting steps, such as checking network traffic, analyzing logs, and testing application-level connectivity.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
### YamlMime:Landing
2+
3+
title: Power Platform Administration troubleshooting # < 60 chars
4+
summary: Welcome to Power Platform Administration troubleshooting. These articles explain how to determine, diagnose, and fix issues that you might encounter when you use Power Platform Administration. In the navigation pane on the left, browse through the article list or use the search box to find issues and solutions.
5+
metadata:
6+
title: Power Platform Administration troubleshooting
7+
description: Landing page for Power Platform Administration troubleshooting articles. # Required; article description that is displayed in search results. < 160 chars.
8+
ms.service: power-platform-administration #Required; service per approved list. service slug assigned to your service by ACOM.
9+
ms.topic: landing-page # Required
10+
author: aartig13 #Required; your GitHub user alias, with correct capitalization.
11+
ms.author: aartigoyle #Required; microsoft alias of author; optional team alias.
12+
ms.date: 09/15/2025
13+
14+
# linkListType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | video | whats-new
15+
16+
landingContent:
17+
18+
# Card
19+
- title: Environment Administration
20+
linkLists:
21+
- linkListType: how-to-guide
22+
links:
23+
- text: Troubleshoot Virtual Network issues in Power Platform
24+
url: troubleshoot-virtual-network-power-platform.md
25+
26+
# Card
27+
- title: Support Resources
28+
linkLists:
29+
- linkListType: reference
30+
links:
31+
- text: Power Platform support
32+
url: https://learn.microsoft.com/power-platform/admin/support-overview
33+
- text: Power Platform Community forum
34+
url: https://community.powerplatform.com/forums/thread/

0 commit comments

Comments
 (0)