You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/authenticate-office365-deprecation.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
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."
4
4
ms.custom: ""
5
5
ms.date: 03/23/2021
6
6
ms.reviewer: "pehecke"
@@ -16,7 +16,7 @@ search.app:
16
16
- D365CE
17
17
---
18
18
19
-
# Use Microsoft 365 authentication with Microsoft Dataverse
19
+
# Use Office365 authentication with Microsoft Dataverse
20
20
21
21
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).
22
22
@@ -54,8 +54,7 @@ using (OrganizationServiceProxy organizationServiceProxy =
TheAppIdandRedirectUriprovidedaboveareexamplesofworkingapplicationregistrationvalues. Thesevaluesworkeverywhereouronlineservicesaredeployed. However, theyareprovidedhereasexamplesandyouareencouragedtocreateyourownapplicationregistrationinAzureActiveDirectory (AAD) for applications running in your tenant.<p/>
83
+
TheAppIdandRedirectUriprovidedaboveareexamplesofworkingapplicationregistrationvalues. Thesevaluesworkeverywhereouronlineservicesaredeployed. However, theyareprovidedhereasexamplesandyouareencouragedtocreateyourownapplicationregistrationinAzureActiveDirectory (AzureAD) for applications running in your tenant.<p/>
85
84
86
85
- 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.
87
86
@@ -98,4 +97,4 @@ To do this, you must first register the application user (Service Principal) in
98
97
WewillbemonitoringthePowerAppsALMandProDevcommunity [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
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/best-practices/business-logic/develop-iplugin-implementations-stateless.md
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/business-events.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Automation of business logic and integration with other systems are driven by ev
27
27
- Web Hooks
28
28
- Dataverse plug-ins
29
29
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)
31
31
32
32
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.
33
33
@@ -51,7 +51,7 @@ Dataverse business events includes concepts from [Dynamics Finance and Operation
51
51
52
52
## Event Catalog
53
53
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)
55
55
56
56
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.
57
57
@@ -78,15 +78,15 @@ If your solution consists of multiple dependent solutions, you may define the ro
78
78
79
79
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.
80
80
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)
82
82
83
83
Add only those tables which contain business data that will be of interest to subscribers. You should not try to include every table.
84
84
85
85
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.
86
86
87
87
## Custom Events
88
88
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).
90
90
91
91
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.
92
92
@@ -110,7 +110,7 @@ When you consider custom apis to catalog as business events in your solution use
110
110
111
111
### Custom Process Actions
112
112
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.
114
114
115
115
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.
116
116
@@ -119,7 +119,7 @@ However, custom process actions have the following limitations:
119
119
- 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.
120
120
- 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.
121
121
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)
123
123
124
124
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.
125
125
@@ -136,7 +136,7 @@ Custom APIs created for external events should align to these principles:
136
136
137
137
- They should not have any plug-in type specified for the main operation.
138
138
- 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.
140
140
- They should not have any response properties, only request parameters.
141
141
- With no synchronous logic, there is no way to set response properties.
142
142
@@ -165,22 +165,22 @@ The key requirement to use custom API to send business events is that your appli
165
165
166
166
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.
167
167
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).
169
169
170
170
## Use Business Events to trigger automation
171
171
172
172
As business events becomes a common pattern, there will be multiple ways to enable automation.
173
173
174
174
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.
175
175
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":::
177
177
178
178
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.
179
179
180
180
181
181
## See Also
182
182
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)
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/catalog-catalogassignment.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ search.app:
18
18
19
19
# Catalog and CatalogAssignment tables
20
20
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)
22
22
23
23
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.
24
24
@@ -500,7 +500,7 @@ For example:
500
500
501
501
### See also
502
502
503
-
[Microsoft Dataverse business events (preview)](../../maker/data-platform/business-events.md)<br />
503
+
[Microsoft Dataverse business events (preview)](business-events.md)<br />
504
504
[Create an entity record using the Web API](webapi/create-entity-web-api.md)<br />
505
505
[Retrieve an entity record using the Web API](webapi/retrieve-entity-using-web-api.md)<br />
506
506
[Create entities using the Organization Service](org-service/entity-operations-create.md)<br />
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/virtual-entities/enable-virtual-table-event-support.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ search.app:
18
18
19
19
# Enable Virtual Tables to support Dataverse events
20
20
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)
22
22
23
23
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.
24
24
@@ -468,5 +468,5 @@ var service = new CrmServiceClient(conn);
468
468
## See Also
469
469
470
470
[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 />
472
472
[Get started with virtual tables (entities)](get-started-ve.md)
0 commit comments