microsoft-authentication-library-for-android icon indicating copy to clipboard operation
microsoft-authentication-library-for-android copied to clipboard

HTTP request to /me/joinedTeams fails

Open rojaslcc opened this issue 3 years ago • 2 comments

Describe the bug I implement a single account login, I get the token in my Android app. But I can only get data from the /me endpoint, but if I try to use /me/joinedTeams I get an unknown error with code 401 Unauthorized. To implement the login I relied on the code from this repo: https://github.com/Azure-Samples/ms-identity-android-kotlin

Smartphone

  • Device: Samsung s21+ and Android Studio Emulator
  • Android Version: Android 12
  • Browser: Brave
  • MSAL Version: 3.0.+

Result { "error": { "code": "Unauthorized", "message": "UnknownError", "innerError": { "date": "2022-06-24T14:02:08", "request-id": "59b26e4a-331a-423f-8ece-fda856bd18f1", "client-request-id": "59b26e4a-331a-423f-8ece-fda856bd18f1" } } }

rojaslcc avatar Jun 24 '22 15:06 rojaslcc

@rojaslcc Can you please share the the arguments to acquiretoken in order to request this token. Also if you can share the correlationid?

negoe avatar Jul 18 '22 16:07 negoe

@rojaslcc Let us know, if this is solved for you. We will close the issue. Thanks!

negoe avatar Aug 08 '22 16:08 negoe