Skip to content

Commit d71af31

Browse files
Merge pull request #67 from microsoft/users/caosadci/patreadme
Fixed README references from Graph to ADO
2 parents 0a2a4b6 + 5bee7cd commit d71af31

File tree

1 file changed

+4
-33
lines changed

1 file changed

+4
-33
lines changed

PersonalAccessTokenAPIAppSample/README.md

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -40,44 +40,15 @@ To run this sample, you'll need:
4040
From your shell or command line:
4141

4242
```Shell
43-
git clone https://github.com/Azure-Samples/ms-identity-python-webapp.git
43+
git clone https://github.com/microsoft/azure-devops-auth-samples.git
4444
```
4545

46-
or download and extract the repository .zip file.
46+
or download and extract the repository .zip file. Make sure you're working in the PersonalAccessTokenApiAppSample directory.
4747

4848
> Given that the name of the sample is quite long, you might want to clone it in a folder close to the root of your hard drive, to avoid file name length limitations when running on Windows.
4949
5050
### Step 2: Register the sample application with your Azure Active Directory tenant
5151

52-
There is one project in this sample. To register it, you can:
53-
54-
- either follow the steps [Step 2: Register the sample with your Azure Active Directory tenant](#step-2-register-the-sample-with-your-azure-active-directory-tenant) and [Step 3: Configure the sample to use your Azure AD tenant](#choose-the-azure-ad-tenant-where-you-want-to-create-your-applications)
55-
- or use PowerShell scripts that:
56-
- **automatically** creates the Azure AD applications and related objects (passwords, permissions, dependencies) for you
57-
- modify the applications' configuration files.
58-
59-
If you want to use this automation:
60-
61-
1. On Windows, run PowerShell and navigate to the root of the cloned directory
62-
1. In PowerShell run:
63-
64-
```PowerShell
65-
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force
66-
```
67-
68-
1. Run the script to create your Azure AD application and configure the code of the sample application accordingly.
69-
1. In PowerShell run:
70-
71-
```PowerShell
72-
cd .\AppCreationScripts\
73-
.\Configure.ps1
74-
cd ..
75-
```
76-
77-
> Other ways of running the scripts are described in [App Creation Scripts](./AppCreationScripts/AppCreationScripts.md)
78-
79-
If you don't want to use this automation, follow the steps below.
80-
8152
#### Choose the Azure AD tenant where you want to create your applications
8253

8354
As a first step you'll need to:
@@ -107,8 +78,8 @@ As a first step you'll need to:
10778
1. Select the **API permissions** section
10879
- Click the **Add a permission** button and then,
10980
- Ensure that the **Microsoft APIs** tab is selected
110-
- In the *Commonly used Microsoft APIs* section, click on **Microsoft Graph**
111-
- In the **Delegated permissions** section, ensure that the right permissions are checked: **User.ReadBasic.All**. Use the search box if necessary.
81+
- In the *Commonly used Microsoft APIs* section, click on **Azure DevOps**
82+
- In the **Delegated permissions** section, ensure that the right permissions are checked: **user_impersonation**. Use the search box if necessary.
11283
- Select the **Add permissions** button
11384

11485
### Step 3: Configure the sample to use your Azure AD tenant

0 commit comments

Comments
 (0)