You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-Call-MsGraph-WithSecret/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ products:
7
7
- azure-active-directory
8
8
- dotnet-core
9
9
- office-ms-graph
10
-
description: "Python daemon console app using MSAL.Pyton to get an access token and call Microsoft Graph (client secret variation)."
10
+
description: "Python daemon console app using MSAL Python to get an access token and call Microsoft Graph (client secret variation)."
11
11
---
12
12
13
13
# A simple Python daemon console application calling Microsoft Graph with its own identity (client secret variation)
@@ -18,7 +18,7 @@ description: "Python daemon console app using MSAL.Pyton to get an access token
18
18
19
19
This sample application shows how to use the [Microsoft identity platform endpoint](http://aka.ms/aadv2) to access the data of Microsoft business customers in a long-running, non-interactive process. It uses the [OAuth 2 client credentials grant](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow) to acquire an access token, which can be used to call the [Microsoft Graph](https://graph.microsoft.io) and access organizational data
20
20
21
-
The app is Python Console application. It gets the list of users in an Azure AD tenant by using `Microsoft Authentication Library (MSAL) for .NET` to acquire a token.
21
+
The app is Python Console application. It gets the list of users in an Azure AD tenant by using `Microsoft Authentication Library (MSAL) for Python` to acquire a token.
22
22
23
23
## Scenario
24
24
@@ -235,17 +235,17 @@ Content: {
235
235
236
236
## Variation: daemon application using client credentials with certificates
237
237
238
-
See [..\2-Call-MsGraph-WithCertificate](..\2-Call-MsGraph-WithCertificate)
238
+
See [../2-Call-MsGraph-WithCertificate](../2-Call-MsGraph-WithCertificate)
239
239
240
240
## Community Help and Support
241
241
242
242
Use [Stack Overflow](http://stackoverflow.com/questions/tagged/msal) to get support from the community.
243
243
Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
244
-
Make sure that your questions or comments are tagged with [`msal``dotnet`].
244
+
Make sure that your questions or comments are tagged with [`msal``python`].
245
245
246
246
If you find a bug in the sample, please raise the issue on [GitHub Issues](../../issues).
247
247
248
-
If you find a bug inmsal.Net, please raise the issue on [MSAL.NETGitHub Issues](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues).
248
+
If you find a bug inMsal Python, please raise the issue on [MSAL Python GitHub Issues](https://github.com/AzureAD/microsoft-authentication-library-for-python/issues).
249
249
250
250
To provide a recommendation, visit the following [User Voice page](https://feedback.azure.com/forums/169401-azure-active-directory).
Copy file name to clipboardExpand all lines: 2-Call-MsGraph-WithCertificate/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ products:
7
7
- azure-active-directory
8
8
- dotnet-core
9
9
- office-ms-graph
10
-
description: "Python daemon console app using MSAL.Pyton to get an access token and call Microsoft Graph (client secret variation)."
10
+
description: "Python daemon console app using MSAL Python to get an access token and call Microsoft Graph (client secret variation)."
11
11
---
12
12
13
13
# A simple Python daemon console application calling Microsoft Graph with its own identity (client certificate variation)
@@ -16,9 +16,9 @@ description: "Python daemon console app using MSAL.Pyton to get an access token
16
16
17
17
### Overview
18
18
19
-
This sample application shows how to use the [Microsoft identity platform endpoint](http://aka.ms/aadv2) to access the data of Microsoft business customers in a long-running, non-interactive process. It uses the [OAuth 2 client credentials grant](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow) to acquire an access token, which can be used to call the [Microsoft Graph](https://graph.microsoft.io) and access organizational data
19
+
This sample application shows how to use the [Microsoft identity platform endpoint](http://aka.ms/aadv2) to access the data of Microsoft business customers in a long-running, non-interactive process. It uses the [OAuth 2 client credentials grant](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow) to acquire an access token, which can be used to call the [Microsoft Graph](https://graph.microsoft.io) and access organizational data.
20
20
21
-
The app is Python Console application. It gets the list of users in an Azure AD tenant by using `Microsoft Authentication Library (MSAL) for .NET` to acquire a token.
21
+
The app is a Python Console application. It gets the list of users in an Azure AD tenant by using `Microsoft Authentication Library (MSAL) for Python` to acquire a token.
Go to the `"2-Call-MsGraph-WithCertificat"` folder
55
55
56
56
```Shell
57
-
cd"2-Call-MsGraph-WithCertificate"
57
+
cd 2-Call-MsGraph-WithCertificate
58
58
```
59
59
60
-
or download and exact the repository .zip file.
60
+
or download and extract the repository .zip file.
61
61
62
62
> Given that the name of the sample is pretty long, you might want to clone it in a folder close to the root of your hard drive, to avoid file size limitations on Windows.
63
63
@@ -88,7 +88,7 @@ If you want to use this automation:
If ou don't want to use this automation, follow the steps below
91
+
If you don't want to use this automation, follow the steps below:
92
92
93
93
#### Choose the Azure AD tenant where you want to create your applications
94
94
@@ -251,17 +251,17 @@ Content: {
251
251
252
252
## Variation: daemon application using client credentials with client secret
253
253
254
-
For the other variation, see [..\1-Call-MsGraph-WithSecret](..\1-Call-MsGraph-WithSecret)
254
+
For the other variation, see [../1-Call-MsGraph-WithSecret](../1-Call-MsGraph-WithSecret)
255
255
256
256
## Community Help and Support
257
257
258
258
Use [Stack Overflow](http://stackoverflow.com/questions/tagged/msal) to get support from the community.
259
259
Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
260
-
Make sure that your questions or comments are tagged with [`msal``dotnet`].
260
+
Make sure that your questions or comments are tagged with [`msal``python`].
261
261
262
262
If you find a bug in the sample, please raise the issue on [GitHub Issues](../../issues).
263
263
264
-
If you find a bug inmsal.Net, please raise the issue on [MSAL.NETGitHub Issues](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues).
264
+
If you find a bug inMsal Python, please raise the issue on [MSAL Python GitHub Issues](https://github.com/AzureAD/microsoft-authentication-library-for-python/issues).
265
265
266
266
To provide a recommendation, visit the following [User Voice page](https://feedback.azure.com/forums/169401-azure-active-directory).
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ languages:
5
5
- powershell
6
6
products:
7
7
- azure-active-directory
8
-
description: "This sample demonstrates a Python daemon console app calling a Microsoft Graph that is secured using the Microsoft identity platform."
8
+
description: "This sample demonstrates a Python daemon console app calling the Microsoft Graph that is secured using the Microsoft identity platform."
9
9
urlFragment: ms-identity-python-webapp
10
10
---
11
11
@@ -25,7 +25,7 @@ Taxonomies for products and languages: https://review.docs.microsoft.com/new-hop
25
25
26
26
You want to write a daemon application that consumes organizational data using Microsoft Graph and using **Microsoft Identity Platform** to acquire tokens.
27
27
28
-
For details see [Daemon apps scenario](https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-daemon-overview)
28
+
For details see [Daemon apps scenario](https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-daemon-overview).
29
29
30
30
### Structure of the repository
31
31
@@ -47,15 +47,15 @@ To run this sample, you'll need:
47
47
>```
48
48
>- An Azure Active Directory (Azure AD) tenant. For more information on how to get an Azure AD tenant, see [how to get an Azure AD tenant.](https://docs.microsoft.com/azure/active-directory/develop/quickstart-create-new-tenant)
49
49
50
-
## Setup and run the sample. Learn key concepts
50
+
## Setup and run the sample
51
51
52
52
Download and extract the repository .zip fileor, from your shell or command line:
0 commit comments