Unable to get the app ID of my custom bot from the Microsoft Graph API appCatalogs/teamsApps endpoint

park 0 Reputation points
2023-07-14T07:55:04.2333333+00:00

I made a Teams custom app to use as a workbot on Workato.
I created a bot on https://dev.teams.microsoft.com/apps and posted to the organization and it works well.
I can find the bot on Teams > App > Built for your org and I can send message as a bot.

By the way, in order to use other features of Workato, I need to be able to get the id of my bot but when I made a ms grap api get request with appCatalogs/teamsApps endpoint, I can't find the id of my bot which is custom app.
How can I get my app id from reqeusting appcatalogs/teamsapps endpoint? 

My app has been approved and is avlailable in the teams app catalog.

I can't see the "build for your org" menu on the global admin account and I can't search for my app, but I can see my app on a regular user account that doesn't have admin rights. The ms graph api connection is used by logging in with a global admin account.

Should I set the app to be visible to global admin? What should I do if I have to?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,752 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Meghana-MSFT 3,586 Reputation points Microsoft Vendor
    2023-07-17T10:19:33.8766667+00:00

    If you want to get the bot id(id from azure registration), then it is currently not supported.

    GET /appCatalogs/teamsApps returns the externalId which is the ID of the catalog provided by the app developer in the Microsoft Teams zip app package.

    Thanks, 

    Meghana

    ************************************************************************* 

    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.