Microsoft-graph-docs: Permissions requires / Unknown error

Created on 16 Dec 2019  Â·  7Comments  Â·  Source: microsoftgraph/microsoft-graph-docs

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


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

teams

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.

All 7 comments

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"
}
}
}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrewfabrizi picture andrewfabrizi  Â·  3Comments

dcnoren picture dcnoren  Â·  4Comments

joostvdlinden picture joostvdlinden  Â·  4Comments

GregSpyra picture GregSpyra  Â·  4Comments

aaronrogers picture aaronrogers  Â·  3Comments