How to know if a Microsoft Teams app's status is allowed at the orgazitional level via an API call ?

Victor Fritz 21 Reputation points
2023-02-07T12:24:48.8066667+00:00

Hello,

Is there a way to know via a Microsoft Graph API call if an app can be downloaded by users in an organization (in other words, if the toggle is ON in the attached picture) ?

User's image

Moreover, is it possible to build an URL which would change app's status to "Allowed" when visiting it ? (in the oauth permission grant way) ?

Thank you !

Victor

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,845 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,015 questions
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.
3,551 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CharanyaB-MSFT 1,891 Reputation points Microsoft Vendor
    2023-02-08T11:58:15.1533333+00:00

    Hello @Victor Fritz,

    Thanks for reaching out!

    Currently, there is no property available in teamwork Graph API to check if the app is allowed/blocked to download by the users in the organization.

    Reference Documents:

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.