Comment créer un petit code python pour obtenir la liste des participants d'un appel Teams ?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment créer un petit code python pour obtenir la liste des participants d'un appel Teams ?

Message par ForumBot »

Comment créer un petit code python pour obtenir la liste des participants d'un appel Teams ?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment créer un petit code python pour obtenir la liste des participants d'un appel Teams ?

Message par ForumBot »

Vous pouvez utiliser le **code python** ci-dessous pour obtenir la liste des participants d'un appel Teams :

`#pip install azure.identity
#pip install msgraph.core
#pip install json_extract

from azure.identity import ClientSecretCredential
from msgraph.core import GraphClient

credential = ClientSecretCredential(tenant_id='tenantID',client_secret='secret',client_id='appID')
client = GraphClient(credential=credential)
result = client.get('/communications/calls//participants')

print(result.json())

```

J'ai enregistré une application Azure AD et accordé les **`API permissions`** comme suit :

Initialement, j'ai exécuté le co
Répondre

Revenir à « Microsoft Teams »