Skip to content

Commit b7cd663

Browse files
authored
Merge pull request MicrosoftDocs#4724 from MicrosoftDocs/master
updating working
2 parents 4572d32 + c994967 commit b7cd663

33 files changed

+1053
-304
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6279,6 +6279,11 @@
62796279
"source_path": "powerapps-docs/developer/data-platform/developer-resources-page.md",
62806280
"redirect_url": "/powerapps/developer/data-platform/view-download-developer-resources",
62816281
"redirect_document_id": "false"
6282+
},
6283+
{
6284+
"source_path": "powerapps-docs/maker/data-platform/business-events.md",
6285+
"redirect_url": "/powerapps/developer/data-platform/business-events",
6286+
"redirect_document_id": "false"
62826287
}
62836288
]
62846289
}

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@
159159
href: org-service/samples/web-access-plugin.md
160160
- name: Workflow extensions
161161
href: workflow/workflow-extensions.md
162+
- name: Business Events (preview)
163+
href: business-events.md
162164
- name: Scalable customization design
163165
href: scalable-customization-design/overview.md
164166
- name: Best Practices
@@ -217,7 +219,6 @@
217219
href: walkthrough-configure-azure-sas-integration.md
218220
- name: "Tutorial: Register an Azure-aware plug-in using the Plug-in Registration Tool"
219221
href: walkthrough-register-azure-aware-plug-in-using-plug-in-registration-tool.md
220-
221222
- name: "Tutorial: Update a service endpoint imported from a solution"
222223
href: walkthrough-update-service-endpoint-imported-solution.md
223224
- name: Use Web Hooks
@@ -393,7 +394,7 @@
393394
href: authenticate-dot-net-framework.md
394395
- name: Use OAuth
395396
href: authenticate-oauth.md
396-
- name: Use Microsoft 365 (WS-Trust)
397+
- name: Use Office365 (WS-Trust)
397398
href: authenticate-office365-deprecation.md
398399
- name: "Tutorial: Register an app with Azure Active Directory"
399400
href: walkthrough-register-app-azure-active-directory.md
@@ -458,4 +459,4 @@
458459
- name: Customization solutions file schema
459460
href: customization-solutions-file-schema.md
460461
- name: FetchXML schema
461-
href: fetchxml-schema.md
462+
href: fetchxml-schema.md

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

Lines changed: 7 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,7 +16,7 @@ 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

@@ -54,8 +54,7 @@ using (OrganizationServiceProxy organizationServiceProxy =
5454
## What should I do to fix my application code if affected?
5555

5656
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.
57+
the recommended connection interface for authentication with Dataverse.
5958

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

@@ -79,9 +78,9 @@ Service.
7978
Password=passcode;Url=https://contosotest.crm.dynamics.com;AppId=51f81489-12ee-4a9e-aaae-a2591f45987d;
8079
RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97;LoginPrompt=Auto"`
8180
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.
81+
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.
8382

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/>
83+
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/>
8584

8685
- 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.
8786
@@ -98,4 +97,4 @@ To do this, you must first register the application user (Service Principal) in
9897
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
9998
question.
10099

101-
[!INCLUDE[footer-include](../../includes/footer-banner.md)]
100+
[!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/maker/data-platform/business-events.md renamed to powerapps-docs/developer/data-platform/business-events.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Automation of business logic and integration with other systems are driven by ev
2727
- Web Hooks
2828
- Dataverse plug-ins
2929

30-
Dataverse has a robust event framework to capture system events *within* Dataverse. You can respond to events within the system using the Dataverse Event Framework. This isn't changing. More information [Event framework](../../developer/data-platform/event-framework.md)
30+
Dataverse has a robust event framework to capture system events *within* Dataverse. You can respond to events within the system using the Dataverse Event Framework. This isn't changing. More information [Event framework](event-framework.md)
3131

3232
Dataverse Business events provides new ways to expose events and compose your business logic to respond to them asynchronously, such as the Power Automate Dataverse **When an action is performed** trigger.
3333

@@ -51,7 +51,7 @@ Dataverse business events includes concepts from [Dynamics Finance and Operation
5151

5252
## Event Catalog
5353

54-
To expose a business event it must be cataloged. More information: [Catalog and CatalogAssignment tables](../../developer/data-platform/catalog-catalogassignment.md)
54+
To expose a business event it must be cataloged. More information: [Catalog and CatalogAssignment tables](catalog-catalogassignment.md)
5555

5656
A catalog makes it easier to discover the business event because they are grouped by the containing solution and categories defined for that solution. The solution publisher selects which events are most relevant for their solution.
5757

@@ -78,15 +78,15 @@ If your solution consists of multiple dependent solutions, you may define the ro
7878

7979
When a table is assigned to a category, certain operations bound to the table will be included. You can't select each operation individually. If the table supports Create, Update, and Delete operations, these events will be included.
8080

81-
Additional events related to other operations will also be included. For example, if the table is user-owned it participates in security events. The owner of any record in the table will be able to share it, change sharing capabilities, or stop sharing the record. Operations related to sharing are exposed as `GrantAccess`, `ModifyAccess`, and `RevokeAccess` events. Additional events may also be included depending on the table. If the table is a Virtual Table, and it has been configured to support Virtual Table events, the `OnExternalCreated`, `OnExternalUpdated`, `OnExternalDeleted` events will be included. More information: [Enable Virtual Tables to support Dataverse events](../../developer/data-platform/virtual-entities/enable-virtual-table-event-support.md)
81+
Additional events related to other operations will also be included. For example, if the table is user-owned it participates in security events. The owner of any record in the table will be able to share it, change sharing capabilities, or stop sharing the record. Operations related to sharing are exposed as `GrantAccess`, `ModifyAccess`, and `RevokeAccess` events. Additional events may also be included depending on the table. If the table is a Virtual Table, and it has been configured to support Virtual Table events, the `OnExternalCreated`, `OnExternalUpdated`, `OnExternalDeleted` events will be included. More information: [Enable Virtual Tables to support Dataverse events](virtual-entities/enable-virtual-table-event-support.md)
8282

8383
Add only those tables which contain business data that will be of interest to subscribers. You should not try to include every table.
8484

8585
The same table can be included in multiple catalogs. For example, if your solution depends on customer data in the Dataverse Account or Contact tables, you should include them. Other catalogs may include tables from your solution.
8686

8787
## Custom Events
8888

89-
Use Dataverse Custom API to create custom events. Each custom API will create a new Dataverse message and provide the web service endpoint to call the custom API. More information: [Create and use Custom APIs](../../developer/data-platform/custom-api.md).
89+
Use Dataverse Custom API to create custom events. Each custom API will create a new Dataverse message and provide the web service endpoint to call the custom API. More information: [Create and use Custom APIs](custom-api.md).
9090

9191
Custom business events can only send notifications when an event is completed. Dataverse event framework provides capabilities to include synchronous logic which can cancel an operation or change the output so that you can extend the behavior of the system. Many of the same messages exposed with business events may be extended using synchronous logic in the Dataverse event framework, but business event notifications only occur when these operations complete successfully.
9292

@@ -110,7 +110,7 @@ When you consider custom apis to catalog as business events in your solution use
110110

111111
### Custom Process Actions
112112

113-
The concept of *Custom Action* includes both [Custom API](../../developer/data-platform/custom-api.md) and [Custom Process actions](../../developer/data-platform/workflow-custom-actions.md). They both create a new API, but how they do it is different. For custom business events, we recommend Custom API.
113+
The concept of *Custom Action* includes both [Custom API](custom-api.md) and [Custom Process actions](workflow-custom-actions.md). They both create a new API, but how they do it is different. For custom business events, we recommend Custom API.
114114

115115
Custom process actions can also be cataloged as business events. This is for backward compatibility if your solution already uses custom process actions to encapsulate some business logic which would represent a business event. You are not required to migrate this custom action to use Custom API.
116116

@@ -119,7 +119,7 @@ However, custom process actions have the following limitations:
119119
- Like any workflow, they can be disabled in the UI. You may not know when someone disables your custom process action until it suddenly stops working.
120120
- Until recently, there was no way to prevent synchronous plug-in steps to be registered on custom process actions, which means anyone could register synchronous steps that could change the behavior of the custom process action or even cancel it. There is now a [IsCustomProcessingStepAllowedForOtherPublishers](/reference/entities/workflow#BKMK_IsCustomProcessingStepAllowedForOtherPublishers) managed property that allows a custom process action to block this. But if you are going to update your custom process action to set this property, you should consider converting it to use Custom API instead.
121121

122-
For more information about how they are different, see [Compare Custom Process Action and Custom API](../../developer/data-platform/custom-actions.md#compare-custom-process-action-and-custom-api)
122+
For more information about how they are different, see [Compare Custom Process Action and Custom API](custom-actions.md#compare-custom-process-action-and-custom-api)
123123

124124
If your custom process action doesn’t contain any logic within the workflow designer and relies only on plug-ins to perform operations, you can probably migrate the custom process action to be a custom api to mitigate these issues.
125125

@@ -136,7 +136,7 @@ Custom APIs created for external events should align to these principles:
136136

137137
- They should not have any plug-in type specified for the main operation.
138138
- They should not allow any synchronous step registrations.
139-
- The custom api [Allowed Custom Processing Step Type](/developer/data-platform/reference/entities/customapi#BKMK_AllowedCustomProcessingStepType) property should be set to **Async Only**. This will prevent any asynchronous steps from being applied for this API.
139+
- The custom api [Allowed Custom Processing Step Type](/developer/data-platform/reference/entities/customapi#BKMK_AllowedCustomProcessingStepType) property should be set to **Async Only**. This will prevent any synchronous steps from being applied for this API.
140140
- They should not have any response properties, only request parameters.
141141
- With no synchronous logic, there is no way to set response properties.
142142

@@ -165,22 +165,22 @@ The key requirement to use custom API to send business events is that your appli
165165

166166
By removing all synchronous logic from the custom api the likelihood of an error causing the operation to fail is extremely low, but not impossible. Your calling application must provide a way to deal with transient errors in the event the Dataverse service isn’t responding, there are network connectivity issues, or service protection limit errors are returned.
167167

168-
To enable authorized calls to Dataverse from your application there must be an Application user configured for the Dataverse environment. More information: [Build web applications using server-to-server (S2S) authentication](../../developer/data-platform/build-web-applications-server-server-s2s-authentication.md).
168+
To enable authorized calls to Dataverse from your application there must be an Application user configured for the Dataverse environment. More information: [Build web applications using server-to-server (S2S) authentication](build-web-applications-server-server-s2s-authentication.md).
169169

170170
## Use Business Events to trigger automation
171171

172172
As business events becomes a common pattern, there will be multiple ways to enable automation.
173173

174174
The first experience where business events are exposed is in Power Automate Dataverse connector using the [When an action is performed (preview)](/connectors/commondataserviceforapps/#when-an-action-is-performed-(preview)) trigger.
175175

176-
:::image type="content" source="../../developer/data-platform/media/when-an-action-is-performed-trigger.png" alt-text="When an action is performed trigger":::
176+
:::image type="content" source="media/when-an-action-is-performed-trigger.png" alt-text="When an action is performed trigger":::
177177

178178
Within this experience Create, Update, and Delete events are not shown for table events. These events are already available using the [When a row is added, modified or deleted](/connectors/commondataserviceforapps/#when-a-row-is-added,-modified-or-deleted) trigger.
179179

180180

181181
## See Also
182182

183-
[Catalog and CatalogAssignment tables](../../developer/data-platform/catalog-catalogassignment.md)<br />
184-
[Enable Virtual Tables to support Dataverse events](../../developer/data-platform/virtual-entities/enable-virtual-table-event-support.md)
183+
[Catalog and CatalogAssignment tables](catalog-catalogassignment.md)<br />
184+
[Enable Virtual Tables to support Dataverse events](virtual-entities/enable-virtual-table-event-support.md)
185185

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

powerapps-docs/developer/data-platform/catalog-catalogassignment.md

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

1919
# Catalog and CatalogAssignment tables
2020

21-
Use the [Catalog](reference/entities/catalog.md) and [CatalogAssignment](reference/entities/catalogassignment.md) tables to create a structure to expose actions used in your solution as business events. Microsoft Dataverse Business events is a new capability currently being developed. Business events will enable many scenarios to create integrations with many applications through Dataverse. More information: [Microsoft Dataverse business events](../../maker/data-platform/business-events.md)
21+
Use the [Catalog](reference/entities/catalog.md) and [CatalogAssignment](reference/entities/catalogassignment.md) tables to create a structure to expose actions used in your solution as business events. Microsoft Dataverse Business events is a new capability currently being developed. Business events will enable many scenarios to create integrations with many applications through Dataverse. More information: [Microsoft Dataverse business events](business-events.md)
2222

2323
Your catalog will describe those events that are relevant to your solution so that people can use them. If you do not catalog the events relevant to your solution, they may not be available to people using your solution.
2424

@@ -500,7 +500,7 @@ For example:
500500

501501
### See also
502502

503-
[Microsoft Dataverse business events (preview)](../../maker/data-platform/business-events.md)<br />
503+
[Microsoft Dataverse business events (preview)](business-events.md)<br />
504504
[Create an entity record using the Web API](webapi/create-entity-web-api.md)<br />
505505
[Retrieve an entity record using the Web API](webapi/retrieve-entity-using-web-api.md)<br />
506506
[Create entities using the Organization Service](org-service/entity-operations-create.md)<br />

powerapps-docs/developer/data-platform/virtual-entities/enable-virtual-table-event-support.md

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

1919
# Enable Virtual Tables to support Dataverse events
2020

21-
You can allow Virtual entities to participate in asynchronous Dataverse Event Framework pipeline events and in the PowerAutomate Dataverse connector [When a row is added, modified or deleted](/connectors/commondataserviceforapps/#when-a-row-is-added,-modified-or-deleted) trigger. This capability is enabled as part of Dataverse business events. More information: [Microsoft Dataverse business events](../../../maker/data-platform/business-events.md)
21+
You can allow Virtual entities to participate in asynchronous Dataverse Event Framework pipeline events and in the PowerAutomate Dataverse connector [When a row is added, modified or deleted](/connectors/commondataserviceforapps/#when-a-row-is-added,-modified-or-deleted) trigger. This capability is enabled as part of Dataverse business events. More information: [Microsoft Dataverse business events (preview)](../business-events.md)
2222

2323
Without any of the configuration described in this topic, most virtual entities do not participate in the Event Framework pipeline like other entities. This means you cannot register plug-in steps against Create, Update, and Delete (CUD) events that occur, and although CUD events appear for these entities in the Power Automate Dataverse connector, an error is thrown when people try to save a flow that uses them.
2424

@@ -468,5 +468,5 @@ var service = new CrmServiceClient(conn);
468468
## See Also
469469

470470
[Event framework](../event-framework.md)<br />
471-
[Microsoft Dataverse business events](../../../maker/data-platform/business-events.md)<br />
471+
[Microsoft Dataverse business events (preview)](../business-events.md)<br />
472472
[Get started with virtual tables (entities)](get-started-ve.md)

0 commit comments

Comments
 (0)