Skip to content

Commit 9edf47a

Browse files
authored
Merge pull request #5696 from MicrosoftDocs/KumarVivek-patch-1
Added a note about deprecation
2 parents 694ba4b + 72fd833 commit 9edf47a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

powerapps-docs/developer/data-platform/xrm-tooling/use-connection-strings-xrm-tooling-connect.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Use connection strings in XRM tooling to connect to Microsoft Dataverse (Dataverse)| Microsoft Docs"
33
description: "XRM tooling enables you to connect to your Microsoft Dataverse environment by using connection strings"
44
ms.custom: ""
5-
ms.date: 11/13/2019
5+
ms.date: 1/6/2022
66
ms.reviewer: "pehecke"
77
ms.service: powerapps
88
ms.topic: "article"
@@ -60,7 +60,7 @@ CrmServiceClient svc = new CrmServiceClient(ConnectionString);
6060
|`UserName`, `User Name`, `UserId`, or `User Id`|Specifies the user's identification name associated with the credentials.|
6161
|`Password`|Specifies the password for the user name associated with the credentials.|
6262
|`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)|
6464
|`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.|
6565
|`ClientId`, `AppId` or `ApplicationId`|Specifies the `ClientID` assigned when you registered your application in Azure Active Directory or Active Directory Federation Services (AD FS).|
6666
|`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
8686

8787
### Named account using Office365
8888

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)
9093
9194
```xml
9295
<add name="MyCDSServer"

0 commit comments

Comments
 (0)