Skip to content

Commit 00a0421

Browse files
committed
Changed AuthType from Office365 to OAuth
1 parent 60674a9 commit 00a0421

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

powerapps-docs/developer/data-platform/org-service/quick-start-org-service-console-app.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Quickstart: Organization service sample (C#) (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This quickstart will show you how to connect to the organization service of the Microsoft Dataverse" # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 04/25/2019
5+
ms.date: 02/13/2021
66
ms.reviewer: "pehecke"
77
ms.service: powerapps
88
ms.topic: "article"
@@ -31,7 +31,7 @@ You will use the <xref:Microsoft.Xrm.Sdk.IOrganizationService>.<xref:Microsoft.X
3131

3232
## Prerequisites
3333

34-
- Visual Studio (2017 recommended)
34+
- Visual Studio (2019 recommended)
3535
- Internet connection
3636
- Valid user account for a Dataverse instance
3737
- Your username
@@ -82,9 +82,12 @@ You will use the <xref:Microsoft.Xrm.Sdk.IOrganizationService>.<xref:Microsoft.X
8282

8383
string conn = $@"
8484
Url = {url};
85-
AuthType = Office365;
85+
AuthType = OAuth;
8686
UserName = {userName};
8787
Password = {password};
88+
AppId = 51f81489-12ee-4a9e-aaae-a2591f45987d;
89+
RedirectUri = app://58145B91-0C36-4500-8554-080854F2AC97;
90+
LoginPrompt=Auto;
8891
RequireNewInstance = True";
8992

9093
using (var svc = new CrmServiceClient(conn))

0 commit comments

Comments
 (0)