Hello,
is there a way to download a list of all the teams and users from MSteams with python API?
Can u tell me where i can find that?
Hello,
is there a way to download a list of all the teams and users from MSteams with python API?
Can u tell me where i can find that?
Hello,
There's no direct method to download but you can use graph API and write some code around it to download.
You can use List all teams in Microsoft Teams for an organization and List users graph APIs to get the required data.
Here is the sample utilizing the Microsoft Graph API to retrieve data about the user. You can modify this as per your requirements.
Thanks,
Hunaid Hanfee
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Hi,
I can login in the graph app and i can see the teams of my organisation.
https://graph.microsoft.com/v1.0/groups
so that is fine, but what is the complete API URL so i can use this in python with request
Hello,
To use it inside app you need to get access token and then you can use same https://graph.microsoft.com/v1.0/groups to get desire data.
Here are the two ways to get access token:
1. Get access without a user.
2. Get access on behalf of a user.
Hello,
We haven't heard anything from you. Is this issue solved for you?
If the response is helpful, please click "Accept Answer" and upvote it.
Thanks
4 people are following this question.