Skip to content

Commit 12118ab

Browse files
authored
Merge pull request #4 from Azure-Samples/addingRequirements
Adding requirements.txt files
2 parents a5535ed + d4e9198 commit 12118ab

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

1-Call-MsGraph-WithSecret/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ If you want to use this automation:
8484
8585
1. Run the sample
8686

87+
You'll need to install the dependencies using pip as follows:
88+
89+
```Shell
90+
pip install -r requirements.txt
91+
```
92+
93+
Run `confidential_client_secret_sample.py` with the parameters for the app:
94+
8795
```Shell
8896
python confidential_client_secret_sample.py parameters.json
8997
```
@@ -143,7 +151,13 @@ Open the parameters.json file
143151
144152
### Step 4: Run the sample
145153
146-
Start the application, it will display the users in the tenant.
154+
You'll need to install the dependencies using pip as follows:
155+
156+
```Shell
157+
pip install -r requirements.txt
158+
```
159+
160+
Start the application, it will display some Json string containing the users in the tenant.
147161
148162
```Shell
149163
python confidential_client_secret_sample.py parameters.json
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
requests>=2,<3
2+
msal>=0,<2

2-Call-MsGraph-WithCertificate/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ If you want to use this automation:
8383
> Other ways of running the scripts are described in [App Creation Scripts](./AppCreationScripts/AppCreationScripts.md)
8484
8585
1. Run the sample
86+
You'll need to install the dependencies using pip as follows:
87+
88+
```Shell
89+
pip install -r requirements.txt
90+
```
91+
92+
Run `confidential_client_certificate_sample.py` with the parameters for the app:
8693

8794
```Shell
8895
python confidential_client_certificate_sample.py parameters.json
@@ -159,7 +166,13 @@ Open the `parameters.json` file
159166
160167
### Step 4: Run the sample
161168
162-
Start the application, it will display the users in the tenant.
169+
You'll need to install the dependencies using pip as follows:
170+
171+
```Shell
172+
pip install -r requirements.txt
173+
```
174+
175+
Start the application, it will display some Json string containing the users in the tenant.
163176
164177
```Shell
165178
python confidential_client_certificate_sample.py parameters.json
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
requests>=2,<3
2+
msal>=0,<2

0 commit comments

Comments
 (0)