Skip to content

Commit 6828efc

Browse files
Update README.md
1 parent 99b5635 commit 6828efc

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

ManagedClientConsoleAppSample/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ For native applications which cannot support interactive authentication prompts,
66

77
## Sample Application
88

9-
This buildable sample will walk you through the steps to create a client-side console application which uses ADAL to authenticate a user via an interactive prompt and return a list of all projects inside a selected VSTS account.
9+
This buildable sample will walk you through the steps to create a client-side console application which uses ADAL to authenticate a user via an interactive prompt and return a list of all projects inside a selected Azure DevOps account.
1010

11-
To run this sample for an [Azure Active Directory](https://docs.microsoft.com/en-us/azure/active-directory/active-directory-whatis) backed VSTS account you will need:
11+
To run this sample for an [Azure Active Directory](https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-whatis) backed Azure DevOps account you will need:
1212
* [Visual Studio IDE](https://www.visualstudio.com/vs/)
13-
* An Azure Active Directory (AAD) tenant. If you do not have one, follow these [steps to set up an AAD](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-howto-tenant)
13+
* An Azure Active Directory (AAD) tenant. If you do not have one, follow these [steps to set up an AAD](https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-create-new-tenant)
1414
* A user account in your AAD tenant
15-
* A VSTS account backed by your AAD tenant where your user account has access. If you have an existing VSTS account not connected to your AAD tenant follow these [steps to connect your AAD tenant to your VSTS account](https://www.visualstudio.com/en-us/docs/setup-admin/team-services/manage-organization-access-for-your-account-vs)
15+
* A Azure DevOps account backed by your AAD tenant where your user account has access. If you have an existing Azure DevOps account not connected to your AAD tenant follow these [steps to connect your AAD tenant to your Azure DevOps account](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/manage-azure-active-directory-groups-vsts?view=vsts&tabs=new-nav)
1616

17-
To run this sample for a [Microsoft Account](https://account.microsoft.com/account) backed VSTS account you will need:
17+
To run this sample for a [Microsoft Account](https://account.microsoft.com/account) backed Azure DevOps account you will need:
1818
* [Visual Studio IDE](https://www.visualstudio.com/vs/)
19-
* A VSTS account not connected to AAD
19+
* A Azure DevOps account not connected to AAD
2020

2121

2222
## Step 1: Clone or download vsts-auth-samples repository
@@ -26,10 +26,10 @@ From a shell or command line:
2626
git clone https://github.com/Microsoft/vsts-auth-samples.git
2727
```
2828

29-
## Step 2: Register the sample application with you Azure Active Directory tenant (AAD backed VSTS account)
29+
## Step 2: Register the sample application with you Azure Active Directory tenant (AAD backed Azure DevOps account)
3030

3131
```no-highlight
32-
If you are a Microsoft Account backed VSTS account please skip this step.
32+
If you are a Microsoft Account backed Azure DevOps account please skip this step.
3333
```
3434

3535
1. Sign in to the [Azure Portal](https://portal.azure.com).
@@ -38,30 +38,30 @@ If you are a Microsoft Account backed VSTS account please skip this step.
3838
4. Click on `App registrations` and select `New application registration` from the top bar.
3939
5. Enter a `name` for you application, ex. "Adal native app sample", choose `Native` for `application type`, and enter `http://adalsample` for the `Redirect URI`. Finally click `create` at the bottom of the screen.
4040
6. Save the `Application ID` from your new application registration. You will need it later in this sample.
41-
7. Grant permissions for VSTS. Click `Required permissions` -> `add` -> `1 Select an API` -> type in and select `Microsoft Visual Studio Team Services` -> check the box for `Delegated Permissions` -> click `Select` -> click `Done` -> click `Grant Permissions` -> click `Yes`.
41+
7. Grant permissions for Azure DevOps. Click `Required permissions` -> `add` -> `1 Select an API` -> type in and select `Azure DevOps (Microsoft Visual Studio Team Services)` -> check the box for `Delegated Permissions` -> click `Select` -> click `Done` -> click `Grant Permissions` -> click `Yes`.
4242

4343
## Step 3: Install and configure ADAL (optional)
4444

4545
Package: `Microsoft.Identity.Model.Clients.ActiveDirectory` has already been installed and configured in the sample, but if you are adding to your own project you will need to [install and configure it yourself](https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory).
4646

47-
## Step 4a: Run the sample (AAD backed VSTS account)
47+
## Step 4a: Run the sample (AAD backed Azure DevOps account)
4848

4949
1. Navigate to the ADAL C# sample in cloned repo `vsts-auth-samples/ManagedClientConsoleAppSample/`.
5050
2. Open the solution file `ManagedClientConsoleAppSample.sln` in [Visual Studio 2017](https://www.visualstudio.com/downloads/).
5151
3. Use [Nuget package restore](https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore) to ensure you have all dependencies installed.
5252
4. Open CS file `Program.cs` and there is a section with input values to change at the top of the class:
53-
* `vstsCollectionUrl` - update this with the url to your VSTS/TFS collection, e.g. http://myaccount.visualstudio.com for VSTS.
53+
* `azDevOrganizationUrl` - update this with the url to your Azure DevOps/TFS collection, e.g. http://dev.azure.com/myaccount for Azure DevOps.
5454
* `clientId` - update this with the `application id` you saved from step 2.6 above.
5555
* `replyUri` - update this to `http://adalsample`, you can add other reply urls in [azure portal](https://portal.azure.com)
5656
5. Build and run the solution. After running you should see an interactive login prompt. Then after authentication and authorization, a list of all projects inside of your account.
5757

58-
## Step 4b: Run the sample (Microsoft Account backed VSTS account)
58+
## Step 4b: Run the sample (Microsoft Account backed Azure DevOps account)
5959

6060
1. Navigate to the ADAL C# sample in cloned repo `vsts-auth-samples/ManagedClientConsoleAppSample/`.
6161
2. Open the solution file `ManagedClientConsoleAppSample.sln` in [Visual Studio 2017](https://www.visualstudio.com/downloads/).
6262
3. Use [Nuget package restore](https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore) to ensure you have all dependencies installed.
6363
4. Open CS file `Program.cs` and there is a section with input values to change at the top of the class:
64-
* `vstsCollectionUrl` - update this with the url to your VSTS/TFS collection, e.g. http://myaccount.visualstudio.com for VSTS.
64+
* `azDevOrganizationUrl` - update this with the url to your Azure DevOps/TFS collection, e.g. http://dev.azure.com/myaccount for Azure DevOps.
6565
* `clientId` - Do not change this value. It must be used to run the sample successfully.
6666
* `replyUri` - Do not change this value. It must be used to run the sample successfully.
6767
5. Build and run the solution. After running you should see an interactive login prompt. Then after authentication and authorization, a list of all projects inside of your account.

0 commit comments

Comments
 (0)