Graph API can be used to automate Microsoft Teams lifecycle such as creating teams, channels, adding members etc.
Refer to this link to know the list of Graph APIs available for Microsoft Teams.
You will see how to retrieve the list of apps installed in the specified team by calling Graph API in PowerShell.
List apps in team.
Microsoft Graph Explorer
HTTP - GET https://graph.microsoft.com/v1.0/teams/{id}/installedApps?$expand=teamsAppDefinition

In this article, you will see how to perform the following tasks:
- Register an Application in Azure - Register an app in Azure AD and add the required permissions to access the Graph API
- Create and execute the PowerShell script
Register an application in Azure
Register an application in Azure AD to access the Teams Graph API.
- Navigate to Azure portal.
- Search for App Registrations. Click App Registrations as show below.

- Click New Registration.

- Enter the Name and click Register.

- App registered successfully. In the left navigation, click API Permissions.

- Click Add a permission.

- Select Microsoft Graph API as shown below.

- Click Application Permissions.










Join the conversation! Your thoughts help the community grow.