Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Access Token for non-Microsoft Graph API

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, java

Research direction

Review the existing Android sample applications and the IAuthenticationResult.getAccessToken() flow, then compare their Microsoft Graph usage with the reported Postman and application requests. Done means documenting or demonstrating access to a non-Microsoft Graph API hosted on the same server, including the bearer-token requirements that avoid the reported 401 response.

Written by the indexing model from the issue text.

Description

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions
Mention any other details that might be useful

I am trying to access an API on the same server that my android app is registered. The process of logging into the android app works fine. I have attempted to use the IAuthenticationResult.getAccessToken() generated to access an API on the same server as a bearer token unsuccessfully. I get a 401 Unauthorized error message both on Postman and my application. The sample applications available including this one work fine with Microsoft Graph but I haven't seen any sample accessing other forms of API including end points hosted in the same client.


Thanks! We'll be in touch soon.

Dominant language
Java
Stars
34
Forks
30
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure-Samples/ms-identity-android-java

All issues in Azure-Samples/ms-identity-android-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.