Share via

401 - Unauthorised Error while accessing Graph API for MS Teams beta version

Anonymous
2018-08-20T10:30:14+00:00

Hello,

I'm trying to access message of Particular group in MS Teams using Graph API.

I'm using below URL to get Teams messages.

https://graph.microsoft.com/beta/teams/{group-id-for-teams}/channels/{channel-id}/messages

I have passed correct token generated using below URL.

https://login.microsoftonline.com/{Tenent Id}/oauth2/v2.0/token

I'm facing 401 - Unauthorised error while accessing message.

I'm able to access SharePoint Graph APIs using same access_token but can't access beta Version APIs.

Is there any solution for such situation??

Microsoft Teams | Microsoft Teams for business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-08-20T12:15:52+00:00

Hi Vaibhav Chauhan,

It's recommended to ask this question in our dedicated Graph API MSDN forum to get targeted help. MSDN forum is built up for developers and we have different support teams working there to handle developing related questions. Here is the forum link: https://social.msdn.microsoft.com/Forums/Lync/en-US/home?forum=graphde

Hopefully the issue can be resolved soon.

Regards,

Leo

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful