installed app not listed in installedApps API

Copper Contributor

 

Hi All,

 

I have uploaded a custom app and installed it on a particular user.

But when tried executing https://graph.microsoft.com/v1.0/users/xxxxxx/teamwork/installedApps?$expand=teamsAppDefinition API is not listing the application.

 

Do I need to do something else also?

 

Thanks,

Pratap

7 Replies

@Pratapkarn2186 - Could you please share the error details which you are getting?

@Prasad_Das-MSFT 

Screenshot 2022-09-26 at 3.25.48 PM.png

I am not getting any error, but the application is not getting listed in response of the inatalledApps API call out.

Attaching the screenshot of the published app for my organization.

 

 

@Pratapkarn2186 - Could you please share the API document which you are referring, and your API query details?
1.Is your app installed in personal scope?
2.Do you mean when you are running the API query, you are getting all other installed apps except this one or you are not getting any apps at all?

 

@Prasad_Das-MSFT :


API : https://graph.microsoft.com/v1.0/users/XXXXXXX/teamwork/installedApps?$expand=teamsAppDefinition

yes the app is installed on the personal scope.

I don't see this particular app, in response I do see "@odata.count": 66 and other applications


@Pratapkarn2186 - Could you please follow this API doc to Retrieve the app installed in the personal scope of the specified user. ? Please use {app-installation-id} of your app and let us know the result.
Get installed app for user - Microsoft Graph v1.0 | Microsoft Learn

 

@Prasad_Das-MSFT : Can you help me how to get {app-installation-id} value.
I don't see anything like this in the team's admin portal or in the Manifest file. In the Admin portal, i do see App Id and External app Id.