microsoftgraph / microsoftgraph/msgraph-sdk-java

How to use v6 with updated msal authentication library for Android

Open
#2,137 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:documentation
Dominant language
Java
Stars
444
Forks
154
Avg merge
18h 28m
Merged PRs (30d)
4

Description

The Microsoft Graph sample Android app
https://github.com/microsoftgraph/msgraph-sample-android
no longer compiles with msgraph-sdk-java version 6.

There is an updated msal authentication library for Android
https://github.com/AzureAD/microsoft-authentication-library-for-android
and that works: I can sign in and out in a single account client application. But I have no idea how to connect to this library Microsoft Graph SDK for Java

Particularly: the old project had a class AuthorizationHelper that bridged for getting updated tokens between the signed in ClientApplication and the GraphServiceClient.

Any example or documentation on how build that connection with this v6 library?

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.

Research direction

Start by comparing the msgraph-sample-android project with the updated Microsoft Authentication Library for Android and the msgraph-sdk-java v6 integration. Read the old AuthorizationHelper reference in the issue and determine how the signed-in client application connects to GraphServiceClient. Done means the sample has clear guidance or an example that compiles and supports sign-in, token use, and sign-out.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, documentation, mobile
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.