Skip to content

Commit d8863b7

Browse files
authored
Merge pull request #102136 from hamiltonha/patch-6
Tutorial fixes
2 parents 59b39ea + 45134cb commit d8863b7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

articles/active-directory/develop/tutorial-v2-android.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ If you do not already have an Android application, follow these steps to set up
8181
6. In the **Signature hash** section of the **Configure your Android app** page, click **Generating a development Signature Hash.** and copy the KeyTool command to use for your platform.
8282

8383
> [!Note]
84-
> KeyTool.exe is installed as part of the Java Development Kit (JDK). You must also install the OpenSSL tool to execute the KeyTool command.
84+
> KeyTool.exe is installed as part of the Java Development Kit (JDK). You must also install the OpenSSL tool to execute the KeyTool command. Refer to the [Android documentation on generating a key](https://developer.android.com/studio/publish/app-signing#generate-key) for more information.
8585
8686
7. Enter the **Signature hash** generated by KeyTool.
8787
8. Click `Configure` and save the **MSAL Configuration** that appears in the **Android configuration** page so you can enter it when you configure your app later. Click **Done**.
@@ -153,9 +153,12 @@ If you do not already have an Android application, follow these steps to set up
153153
jcenter()
154154
}
155155
dependencies{
156-
implementation 'com.microsoft.identity.client:msal:1.0.+'
156+
implementation 'com.microsoft.identity.client:msal:1.2.+'
157157
implementation 'com.microsoft.graph:microsoft-graph:1.5.+'
158158
}
159+
packagingOptions{
160+
exclude("META-INF/jersey-module-version")
161+
}
159162
```
160163
[More on the Microsoft Graph SDK](https://github.com/microsoftgraph/msgraph-sdk-java/)
161164

@@ -188,7 +191,7 @@ import com.microsoft.identity.client.exception.*;
188191
## Instantiate PublicClientApplication
189192
#### Initialize Variables
190193
```java
191-
private final static String[] SCOPES = {"User.Read"};
194+
private final static String[] SCOPES = {"File.Read"};
192195
/* Azure AD v2 Configs */
193196
final static String AUTHORITY = "https://login.microsoftonline.com/common";
194197
private ISingleAccountPublicClientApplication mSingleAccountApp;

0 commit comments

Comments
 (0)