Skip to content

Commit a9d3332

Browse files
authored
Merge pull request #299 from MicrosoftDocs/master
3/27 PM Publish
2 parents 6a12352 + fca2544 commit a9d3332

19 files changed

+133
-111
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
{
109109
"source_path": "powerapps-docs/trial-plan.md",
110110
"redirect_url": "/powerapps/maker/signup-for-powerapps",
111-
"redirect_document_id": true
111+
"redirect_document_id": false
112112
},
113113
{
114114
"source_path": "powerapps-docs/dev-isv-partner-intro.md",
@@ -257,7 +257,7 @@
257257
},
258258
{
259259
"source_path": "powerapps-docs/admin-view-apps.md",
260-
"redirect_url": "/powerapps/maker/canvas-apps/admin-view-apps",
260+
"redirect_url": "/powerapps/administrator/admin-view-apps",
261261
"redirect_document_id": true
262262
},
263263
{
@@ -1122,12 +1122,12 @@
11221122
},
11231123
{
11241124
"source_path": "powerapps-docs/signup-for-powerapps.md",
1125-
"redirect_url": "/powerapps/maker/canvas-apps/signup-for-powerapps",
1125+
"redirect_url": "/powerapps/maker/signup-for-powerapps",
11261126
"redirect_document_id": true
11271127
},
11281128
{
11291129
"source_path": "powerapps-docs/signup-for-powerapps-admin.md",
1130-
"redirect_url": "/powerapps/maker/canvas-apps/signup-for-powerapps-admin",
1130+
"redirect_url": "/powerapps/administrator/signup-for-powerapps-admin",
11311131
"redirect_document_id": true
11321132
},
11331133
{
@@ -1304,6 +1304,11 @@
13041304
"source_path": "powerapps-docs/guided-learning/create-app-cds.md",
13051305
"redirect_url": "/powerapps/guided-learning/get-started#step-1",
13061306
"redirect_document_id": true
1307-
}
1307+
},
1308+
{
1309+
"source_path": "powerapps-docs/maker/model-driven-apps/run-app-client-model-driven.md",
1310+
"redirect_url": "/powerapps-docs/user/run-app-client-model-driven",
1311+
"redirect_document_id": true
1312+
}
13081313
]
13091314
}

powerapps-docs/breadcrumb/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
- name: PowerApps
66
tocHref: /powerapps/
77
topicHref: /powerapps/
8+
items:
9+
- name: Guided Learning
10+
tocHref: /powerapps/guided-learning/
11+
topicHref: /powerapps/guided-learning/index

powerapps-docs/guided-learning/create-app-sharepoint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ metadata:
55
description: Generate a three screen app from a SharePoint list, then explore and update the app.
66
audience: Business User
77
level: Beginner
8-
nextTutorialHref: create-app-cds
9-
nextTutorialTitle: Creating an app from the Common Data Service
8+
nextTutorialHref: manage-apps
9+
nextTutorialTitle: Manage apps
1010
displayType: one-column
11-
author: mgblythe
12-
manager: anneta
11+
author: AFTOwen
12+
manager: kfile
1313
ms.service: powerapps
1414
ms.topic: get-started-article
1515
ms.date: 10/27/2017
16-
ms.author: mblythe
16+
ms.author: anneta
1717
items:
1818
- durationInMinutes: 1
1919
content: |

powerapps-docs/guided-learning/get-started.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ metadata:
88
nextTutorialHref: create-app-sharepoint
99
nextTutorialTitle: Creating an app from SharePoint
1010
displayType: one-column
11-
author: mgblythe
12-
manager: anneta
11+
author: AFTOwen
12+
manager: kfile
1313
ms.service: powerapps
1414
ms.topic: get-started-article
1515
ms.date: 10/27/2017
16-
ms.author: mblythe
16+
ms.author: anneta
1717
items:
1818
- durationInMinutes: 1
1919
content: |

powerapps-docs/guided-learning/manage-apps.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ metadata:
55
description: Share apps, control which version of an app is used and shared, and work with containers.
66
audience: Business User
77
level: Beginner
8-
nextTutorialHref: manage-data
9-
nextTutorialTitle: Managing data
108
displayType: one-column
11-
author: mgblythe
12-
manager: anneta
9+
author: AFTOwen
10+
manager: kfile
1311
ms.service: powerapps
1412
ms.topic: get-started-article
1513
ms.date: 10/27/2017
16-
ms.author: mblythe
14+
ms.author: anneta
1715
items:
1816
- durationInMinutes: 1
1917
content: |

powerapps-docs/maker/TOC.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
items:
1414
- name: Open a sample app
1515
href: ./canvas-apps/open-and-run-a-sample-app.md
16+
- name: Create an app from a template
17+
href: ./canvas-apps/get-started-test-drive.md
18+
- name: Create an app from within SharePoint
19+
href: ./canvas-apps/generate-app-from-sharepoint-list-interface.md
1620
- name: Generate an app
1721
items:
1822
- name: From the Common Data Service for Apps
@@ -21,10 +25,6 @@
2125
href: ./canvas-apps/app-from-sharepoint.md
2226
- name: From Excel
2327
href: ./canvas-apps/get-started-create-from-data.md
24-
- name: Customize a SharePoint list form
25-
href: ./canvas-apps/customize-list-form.md
26-
- name: Create an app from within SharePoint
27-
href: ./canvas-apps/generate-app-from-sharepoint-list-interface.md
2828
- name: Tutorials
2929
items:
3030
- name: Customize a generated app
@@ -79,8 +79,8 @@
7979
href: ./canvas-apps/dev-appsource-test-drive.md
8080
- name: How-to guides
8181
items:
82-
- name: Create an app from a template
83-
href: ./canvas-apps/get-started-test-drive.md
82+
- name: Customize a SharePoint list form
83+
href: ./canvas-apps/customize-list-form.md
8484
- name: Build an Excel app from scratch
8585
href: ./canvas-apps/get-started-create-from-blank.md
8686
- name: Customize an app
@@ -145,6 +145,8 @@
145145
href: ./canvas-apps/gateway-management.md
146146
- name: Understand gateways
147147
href: ./canvas-apps/gateway-reference.md
148+
- name: Troubleshoot Power Query
149+
href: ./common-data-service/data-platform-cds-newentity-troubleshooting-mashup.md
148150
- name: Integrate with other technologies # already one TOC level too deep
149151
items:
150152
- name: SharePoint Online
@@ -174,14 +176,14 @@
174176
- name: Reference
175177
items:
176178
- name: Formula reference
177-
href: ./canvas-apps/formula-reference.md # lives in root, move to formulas?
179+
href: ./canvas-apps/formula-reference.md
178180
- name: Controls reference
179-
href: ./canvas-apps/reference-properties.md # lives in root, move to controls?
181+
href: ./canvas-apps/reference-properties.md
180182
- name: Connectors reference
181-
href: ./canvas-apps/connections-list.md # lives in root, move to connectors? Is this OK as a reference topic (vs. in how-to section)
183+
href: ./canvas-apps/connections-list.md
182184
- name: System requirements, limits, and configuration
183185
href: ./canvas-apps/limits-and-config.md
184-
- name: Resources # currently all content from old Get Started, except for intro topic. We can relocate as appropriate
186+
- name: Resources
185187
items:
186188
- name: Work with environments
187189
href: ./canvas-apps/working-with-environments.md
@@ -198,10 +200,8 @@
198200
href: ./model-driven-apps/overview-model-driven-samples.md
199201
- name: Share a model-driven app
200202
href: ./model-driven-apps/share-model-driven-app.md
201-
- name: Run a model-driven app on a mobile device
202-
href: ./model-driven-apps/run-app-client-model-driven.md
203203
- name: For Developers
204-
href: ../developer/model-driven-apps/TOC.yml
204+
href: ../developer/model-driven-apps/TOC.yml
205205
- name: Common Data Service for Apps
206206
href: ./common-data-service/data-platform-intro.md
207207
items:

powerapps-docs/maker/canvas-apps/delegation-overview.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.devlang: na
1414
ms.topic: article
1515
ms.tgt_pltfrm: na
1616
ms.workload: na
17-
ms.date: 08/15/2017
17+
ms.date: 03/27/2018
1818
ms.author: gregli
1919

2020
---
@@ -27,7 +27,7 @@ The key to building efficient apps is to minimize the amount of data that needs
2727

2828
Where this becomes complicated, and the reason this article exists, is because not everything that can be expressed in a PowerApps formula can be delegated to every data source. The PowerApps language mimics Excel's formula language, designed with complete and instant access to a full workbook in memory, with a wide variety of numerical and text manipulation functions. As a result, the PowerApps language is far richer than most data sources can support, including powerful database engines such as SQL Server.
2929

30-
**Working with large data sets requires using data sources and formulas that can be delegated.** It is the only way to keep your app performing well and ensure users can access all the information they need. Take heed of [blue-dot suggestions](delegation-overview.md#blue-dot-suggestions) that flag places where delegation is not possible. If you're working with small data sets (less than 500 records), you can use any data source and formula as processing can be done locally if the formula cannot be delegated.
30+
**Working with large data sets requires using data sources and formulas that can be delegated.** It is the only way to keep your app performing well and ensure users can access all the information they need. Take heed of [blue-dot suggestions](delegation-overview.md#blue-dot-suggestions) that flag places where delegation is not possible. If you're working with small data sets (less than 500 records), you can use any data source and formula as processing can be done locally if the formula cannot be delegated.
3131

3232
## Delegable data sources
3333
See the [delegation list](delegation-list.md) for the full list of which data sources support delegation and to what extent.
@@ -80,7 +80,7 @@ Counting functions such as **[CountRows](functions/function-table-counts.md)**,
8080

8181
Other aggregate functions such as **[StdevP](functions/function-aggregates.md)** and **[VarP](functions/function-aggregates.md)** cannot be delegated.
8282

83-
### Other functions
83+
## Non-delegable functions
8484
All other functions do not support delegation, including these notable functions:
8585

8686
* Table shaping: **[AddColumns](functions/function-table-shaping.md)**, **[DropColumns](functions/function-table-shaping.md)**, **[ShowColumns](functions/function-table-shaping.md)**, ...
@@ -101,12 +101,20 @@ Since the **LookUp** and its data source are delegable, a match for **Suppliers*
101101
## Non-delegable limits
102102
Formulas that cannot be delegated will be processed locally. This allows for the full breadth of the PowerApps formula language to be used. But at a price: all the data must be brought to the device first, which could involve retrieving a large amount of data over the network. That can take time, giving the impression that your app is slow or possibly hung.
103103

104-
To avoid this, PowerApps imposes a limit on the amount of data that can be processed locally: 500 records. We chose this number so that you would still have complete access to small data sets and you would be able to refine your use of large data sets by seeing partial results.
104+
To avoid this, PowerApps imposes a limit on the amount of data that can be processed locally: 500 records by default. We chose this number so that you would still have complete access to small data sets and you would be able to refine your use of large data sets by seeing partial results.
105105

106106
Obviously care must be taken when using this facility as it can be confusing for users. For example, consider a **Filter** function with a selection formula that cannot be delegated, over a million record data source. Since the filtering will be done locally, only the first 500 records of the million records will be scanned. If the desired record is record 501, or 500,001, it will not be considered or returned by **Filter**.
107107

108108
Another place where this can be confusing is aggregate functions. Take **Average** over a column of that same million record data source. Since **Average** cannot yet be delegated, only the first 500 records will be averaged. Care must be taken or a partial answer could be misconstrued as a complete answer by a user of your app.
109109

110+
## Changing the limit
111+
112+
500 is the default number of records. This number can be changed by going to the File tab, selecting the App Settings in the left hand navigation pane, and looking under Experimental features. Here you will find the "Data row limit for non-delegable queries" setting which you can change from 1 to 2000. This setting is app wide.
113+
114+
In some cases, you will know that 2000 (or 1000, or 1500) will satisfy the needs of your scenario. With care, you can increase this number to fit your scenario. Be aware that as you increase this number your app's performance may degrade, especially for wide tables with lots of columns. The best answer is still to always delegate what you can.
115+
116+
To ensure your app can scale to large data sets, reduce this setting down to 1. Anything that cannot be delegated will now only return a single record, which should be easy to detect when testing your app. This can help avoid surprises when trying to take a proof of concept app to production.
117+
110118
## Blue dot suggestions
111119
To make it easier to know what is and is not being delegated, the authoring experience provides blue dot suggestions when a formula contains something that cannot be delegated.
112120

powerapps-docs/maker/common-data-service/data-platform-cds-newentity-pq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,4 @@ If you select **Load to existing entity**, you can specify an entity into which
8888

8989
We're excited about this functionality and eager to hear your feedback. Please [send us your suggestions and feedback](https://powerusers.microsoft.com/t5/PowerApps-Community/ct-p/PowerApps1) about this feature!
9090

91+
If an [error message about permissions](data-platform-cds-newentity-troubleshooting-mashup.md) appears, talk to your administrator.

powerapps-docs/maker/common-data-service/data-platform-cds-newentity-troubleshooting-mashup.md

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: Troubleshooting - Unable to create or retrieve a mashup for this database | Microsoft Docs
3-
description: Resolve issues creating a Custom Entity using CDS and Power Query, by administrator changes to AAD restrictions.
2+
title: Troubleshooting Power Query | Microsoft Docs
3+
description: Resolve issues using Power Query to create a custom entity in the Common Data Service for Apps
44
services: ''
55
suite: powerapps
66
documentationcenter: na
77
author: mllopis
8-
manager: kfend
8+
manager: kfile
99
editor: ''
1010
tags: ''
1111

@@ -18,39 +18,28 @@ ms.date: 08/18/2017
1818
ms.author: millopis
1919

2020
---
21-
# Troubleshooting - Unable to create or retrieve a mashup for this database
22-
When using the **New Entities from Data (Technical Preview)** feature, you might run into an error that looks like the following:
21+
# Troubleshooting Power Query
22+
When you use Power Query to create a custom entity that contains data from external sources, this error might appear:
2323

24-
*Unable to create or retrieve a mashup for the current database*
24+
`Your Azure Active Directory administrator has set a policy that prevents you from using this feature. Please contact your administrator, who can grant permissions for this feature on your behalf.`
2525

26-
This can occur when you're using the feature to create *Custom Entities* in the **Common Data Service (CDS)** based on data from external data sources using **Power Query**. The error is triggered when **Power Query** cannot access the organization's data in **PowerApps or CDS**. There are two scenarios when this can happen:
26+
The error appears if Power Query can't access the organization's data in PowerApps or the Common Data Service. This situation arises under two sets of circumstances:
2727

28-
* An **Azure Active Directory** (AAD) tenant administrator has disallowed users' ability to consent to apps accessing company data on their behalf.
29-
* Using an unmanaged Active Directory tenant. An unmanaged tenant is a directory without a global administrator that was created to complete a self-service signup offer. To fix this scenario, users must *first* convert to a managed tenant, then follow one of the two solutions to this issue, described in the following section.
28+
* An Azure Active Directory (AAD) tenant administrator has disallowed users' ability to consent to apps that access company data on their behalf.
29+
* Using an unmanaged Active Directory tenant. An unmanaged tenant is a directory without a global administrator that was created to complete a self-service signup offer. To fix this scenario, users must first convert to a managed tenant and then follow one of the two solutions to this issue, described in the following section.
3030

31-
There are two ways to fix the issue described above:
31+
To resolve this issue, the AAD administrator must follow the steps in either of the procedures later in this topic.
3232

33-
* Have the AAD administrator follow the steps necessary for users to consent to apps accessing company data
34-
* Have the AAD administrator allow **Power Query** to access data
33+
## Allow users to consent to apps that access company data
34+
This approach is perhaps easier than the next, but it allows for broader permissions.
3535

36-
Each of the steps necessary for these solutions are described next.
36+
1. In [https://portal.azure.com](https://portal.azure.com), open the **Azure Active Directory** blade, and then select **User settings**.
37+
1. Select **Yes** next to **Users can consent to apps accessing company data on their behalf**, and then select **Save**.
3738

38-
## Allowing users to give apps consent to access company data
39+
## Allow Power Query to access company data
40+
As an alternative, the tenant administrator can give consent to Power Query without modifying tenant-wide permissions.
3941

40-
You can contact the AAD tenant administrator, and have him or her perform the following steps, which enables users to consent to any app accessing company data:
41-
42-
1. Visit [https://portal.azure.com](https://portal.azure.com)
43-
2. Open the **Azure Active Directory** blade.
44-
3. Select **User settings**.
45-
4. Select **Yes** next to **Users can consent to apps accessing company data on their behalf**, and then select **Save**.
46-
5. Once that process is completed, the issue will be resolved.
47-
48-
This is perhaps the easiest approach, but it allows for broader permissions than the next option.
49-
50-
## Allowing Power Query to access company data
51-
Another solution is to have the tenant administrator give consent to **Power Query** without modifying tenant-wide permissions. Have the tenant administrator take the following steps achieve this:
52-
53-
1. Install [Azure PowerShell](https://docs.microsoft.com/powershell/azure/install-azurerm-ps)
42+
1. Install [Azure PowerShell](https://docs.microsoft.com/powershell/azure/install-azurerm-ps).
5443
2. Run the following PowerShell commands:
5544
* Login-AzureRmAccount (and sign in as the tenant admin)
5645
* New-AzureRmADServicePrincipal -ApplicationId f3b07414-6bf4-46e6-b63f-56941f3f4128

0 commit comments

Comments
 (0)