Skip to content

Commit 50fc658

Browse files
committed
2371777
1 parent b90020a commit 50fc658

File tree

3 files changed

+69
-1
lines changed

3 files changed

+69
-1
lines changed
Loading

powerapps-docs/maker/portals/admin/portal-checker-analysis.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,87 @@ author: neerajnandwana-msft
55
ms.service: powerapps
66
ms.topic: conceptual
77
ms.custom:
8-
ms.date: 06/18/2021
8+
ms.date: 07/21/2021
99
ms.subservice: portals
1010
ms.author: nenandw
1111
ms.reviewer: tapanm
1212
contributors:
1313
- neerajnandwana-msft
1414
- tapanm-msft
15+
- dileepsinghmicrosoft
1516
---
1617

1718
# Analyze and resolve Portal Checker diagnostics results
1819

1920
In this article, you'll learn about Portal Checker diagnostics results, and how to resolve any issues or problems found.
2021

22+
## Anonymous access to Basic/Advanced forms and Lists
23+
24+
Basic Forms, Advanced Forms and Lists in portals can be excluded from enforcing table permissions by not selecting **Enable Table Permission** checkbox while creating or modifying these controls as explained in [Secure your Lists](../configure/entity-lists.md#securing-lists) and [Secure your forms](../configure/entity-forms.md#secure-your-forms) articles.
25+
26+
While this method is useful for quickly testing your configurations during development of portal, not securing Lists and Forms on portal can have unintended consequences including unauthorized access to data. That's why we don't advise this method to be used outside a secure dev or test environment.
27+
28+
To fix this issue for List/Basic forms:
29+
30+
1. Open the [Portal Management app](../configure/configure-portal.md).
31+
32+
1. On the left-pane, select **List** or **Basic forms** as appropriate.
33+
34+
1. Find the record mentioned in the Portal checker rule.
35+
36+
1. Update the property for [List](../configure/entity-lists#securing-lists.md) or [Basic forms](../configure/entity-forms#secure-your-forms.md)
37+
38+
To fix this issue for Advanced forms:
39+
40+
> [!IMPORTANT]
41+
> Portal checker rule doesn't mention these steps in the Portal checker output.
42+
43+
1. Open the [Portal Management app](../configure/configure-portal.md).
44+
45+
1. On the left-pane, select **Advanced form**.
46+
47+
1. Open each advanced form and go to **Advanced Form Steps**.
48+
49+
1. Go through each step, and update the **Enable Table Permission** property to be enabled.
50+
51+
Once these changes are made, appropriate table permissions would need to be created and assigned to appropriate web roles to ensure that all the users can access these components.
52+
53+
> [!NOTE]
54+
> This method of disabling **Table Permissions** would be deprecated soon. Therefore, it shouldn't be used. Use proper table permissions, and web role setup to provide access to users for any data instead.
55+
56+
## Anonymous access available to OData feed
57+
58+
List component in portal can be enabled for OData feed by enabling [OData feed configuration](/configure/entity-lists.md#list-odata-feeds) on lists.
59+
60+
To find anonymous OData feeds enabled on your portal:
61+
62+
1. Go to '{Portal Url}/_odata' (for example, `https://contoso.powerappsportals.com/_odata`) in InPrivate mode without authenticating to the portal.
63+
64+
1. In the UI, you'll see a list of all OData feeds enabled on your portal.
65+
66+
![Enabled OData feeds](media/portal-checker-analysis/enabled-odata-feeds.png "Enabled OData feeds")
67+
68+
> [!NOTE]
69+
> List of all OData feeds enabled doesn't mean all of them are available anonymously.
70+
71+
1. Go to each of OData feed by browsing to the URL format {Portal URL}/_odata/{collection href value} where collection href value is highlighted below.
72+
73+
![Browse to OData feed](media/portal-checker-analysis/browse-to-enabled-odata-feeds.png "Browse to OData feed")
74+
75+
1. If the OData field is available anonymously, it will return the data with HTTP 200 response. If the feed isn't enabled anonymously, it will return HTTP 403 response with a message “Access to oData, with the entity set name of '{entity set name}', has been denied.”
76+
77+
If you've unintended OData feed enabled on your portal anonymous, it could be because of one of these possibilities:
78+
79+
1. By not securing list on which OData feed is enabled as described in [Secure your Lists](../configure/entity-lists.md#securing-lists) article.
80+
81+
- To fix this problem, secure the list as described in the [Secure your Lists](../configure/entity-lists.md#securing-lists) article, and use appropriate table permissions and web roles to provide access to users.
82+
83+
- You can also find the lists that aren't secured through Portal Checker as described in the above mentioned article.
84+
85+
1. By securing lists, creating appropriate table permissions to the tables used in lists, and assigning those table permissions to anonymous web role.
86+
87+
To fix this problem, ensure that the table permissions assigned to **Anonymous** web role are updated to ensure that only intended data is made available anonymously.
88+
2189
## Portal doesn't load and displays a generic error page (Server Error in "/" application)
2290

2391
This issue can be caused by several different reasons, such as when a portal isn't able to connect to the underlying Dataverse environment, the Dataverse environment doesn't exist or its URL has changed, or when a request to the Dataverse environment has timed out. When you run the Portal Checker tool, it will try to determine the exact reason and point you to the correct mitigation.

0 commit comments

Comments
 (0)