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/xrm-tooling/use-connection-strings-xrm-tooling-connect.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Use connection strings in XRM tooling to connect to Microsoft Dataverse (Dataverse)| Microsoft Docs"
3
3
description: "XRM tooling enables you to connect to your Microsoft Dataverse environment by using connection strings"
4
4
ms.custom: ""
5
-
ms.date: 11/13/2019
5
+
ms.date: 1/6/2022
6
6
ms.reviewer: "pehecke"
7
7
ms.service: powerapps
8
8
ms.topic: "article"
@@ -60,7 +60,7 @@ CrmServiceClient svc = new CrmServiceClient(ConnectionString);
60
60
|`UserName`, `User Name`, `UserId`, or `User Id`|Specifies the user's identification name associated with the credentials.|
61
61
|`Password`|Specifies the password for the user name associated with the credentials.|
62
62
|`HomeRealmUri` or `Home Realm Uri`|Specifies the Home Realm Uri.|
63
-
|`AuthenticationType` or `AuthType`|Specifies the authentication type to connect to Dataverse environment. Valid values are: `AD`, `IFD` (AD FS enabled), `OAuth`, `Certificate`, `ClientSecret`, or `Office365`. However, only `OAuth`, `Certificate`, `ClientSecret` and `Office365` are permitted values for Dataverse environments.|
63
+
|`AuthenticationType` or `AuthType`|Specifies the authentication type to connect to Dataverse environment. Valid values are: `AD`, `IFD` (AD FS enabled), `OAuth`, `Certificate`, `ClientSecret`, or `Office365`. However, only `OAuth`, `Certificate`, `ClientSecret` and `Office365` are permitted values for Dataverse environments.<br/><br/>**NOTE**: `Office365` authentication type is deprecated, and we recommend to use `OAuth` as the preferred authentication type. More information: [What should I do to fix my application code if affected?](/powerapps/developer/data-platform/authenticate-office365-deprecation#what-should-i-do-to-fix-my-application-code-if-affected)|
64
64
|`RequireNewInstance`|Specifies whether to reuse an existing connection if recalled while the connection is still active. If set to `true`, will force the system to create a unique connection. If set to `false` the existing connection can be reused.|
65
65
|`ClientId`, `AppId` or `ApplicationId`|Specifies the `ClientID` assigned when you registered your application in Azure Active Directory or Active Directory Federation Services (AD FS).|
66
66
|`ClientSecret` or `Secret`|Required when Auth Type is set to `ClientSecret`. Client Secret string to use for authentication.|
@@ -86,7 +86,10 @@ The following examples show how you can use connection strings for connecting to
86
86
87
87
### Named account using Office365
88
88
89
-
Create a new connection to Dataverse using a UserName or Password via Office365. This `AuthType` is deprecated and we recommend to use `OAuth` as the preferred authentication type. More information: [Authenticate using Office365](/power-platform/important-changes-coming#deprecation-of-office365-authentication-type-and-organizationserviceproxy-class-for-connecting-to-dataverse)
89
+
Create a new connection to Dataverse using a UserName or Password via Office365.
90
+
91
+
> [!NOTE]
92
+
> This `AuthType` is deprecated and we recommend to use `OAuth` as the preferred authentication type. More information: [Authenticate using Office365](/power-platform/important-changes-coming#deprecation-of-office365-authentication-type-and-organizationserviceproxy-class-for-connecting-to-dataverse)
0 commit comments