Skip to content

Commit d7347b9

Browse files
committed
Merge branch 'master' into 2061763
2 parents 48f5dc0 + c0674e1 commit d7347b9

File tree

152 files changed

+1997
-971
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+1997
-971
lines changed

powerapps-docs/developer/data-platform/TOC.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@
219219
href: walkthrough-configure-azure-sas-integration.md
220220
- name: "Tutorial: Register an Azure-aware plug-in using the Plug-in Registration Tool"
221221
href: walkthrough-register-azure-aware-plug-in-using-plug-in-registration-tool.md
222-
223222
- name: "Tutorial: Update a service endpoint imported from a solution"
224223
href: walkthrough-update-service-endpoint-imported-solution.md
225224
- name: Use Web Hooks
@@ -395,7 +394,7 @@
395394
href: authenticate-dot-net-framework.md
396395
- name: Use OAuth
397396
href: authenticate-oauth.md
398-
- name: Use Microsoft 365 (WS-Trust)
397+
- name: Use Office365 (WS-Trust)
399398
href: authenticate-office365-deprecation.md
400399
- name: "Tutorial: Register an app with Azure Active Directory"
401400
href: walkthrough-register-app-azure-active-directory.md
@@ -460,4 +459,4 @@
460459
- name: Customization solutions file schema
461460
href: customization-solutions-file-schema.md
462461
- name: FetchXML schema
463-
href: fetchxml-schema.md
462+
href: fetchxml-schema.md

powerapps-docs/developer/data-platform/authenticate-office365-deprecation.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Use Microsoft 365 authentication with Microsoft Dataverse (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
3-
description: "Describes deprecation of the WS-Trust security protocol and the code changes required in applications that use Microsoft 365 authentication."
2+
title: "Use Office365 authentication with Microsoft Dataverse (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
3+
description: "Describes deprecation of the WS-Trust security protocol and the code changes required in applications that use Office365 authentication."
44
ms.custom: ""
55
ms.date: 03/23/2021
66
ms.reviewer: "pehecke"
@@ -16,10 +16,12 @@ search.app:
1616
- D365CE
1717
---
1818

19-
# Use Microsoft 365 authentication with Microsoft Dataverse
19+
# Use Office365 authentication with Microsoft Dataverse
2020

2121
Use of the WS-Trust authentication security protocol when connecting to Microsoft Dataverse is no longer recommended and has been deprecated; see the [announcement](/power-platform/important-changes-coming#deprecation-of-office365-authentication-type-and-organizationserviceproxy-class-for-connecting-to-common-data-service).
2222

23+
Additionally, the WS-Trust protocol does not support modern forms of multi-factor authentication and Azure AD Conditional Access controls to customer data.
24+
2325
This change impacts custom client applications that use “Office365” authentication and the
2426
[Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy](/dotnet/api/microsoft.xrm.sdk.client.organizationserviceproxy) or
2527
[Microsoft.Xrm.Tooling.Connector.CrmServiceClient](/dotnet/api/microsoft.xrm.tooling.connector.crmserviceclient)
@@ -54,8 +56,7 @@ using (OrganizationServiceProxy organizationServiceProxy =
5456
## What should I do to fix my application code if affected?
5557

5658
There are very straight forward ways to modify your applications code to use
57-
the recommended connection interface for authentication with Common Data
58-
Service.
59+
the recommended connection interface for authentication with Dataverse.
5960

6061
- If your code uses an [Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy](/dotnet/api/microsoft.xrm.sdk.client.organizationserviceproxy) instance:
6162

@@ -79,9 +80,9 @@ Service.
7980
Password=passcode;Url=https://contosotest.crm.dynamics.com;AppId=51f81489-12ee-4a9e-aaae-a2591f45987d;
8081
RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97;LoginPrompt=Auto"`
8182
82-
This will be your fastest way to update the code. Note that LoginPrompt can be set toneverto simulate the way that the Microsoft 365 behavior worked.
83+
This will be your fastest way to update the code. Note that LoginPrompt can be set toneverto simulate the way that the Office365 behavior worked.
8384

84-
The AppId and RedirectUri provided above are examples of working application registration values. These values work everywhere our online services are deployed. However, they are provided here as examples and you are encouraged to create your own application registration in Azure Active Directory (AAD) for applications running in your tenant.<p/>
85+
The AppId and RedirectUri provided above are examples of working application registration values. These values work everywhere our online services are deployed. However, they are provided here as examples and you are encouraged to create your own application registration in Azure Active Directory (Azure AD) for applications running in your tenant.<p/>
8586

8687
- When we announce it, update to the latest [Microsoft.CrmSdk.XrmTooling.CoreAssembly](https://www.nuget.org/packages/Microsoft.CrmSdk.XrmTooling.CoreAssembly/) NuGet package that includes auto redirect support. This library will redirect an authentication type of Office365 to OAuth and use the example AppId and Redirect URI automatically. This capability is planned for the 9.2.x version of the Microsoft.CrmSdk.XrmTooling.CoreAssembly package.
8788
@@ -98,4 +99,4 @@ To do this, you must first register the application user (Service Principal) in
9899
We will be monitoring the Power Apps ALM and ProDev community [forums](https://powerusers.microsoft.com/t5/Power-Apps-Component-Framework/bd-p/pa_component_framework). Please take a look there to get help on how to solve various issues or post a
99100
question.
100101

101-
[!INCLUDE[footer-include](../../includes/footer-banner.md)]
102+
[!INCLUDE[footer-include](../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/best-practices/business-logic/develop-iplugin-implementations-stateless.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ services: ''
55
suite: powerapps
66
documentationcenter: na
77
author: jowells
8+
ms.reviewer: phecke
89
manager: austinj
910
editor: ''
1011
tags: ''

powerapps-docs/developer/data-platform/org-service/samples/Create-retrieve-entity-relationships.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: "Sample: Create and retrieve entity relationships (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
3-
description: "This sample shows how to create and retrieve entity relationships." # 115-145 characters including spaces. This abstract displays in the search result.
2+
title: "Sample: Create and retrieve table relationships (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
3+
description: "This sample shows how to create and retrieve table relationships." # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 10/31/2018
5+
ms.date: 06/17/2021
66
ms.reviewer: "pehecke"
77
ms.service: powerapps
88
ms.topic: "samples"
@@ -16,11 +16,11 @@ search.app:
1616
- D365CE
1717
---
1818

19-
# Create and retrieve entity relationships
19+
# Create and retrieve table relationships
2020

2121
[!INCLUDE[cc-data-platform-banner](../../../../includes/cc-data-platform-banner.md)]
2222

23-
This sample shows how to create and retrieve entity relationships. The following methods are used to create and retrieve the relationships:
23+
This sample shows how to create and retrieve table relationships. The following methods are used to create and retrieve the relationships:
2424

2525
- [CreateOneToManyRequest](/dotnet/api/microsoft.xrm.sdk.messages.createonetomanyrequest?view=dynamics-general-ce-9)
2626
- [CreateManyToManyRequest](/dotnet/api/microsoft.xrm.sdk.messages.createmanytomanyrequest?view=dynamics-general-ce-9)
@@ -31,13 +31,15 @@ This sample shows how to create and retrieve entity relationships. The following
3131

3232
You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CreateRetrieveEntityRelationships).
3333

34+
[!INCLUDE[cc-terminology](../../includes/cc-terminology.md)]
35+
3436
## How to run this sample
3537

3638
[!include[cc-how-to-run-samples](../../includes/cc-how-to-run-samples.md)]
3739

3840
## What this sample does
3941

40-
The `CreateOneToManyRequest`, `CreateManyToManyRequest`, `CanManyToManyRequest`, `CreateOneToManyRequest`, `CanBeReferencedRequest`, `CanBeReferencingRequest`, and `RetrieveRelationshipRequest` messages are intended to be used in a scenario where it contains the data that is needed to create and retrieve entity relationships.
42+
The `CreateOneToManyRequest`, `CreateManyToManyRequest`, `CanManyToManyRequest`, `CreateOneToManyRequest`, `CanBeReferencedRequest`, `CanBeReferencingRequest`, and `RetrieveRelationshipRequest` messages are intended to be used in a scenario where it contains the data that is needed to create and retrieve table relationships.
4143

4244
## How this sample works
4345

@@ -51,13 +53,13 @@ Checks for the current version of the org.
5153

5254
1. The `CreateOneToManyRequest` method creates a new One-to-Many (1:N) relationship.
5355
2. The `CreateManyToManyRequest` method creates a new Many-To-Many (N:N) relationship.
54-
3. The `EligibleCreateManyToManyRelationship` method verifies whether entities can participate in N:N relationship.
55-
4. The `RetrieveRelationshipRequest` method retrieves the two entity relationships previously created.
56+
3. The `EligibleCreateManyToManyRelationship` method verifies whether tables can participate in N:N relationship.
57+
4. The `RetrieveRelationshipRequest` method retrieves the two tables relationships previously created.
5658

5759

5860
### Clean up
5961

60-
Display an option to delete the records created in the [Setup](#setup). The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.
62+
Display an option to delete the records created in the [Setup](#setup). The deletion is optional in case you want to examine the tables and data created by the sample. You can manually delete the records to achieve the same result.
6163

6264

6365
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/org-service/samples/add-record-queue-early-bound.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Sample: Add a record to queue (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This sample shows how to add a record to a queue." # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 10/31/2018
5+
ms.date: 06/17/2021
66
ms.reviewer: "pehecke"
77
ms.service: powerapps
88
ms.topic: "samples"
@@ -21,6 +21,8 @@ search.app:
2121

2222
This sample shows how to add a record to a queue. It creates source and destination queues. It adds a letter activity to the source queue and then moves it to the destination queue. You can download the sample from [here](https://github.com/Microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/RecordToQueue).
2323

24+
[!INCLUDE[cc-terminology](../../includes/cc-terminology.md)]
25+
2426
This sample requires additional users that are not in your system. Create the users manually in **Microsoft 365** in order to run the sample without any errors. For this sample, create a user profile **as is** shown below.
2527

2628
**First Name**: Kevin<br/>
@@ -34,7 +36,7 @@ This sample requires additional users that are not in your system. Create the us
3436

3537
## What this sample does
3638

37-
The `AddToQueueRequest` message is intended to be used in a scenario where it contains data that is needed to move an entity record from a source queue to destination queue.
39+
The `AddToQueueRequest` message is intended to be used in a scenario where it contains data that is needed to move a table record from a source queue to destination queue.
3840

3941
## How this sample works
4042

@@ -44,8 +46,8 @@ In order to simulate the scenario described in [What this sample does](#what-thi
4446

4547
1. Checks for the current version of the org.
4648
2. The `Queue` method creates source and destination queues and store their returned GUIDs in variable.
47-
3. Creates a Letter entity.
48-
4. The `AddToQueueRequest` method adds an entity record into a queue, in this sample it associates the letter with first queue.
49+
3. Creates a Letter table.
50+
4. The `AddToQueueRequest` method adds a table record into a queue, in this sample it associates the letter with first queue.
4951
5. Retrieves the user created manually in **Microsoft 365** for assigning the queue items to the user's queue.
5052

5153
### Demonstrate
@@ -55,7 +57,7 @@ In order to simulate the scenario described in [What this sample does](#what-thi
5557

5658
### Clean up
5759

58-
Display an option to delete the sample data that is created in [Setup](#setup). The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.
60+
Display an option to delete the sample data that is created in [Setup](#setup). The deletion is optional in case you want to examine the tables and data created by the sample. You can manually delete the records to achieve the same result.
5961

6062

6163
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/org-service/samples/add-security-principal-user-team-queue-early-bound.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ search.app:
2121

2222
This sample showcases how to give a user or a team access to a queue. The [AddPrincipalToQueueRequest](/dotnet/api/microsoft.crm.sdk.messages.addprincipaltoqueuerequest?view=dynamics-general-ce-9) adds the specified principal to the list of queue members. If the passed-in security principal is a team each member of the team is added to the queue. You can download the sample from [here](https://github.com/Microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AddSecurityPrincipalToQueue).
2323

24+
[!INCLUDE[cc-terminology](../../includes/cc-terminology.md)]
25+
2426
## How to run this sample
2527

2628
[!include[cc-how-to-run-samples](../../includes/cc-how-to-run-samples.md)]
@@ -48,7 +50,7 @@ The `AddPrincipalToQueueRequest` method adds the team to the queue.
4850

4951
### Clean up
5052

51-
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.
53+
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the tables and data created by the sample. You can manually delete the records to achieve the same result.
5254

5355

5456
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/org-service/samples/assign-chart-to-another-user.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ search.app:
2222

2323
This sample shows how to assign a user-owned visualization to another using the [AssignRequest](/dotnet/api/microsoft.crm.sdk.messages.assignrequest?view=dynamics-general-ce-9) message. You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssignChartToAnotherUser).
2424

25+
[!INCLUDE[cc-terminology](../../includes/cc-terminology.md)]
26+
2527
This sample requires an additional user that isn't available in your system. Create the required user manually in **Microsoft 365** in order to run the sample without any errors. For this sample create a user profile **as is** shown below.
2628

2729
**First Name**: Kevin<br/>
@@ -45,15 +47,15 @@ In order to simulate the scenario described in [What this sample does](#what-thi
4547

4648
1. Checks for the current version of the org.
4749
2. The `CreateRequiredRecords` method creates a sample account and some opportunity records for the visualization.
48-
3. The `newUserOwnedVisualization` method creates the visualization entity instance.
50+
3. The `newUserOwnedVisualization` method creates the visualization table instance.
4951

5052
### Demonstrate
5153

5254
The `AssignRequest` method assigns the visualization or chart to the newly created user.
5355

5456
### Clean up
5557

56-
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.
58+
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the tables and data created by the sample. You can manually delete the records to achieve the same result.
5759

5860

5961
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/org-service/samples/assign-dashboard-to-another-user.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ search.app:
2222

2323
This sample shows how to assign a user-owned visualization to another using the [AssignRequest](/dotnet/api/microsoft.crm.sdk.messages.assignrequest?view=dynamics-general-ce-9) message. Because you can’t delete a user-owned dashboard that is assigned to another user, this sample shows how to use impersonation to delete the user-owned dashboard. You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssignUserOwnedDashboardToAnother).
2424

25+
[!INCLUDE[cc-terminology](../../includes/cc-terminology.md)]
26+
2527
This sample requires an additional user that isn't available in your system. Create the required user manually in **Microsoft 365** in order to run the sample without any errors. For this sample create a user profile **as is** shown below.
2628

2729
**First Name**: Kevin<br/>
@@ -44,7 +46,7 @@ In order to simulate the scenario described in [What this sample does](#what-thi
4446
### Setup
4547

4648
1. Checks for the current version of the org.
47-
2. The `CreateRequiredRecords` method creates entity records that this sample requires.
49+
2. The `CreateRequiredRecords` method creates table records that this sample requires.
4850
3. The `mySavedQuery` method grabs the default public view for the opportunities.
4951
4. The `visualizationQuery` method retrieves the visualizations out of the system. This sample assumes that you have the **Top opportunities**.
5052
5. The `_otherUSerId` method creates the user to whom the dashboard will be assigned.
@@ -55,7 +57,7 @@ The `AssignRequest` method assigns the visualization or chart to the newly creat
5557

5658
### Clean up
5759

58-
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.
60+
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the tables and data created by the sample. You can manually delete the records to achieve the same result.
5961

6062

6163
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/org-service/samples/associate-security-role-team.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ This sample shows how to assign a security role to a team by using the [AssignRe
2424

2525
You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssociateSecurityRoleToTeam)
2626

27+
[!INCLUDE[cc-terminology](../../includes/cc-terminology.md)]
28+
2729
## How to run this sample
2830

2931
[!include[cc-how-to-run-samples](../../includes/cc-how-to-run-samples.md)]
@@ -48,7 +50,7 @@ In order to simulate the scenario described in [What this sample does](#what-thi
4850

4951
### Clean up
5052

51-
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.
53+
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the tables and data created by the sample. You can manually delete the records to achieve the same result.
5254

5355

5456
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/org-service/samples/associate-security-role-user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ In order to simulate the scenario described in [What this sample does](#what-thi
5555

5656
### Clean up
5757

58-
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.
58+
Display an option to delete the sample data in [Setup](#setup). The deletion is optional in case you want to examine the tables and data created by the sample. You can manually delete the records to achieve the same result.
5959

6060

6161
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

0 commit comments

Comments
 (0)