Skip to content

Commit e41adc5

Browse files
authored
Live publish
2 parents 3ce7f84 + e414018 commit e41adc5

File tree

4 files changed

+242
-9
lines changed

4 files changed

+242
-9
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1938,7 +1938,7 @@
19381938
- name: Get a session or app ID
19391939
href: ./canvas-apps/get-sessionid.md
19401940
- name: Troubleshoot startup issues for Power Apps
1941-
href: troubleshooting-startup-issues.md
1941+
href: ../troubleshooting-startup-issues.md
19421942
- name: Troubleshoot issues for the Power Apps mobile app
19431943
href: ../user/powerapps_mobile_troubleshoot.md
19441944
- name: Troubleshoot Power Query

powerapps-docs/maker/canvas-apps/working-with-formulas-in-depth.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ search.app:
1818

1919
Most formulas calculate a value. Like an Excel spreadsheet, recalculation happens automatically as values change. For example, you might want to show the value in a **[Label](controls/control-text-box.md)** control in red if the value is less than zero or in black otherwise. So you can set the **[Color](controls/properties-color-border.md)** property of that control to this formula:
2020

21-
**If( Value(TextBox1.Text) >= 0, Color.Black, Color.Red )**
21+
```powerapps-dot
22+
If( Value(TextBox1.Text) >= 0, Color.Black, Color.Red )
23+
```
2224

2325
In this context, what does it mean when the user selects a **[Button](controls/control-button.md)** control? No value has changed, so there is nothing new to calculate. Excel has no equivalent to a **[Button](controls/control-button.md)** control.
2426

@@ -35,7 +37,9 @@ Because these functions change the state of the app, they can't be automatically
3537
### More than one action
3638
Use semicolons to create a list of actions to perform. For example, you might want to update a context variable and then return to the previous screen:
3739

38-
* **UpdateContext( { x: 1 } ); Back()**
40+
```powerapps-dot
41+
UpdateContext( { x: 1 } ); Back()
42+
```
3943

4044
Actions are performed in the order in which they appear in the formula. The next function won't start until the current function has completed. If an error occurs, subsequent functions might not start.
4145

powerapps-docs/maker/troubleshooting-startup-issues.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
title: Troubleshooting startup issues for Power Apps | Microsoft Docs
33
description: This troubleshooting guide helps fix common configuration problems that prevent Power Apps from starting.
4-
author: matthewbolanos
5-
manager: kvivek
4+
author: navjotm
65
ms.service: powerapps
76
ms.topic: conceptual
87
ms.custom: canvas
9-
ms.reviewer:
10-
ms.date: 08/31/2020
11-
ms.author: mabolan
8+
ms.reviewer: tapanm
9+
ms.date: 10/01/2020
10+
ms.author: namarwah
1211
search.audienceType:
1312
- maker
1413
search.app:
1514
- PowerApps
1615
---
16+
1717
# Troubleshooting startup issues for Power Apps
1818

1919
This troubleshooting article helps fix common configuration problems that prevent Power Apps from starting.
@@ -38,7 +38,7 @@ This troubleshooting article helps fix common configuration problems that preven
3838
3939
- When you receive a “Hmmm … We couldn’t sign you in” error message and identifier that resembles the following image:
4040
41-
![Hmmm … We couldn’t sign you in. The information below may be helpful](./media/troubleshooting-startup-issues/error.png "Hmmm … We couldn’t sign you in. The information below may be helpful")
41+
![Hmmm … We couldn’t sign you in. The information below may be helpful](media/troubleshooting-startup-issues/error.png "Hmmm … We couldn’t sign you in. The information below may be helpful")
4242
4343
**Resolution**: Check [Resolutions for common errors](#resolutions-for-common-errors) for different error variations and resolutions.
4444
@@ -136,6 +136,8 @@ Power Apps stores some data locally in your browser, including user identity and
136136
- `https://make.*.powerapps.com` (the asterisk is part of the address, don't replace it)
137137
- `https://make.powerapps.com`
138138
- `https://login.microsoftonline.com`
139+
- `https://apps.*.powerapps.com`
140+
- `https://apps.powerapps.com`
139141
140142
- **Option 2: Create exceptions to allow local data for Power Apps and associated services**
141143
@@ -148,6 +150,8 @@ Power Apps stores some data locally in your browser, including user identity and
148150
- `https://make.*.powerapps.com` (the asterisk is part of the address, don't replace it)
149151
- `https://make.powerapps.com`
150152
- `https://login.microsoftonline.com`
153+
- `https://apps.*.powerapps.com`
154+
- `https://apps.powerapps.com`
151155
152156
## Resolution 2: Configure Trust Zones for Internet Explorer and Microsoft Edge Legacy
153157
@@ -166,6 +170,8 @@ Internet Explorer and Microsoft Edge Legacy use *Trust Zones*. Problems can occu
166170
- `https://make.powerapps.com`
167171
- `https://make.*.powerapps.com` (the asterisk is part of the address, don't replace it)
168172
- `https://*.powerapps.com` (the asterisk is part of the address, don't replace it)
173+
- `https://apps.*.powerapps.com` (the asterisk is part of the address, don't replace it)
174+
- `https://apps.powerapps.com`
169175
7. Select **Close**.
170176
8. Select **OK**.
171177
9. Close all Internet Explorer and Microsoft Edge Legacy windows.
@@ -183,6 +189,8 @@ Internet Explorer and Microsoft Edge Legacy use *Trust Zones*. Problems can occu
183189
- `https://make.powerapps.com`
184190
- `https://make.*.powerapps.com` (the asterisk is part of the address, don't replace it)
185191
- `https://*.powerapps.com` (the asterisk is part of the address, don't replace it)
192+
- `https://apps.*.powerapps.com` (the asterisk is part of the address, don't replace it)
193+
- `https://apps.powerapps.com`
186194
- Any other address that ends in **powerapps.com** or **create.powerapps.com**.
187195
7. Select **Close**.
188196
Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
---
2+
title: Troubleshooting startup issues for Power Apps | Microsoft Docs
3+
description: This troubleshooting guide helps fix common configuration problems that prevent Power Apps from starting.
4+
author: navjotm
5+
ms.service: powerapps
6+
ms.topic: conceptual
7+
ms.custom: canvas
8+
ms.reviewer: tapanm
9+
ms.date: 10/01/2020
10+
ms.author: namarwah
11+
search.audienceType:
12+
- maker
13+
search.app:
14+
- PowerApps
15+
---
16+
17+
# Troubleshooting startup issues for Power Apps
18+
19+
This troubleshooting article helps fix common configuration problems that prevent Power Apps from starting.
20+
21+
## Common errors
22+
23+
- When you sign in to Power Apps - especially using the *InPrivate* or *incognito* experience, you receive the following error:
24+
25+
```
26+
Sign in required
27+
Please select sign in to continue.
28+
Session ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
29+
30+
AADSTS50058: A silent sign-in request was sent but no user is signed in. The cookies used to represent the user's session were not sent in the request to Azure AD. This can happen if the user is using Internet Explorer or Edge, and the web app sending the silent sign-in request is in different IE security zone than the Azure AD endpoint (login.microsoftonline.com).
31+
Trace ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
32+
Correlation ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
33+
Timestamp: xxxx-xx-xx xx:xx:xxZ
34+
35+
```
36+
37+
**Resolution**: [Don't block third-party cookies](#resolution-4-allow-third-party-cookies).
38+
39+
- When you receive a “Hmmm … We couldn’t sign you in” error message and identifier that resembles the following image:
40+
41+
![Hmmm … We couldn’t sign you in. The information below may be helpful](maker/media/troubleshooting-startup-issues/error.png "Hmmm … We couldn’t sign you in. The information below may be helpful")
42+
43+
**Resolution**: Check [Resolutions for common errors](#resolutions-for-common-errors) for different error variations and resolutions.
44+
45+
- When you try to create an app from a SharePoint list, you receive the following "abnormal termination" error message
46+
```
47+
WebAuthoring abnormal termination.
48+
49+
Client date/time: <Client Time>Thh:mm:ss.sssZ
50+
Version: 2.0.602
51+
Session ID: xxxx-xxxxx-xxxxxxx--xxxxxxxx
52+
description: {"error":{"detail":{"exception":{}},"colno":0,"filename":"https://paaeuscdn.azureedge.net/v2.0.602.0/studio/openSource/modified/winjs/js/base.js?v=39de0f2edf1...",
53+
"lineno":0,"message":"Script error","initErrorEvent":"[function]","bubbles":false,"cancelBubble":false,"cancelable":false,"currentTarget":"[window]","defaultPrevented":true,
54+
"eventPhase":2,"isTrusted":true,"srcElement":"[window]","target":"[window]","timeStamp":1490711965955,"type":"error","initEvent":"[function]","preventDefault":"[function]",
55+
"stopImmediatePropagation":"[function]","stopPropagation":"[function]","AT_TARGET":2,"BUBBLING_PHASE":3,"CAPTURING_PHASE":1},"errorLine":0,"errorCharacter":0,
56+
"errorUrl":"https://paaeuscdn.azureedge.net/v2.0.602.0/studio/openSource/modified/winjs/js/base.js?v=39de0f2edf1... error","setPromise":"[function]","exception":{}}
57+
stack: null
58+
errorNumber: 0
59+
errorMessage: Script error
60+
```
61+
62+
To resolve the issues listed above, read [Resolutions for common errors](#resolutions-for-common-errors), and try one of the listed resolutions.
63+
64+
## Resolutions for common errors
65+
66+
| Error | Microsoft Edge | Microsoft Edge Legacy | Microsoft Internet Explorer 11 | Google Chrome |
67+
| - | - | - | - | - |
68+
| Sign in required | [Allow third-party cookies](#resolution-4-allow-third-party-cookies) | [Allow third-party cookies](#resolution-4-allow-third-party-cookies) | [Allow third-party cookies](#resolution-4-allow-third-party-cookies) | [Allow third-party cookies](#resolution-4-allow-third-party-cookies) |
69+
| UserInterventionNeeded_CookiesBlocked <br> UserInterventionNeeded_StorageBlocked | [Enable storage for local data](#instructions-for-microsoft-edge) | [Enable storage for local data](#instructions-for-microsoft-edge-legacy) | [Enable storage for local data](#instructions-for-internet-explorer-11) | [Enable storage for local data](#instructions-for-google-chrome) |
70+
| UserInterventionNeeded_NavigateToAadTimeout | Possible network problem | [Configure Trust Zones](#resolution-2-configure-trust-zones-for-internet-explorer-and-microsoft-edge-legacy) | Possible network problem | Possible network problem |
71+
| UserInterventionNeeded_NavigateToAadDenied <br> UserInterventionNeeded_StorageLost | Not applicable | [Configure Trust Zones](#resolution-2-configure-trust-zones-for-internet-explorer-and-microsoft-edge-legacy) | [Configure Trust Zones](#resolution-2-configure-trust-zones-for-internet-explorer-and-microsoft-edge-legacy) | Not applicable |
72+
| AadError | [Azure Active Directory Errors](#resolution-3-azure-active-directory-errors) | [Azure Active Directory Errors](#resolution-3-azure-active-directory-errors) | [Azure Active Directory Errors](#resolution-3-azure-active-directory-errors) | [Azure Active Directory Errors](#resolution-3-azure-active-directory-errors) |
73+
74+
## Resolution 1: Enable storage of local data in your browser
75+
76+
Power Apps stores some data locally in your browser, including user identity and preferences. Power Apps can’t function if the browser is configured to disallow storage of local data.
77+
78+
### Instructions for Internet Explorer 11
79+
80+
- **Option 1: Enable local data for all sites**
81+
82+
1. Close all Internet Explorer and Microsoft Edge windows.
83+
2. Select **OK** to close the **Internet Options** dialog box.
84+
3. Select **OK**.
85+
4. Remove any entries for **powerapps.com**.
86+
5. In the **Settings** section, select **Sites**.
87+
6. Select **OK**.
88+
7. Select **Accept** for third-party cookies.
89+
8. Select **Accept** for first-party cookies.
90+
9. In the **Settings** section, select **Advanced**.
91+
10. Select the **Privacy** tab.
92+
11. Select **Internet Options**.
93+
12. On the browser toolbar, select the gear icon.
94+
13. Open Internet Explorer.
95+
96+
- **Option 2: Create exceptions to enable local data for Power Apps and associated services**
97+
1. Open Internet Explorer.
98+
2. On the browser toolbar, select the gear icon.
99+
3. Select **Internet Options**.
100+
4. Select the **Privacy** tab.
101+
5. In the **Settings** section, select **Sites**.
102+
6. Add an entry to “Allow” **powerapps.com**.
103+
7. Select **OK**.
104+
8. Select **OK** to close the Internet Options dialog box.
105+
9. Close all Internet Explorer and Microsoft Edge windows.
106+
107+
### Instructions for Microsoft Edge
108+
109+
1. Open Microsoft Edge.
110+
2. On the Microsoft Edge toolbar, select **Settings and more**.
111+
1. Select **Site permissions** from the left pane.
112+
1. Select **Cookies and site data**.
113+
1. Turn On **Allow sites to save and read cookie data (recommended)**.
114+
1. Close all Internet Explorer and Microsoft Edge windows.
115+
116+
### Instructions for Microsoft Edge Legacy
117+
118+
1. Open Microsoft Edge.
119+
2. On the Microsoft Edge toolbar, select **More** > **Settings**.
120+
3. Near the bottom of the panel, select **View advanced settings**.
121+
4. Near the bottom of the panel, find the **Cookies** drop-down options list.
122+
5. Select **Don’t block cookies**.
123+
6. Close all Internet Explorer and Microsoft Edge windows.
124+
125+
### Instructions for Google Chrome
126+
127+
- **Option 1: Enable local data for all sites**
128+
129+
1. Select **Settings**.
130+
1. Select **Privacy and security**.
131+
1. Expand **Cookies and other site data**.
132+
1. Make sure that **Block third-party cookies** isn't selected.
133+
1. Ensure these sites aren't added in site-specific cookie configuration that doesn't allow cookies, or deletes cookies when windows are closed:
134+
- `https://create.powerapps.com`
135+
- `https://*.create.powerapps.com` (the asterisk is part of the address, don't replace it)
136+
- `https://make.*.powerapps.com` (the asterisk is part of the address, don't replace it)
137+
- `https://make.powerapps.com`
138+
- `https://login.microsoftonline.com`
139+
- `https://apps.*.powerapps.com`
140+
- `https://apps.powerapps.com`
141+
142+
- **Option 2: Create exceptions to allow local data for Power Apps and associated services**
143+
144+
1. Select **Settings**.
145+
1. Select **Privacy and security**.
146+
1. Expand **Cookies and other site data**.
147+
1. Use **Add** for **Sites that can always use cookies** and add:
148+
- `https://create.powerapps.com`
149+
- `https://*.create.powerapps.com` (the asterisk is part of the address, don't replace it)
150+
- `https://make.*.powerapps.com` (the asterisk is part of the address, don't replace it)
151+
- `https://make.powerapps.com`
152+
- `https://login.microsoftonline.com`
153+
- `https://apps.*.powerapps.com`
154+
- `https://apps.powerapps.com`
155+
156+
## Resolution 2: Configure Trust Zones for Internet Explorer and Microsoft Edge Legacy
157+
158+
Internet Explorer and Microsoft Edge Legacy use *Trust Zones*. Problems can occur if services on which Power Apps relies are in different Trust Zones in your browser settings. While these settings apply to both Internet Explorer and Microsoft Edge Legacy, the easiest way to access them is from Internet Explorer. (You might need assistance from your IT administrator to change some of these settings.)
159+
160+
- **Option 1: Add the required Power Apps domains to the Trusted Sites zone**
161+
1. On the browser toolbar, select the gear icon.
162+
2. Select **Internet Options**.
163+
3. Select the **Security** tab.
164+
4. Select **Trusted sites**.
165+
5. Select **Sites**.
166+
6. Add the following sites by typing the address and selecting **Add** for each:
167+
- `https://login.microsoftonline.com`
168+
- `https://create.powerapps.com`
169+
- `https://*.create.powerapps.com` (the asterisk is part of the address, don't replace it)
170+
- `https://make.powerapps.com`
171+
- `https://make.*.powerapps.com` (the asterisk is part of the address, don't replace it)
172+
- `https://*.powerapps.com` (the asterisk is part of the address, don't replace it)
173+
- `https://apps.*.powerapps.com` (the asterisk is part of the address, don't replace it)
174+
- `https://apps.powerapps.com`
175+
7. Select **Close**.
176+
8. Select **OK**.
177+
9. Close all Internet Explorer and Microsoft Edge Legacy windows.
178+
179+
- **Option 2: Remove all the Power Apps domains from the Trusted Sites zone**
180+
1. On the browser toolbar, select the gear icon.
181+
2. Select **Internet Options**.
182+
3. Select the **Security** tab.
183+
4. Select **Trusted sites**.
184+
5. Select **Sites**.
185+
6. Remove all existing entries for the following sites:
186+
- `https://login.microsoftonline.com`
187+
- `https://create.powerapps.com`
188+
- `https://*.create.powerapps.com` (the asterisk is part of the address, don't replace it)
189+
- `https://make.powerapps.com`
190+
- `https://make.*.powerapps.com` (the asterisk is part of the address, don't replace it)
191+
- `https://*.powerapps.com` (the asterisk is part of the address, don't replace it)
192+
- `https://apps.*.powerapps.com` (the asterisk is part of the address, don't replace it)
193+
- `https://apps.powerapps.com`
194+
- Any other address that ends in **powerapps.com** or **create.powerapps.com**.
195+
7. Select **Close**.
196+
197+
## Resolution 3: Azure Active Directory Errors
198+
199+
Azure Active Directory (Azure AD) is the technology on which the Power Apps relies for user authentication and authorization.
200+
201+
The error page that you see might contain additional information that can help diagnose and fix the problem.
202+
203+
To resolve Azure AD errors, you might need assistance from your IT department.
204+
205+
## Resolution 4: Allow third-party cookies
206+
207+
To disable the **Block third-party cookies** setting in your browser:
208+
209+
| Browser | Steps |
210+
| - | - |
211+
| Microsoft Edge | **Settings and more** > **Settings** > **Site permissions** > **Cookies and site data** > Turn off **Block third-party cookies**. |
212+
| Microsoft Edge Legacy | **More** > **Settings** > **View advanced settings** > **Cookies** > Turn off **Block third-party cookies**. |
213+
| Google Chrome | **Settings** > **Privacy and security** > **Cookies and other site data** > Select an option to allow third-party cookies. For example, **Allow all cookies** for always, or **Block third-party cookies in incognito** for only blocking in *incognito*. <br> **Note**: You can also start *incognito* session and turn off **Block third-party cookies** in the browser window before you enter a URL in the address bar.
214+
| Internet Explorer 11 | **Tools** > **Internet Options** > **Advanced** > Select **Allow** under **Third-party Cookies**.
215+
216+
Most browsers allow settings to reflect the changes immediately. You may also close all the browser windows and reopen instead.
217+
218+
### See also
219+
220+
- [Common issues and resolutions](maker/canvas-apps/common-issues-and-resolutions.md)
221+
- [Power Apps Support](https://powerapps.microsoft.com/support/)

0 commit comments

Comments
 (0)