How to enable application permissions for Graph on a React Teams app?

r4m1on 1 Reputation point
2022-05-17T06:23:07.633+00:00

Hi,

So I'm trying to access this Graph endpoint on a Teams application I'm building but I cant figure out how to initialize teamsfx so that the identity type is an application instead of a User because this endpoint is only accessible with application permissions. I'm using the hooks from @microsoft/teamsfx-react taken from some teams sample application but there seems to be little documentation. Any help would be nice.

Thank you!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,254 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,844 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.
2,921 questions
{count} votes