Forum Discussion
47sudeep
Sep 20, 2023Copper Contributor
Unable to access /me/joinedTeams. I am getting 401 status and message as "unknown".
Access token has all the valid scopes
This is the error I am facing.
What am I missing here
1 Reply
Sort By
- LeonPavesicSilver Contributor
Hi 47sudeep,
I have reviewed the two images you sent, and I have a few suggestions for how to troubleshoot the issue you are facing:
- Make sure that the access token you are using is valid and has the correct scopes. The /me/joinedTeams endpoint requires the User.Read scope.
- Try clearing the cache and cookies for your browser.
- Try using a different browser or device to access the endpoint.
- Try accessing the endpoint using a different network connection.
- If you are still having trouble, contact Microsoft support for assistance.
Here are some additional things to keep in mind:
- The /me/joinedTeams endpoint is a new endpoint, and it is possible that there are still some bugs or issues with it.
- The endpoint is also subject to rate limiting, so if you are making a lot of requests to it, you may be hitting the rate limit.
- If you are using a third-party library or SDK to access the endpoint, make sure that the library or SDK is up to date.
Here are some links that you may find helpful in troubleshooting the issue you are facing:
- Microsoft Graph documentation for the /me/joinedTeams endpoint: https://learn.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0
- Microsoft Graph troubleshooting guide: https://developer.microsoft.com/en-us/graph/known-issues
- Troubleshooting 401 Unauthorized errors in Microsoft Graph: https://learn.microsoft.com/en-us/answers/questions/1001701/graph-api-401-unauthorized-error
- How to resolve 401 Unauthorized errors in Microsoft Graph: https://learn.microsoft.com/en-us/answers/questions/1001701/graph-api-401-unauthorized-error
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic