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

  • Question

  • 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??

    Tuesday, August 21, 2018 6:56 AM