Hi @Chapter7-2723
Please kindly note that Microsoft Q&A forum recommends asking one question per thread so we can better focus on one question. It would also make searching answers easier for other community members.
In this case I would suggest we mainly focus on getting group id in Teams. For other questions, please consider creating a new thread. Thanks for your understanding.
Group IDs in Teams can be obtained and exported in the Teams admin center. Sign into the admin center, select Manage team, and export the list. Please refer to the screenshot below:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.