Hi,
Are Application permissions going to be supported anytime?
Our permissions use non client client credentials grant flow, which only provides Application permissions. In this case, until this is supported, which authorization flow is recommended to grant Delegated permissions aswell? We use a JAVA API to send messages to teams channels.
Endpoint used: POST https://graph.microsoft.com/beta/teams/{id}/channels/{id}/messages
Thank you
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Supporting application permissions is something we plan to do but we do not have a date yet.
@ramjotSingh, supporting Application permissions is something my company definitely need, we want to send automatic posts to a Teams channel when critical key performance indicators and events are triggered.
@RamjotSingh - we need this as well. We could live with only being able to send messages to Channels that the Application created if granting wide-scale permissions is the road-block on this.
@jonathanfernandezfm, for Delegated permissions if you use msgraph-sdk-java-auth to authenticate, then you can use UsernamePasswordProvider.
Any update about Supporting application permissions?
We will share on Microsoft Graph Blog once we have application permissions for this API. Since the original question for this issue was answered. Closing it.
Any update on this? https://docs.microsoft.com/en-us/graph/teams-protected-apis states that Send message is not protected API, however, I still get this error:
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "c305d608-6a2b-4036-a455-e4771fe6550b",
"date": "2020-04-22T14:34:33"
}
}
}
Most helpful comment
@ramjotSingh, supporting Application permissions is something my company definitely need, we want to send automatic posts to a Teams channel when critical key performance indicators and events are triggered.