Skip to content

Commit 183c03b

Browse files
committed
erikre-oob2208-15363982 1.3
1 parent 8f4f1a6 commit 183c03b

8 files changed

Lines changed: 71 additions & 71 deletions

memdocs/intune/developer/app-sdk-android-appendix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ms.custom: intune-classic
3232

3333
# Microsoft Intune App SDK for Android developer guide
3434

35-
The Microsoft Intune App SDK for Android lets you incorporate Intune app protection policies (also known as **APP*- or MAM policies) into your native Java/Kotlin Android app. An Intune-managed application is one that is integrated with the Intune App SDK. Intune administrators can easily deploy app protection policies to your Intune-managed app when Intune actively manages the app.
35+
The Microsoft Intune App SDK for Android lets you incorporate Intune app protection policies (also known as **APP** or MAM policies) into your native Java/Kotlin Android app. An Intune-managed application is one that is integrated with the Intune App SDK. Intune administrators can easily deploy app protection policies to your Intune-managed app when Intune actively manages the app.
3636

3737
## Stage Goals
3838
The guide contains greater detail about the Intune App SDK's architecture, information about uncommon integration steps, and other helpful content.

memdocs/intune/developer/app-sdk-android-phase1.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ ms.custom: intune-classic
3232

3333
# Intune App SDK for Android - Plan the integration
3434

35-
The Microsoft Intune App SDK for Android lets you incorporate Intune app protection policies (also known as **APP*- or MAM policies) into your native Java/Kotlin Android app. An Intune-managed application is one that is integrated with the Intune App SDK. Intune administrators can easily deploy app protection policies to your Intune-managed app when Intune actively manages the app.
35+
The Microsoft Intune App SDK for Android lets you incorporate Intune app protection policies (also known as **APP** or MAM policies) into your native Java/Kotlin Android app. An Intune-managed application is one that is integrated with the Intune App SDK. Intune administrators can easily deploy app protection policies to your Intune-managed app when Intune actively manages the app.
3636

37-
# Stage 1: Plan the Integration
37+
## Stage 1: Plan the Integration
3838

3939
This guide is for Android developers who are looking to add support for Microsoft Intune's App Protection Policies inside their existing Android app.
4040

@@ -80,7 +80,7 @@ Your app can skip integrating MSAL **only if all of the following are true**:
8080
- Your application doesn't need to support non-Intune accounts.
8181
- Your application doesn't grant access to any resources protected by Conditional Access.
8282

83-
If your app satisfies **all of the above conditions*- and doesn't integrate MSAL, it can still be protected by App Protection Policy, albeit with no option for unmanaged usage. See [Default Enrollment] for details.
83+
If your app satisfies **all of the above conditions** and doesn't integrate MSAL, it can still be protected by App Protection Policy, albeit with no option for unmanaged usage. See [Default Enrollment] for details.
8484

8585
See [Stage 2: The MSAL Prerequisite] for instructions on integrating MSAL and additional details on identity scenarios inside your application.
8686

@@ -96,7 +96,7 @@ If so, your application is **single-identity**.
9696
Does your application display multiple accounts' data on a shared screen?
9797
Does your application store multiple accounts' data?
9898
Does your application let users switch between different logged in accounts?
99-
If so, your application is **multi-identity*- and you'll need to follow [Stage 5: Multi-Identity]. **This section is required for your app.**
99+
If so, your application is **multi-identity** and you'll need to follow [Stage 5: Multi-Identity]. **This section is required for your app.**
100100

101101
Even if your application is multi-identity, follow this integration guide in order.
102102
Initially integrating and testing as single-identity will help ensure proper integration and prevent bugs where corporate data ends up unprotected.
@@ -133,7 +133,7 @@ See [Policy for protecting backup data] in [Stage 7: App Participation Features]
133133
feature that can be used to control access to AAD resources.
134134
Intune administrators can define CA rules that allow resource access only from devices or apps that are managed by Intune.
135135

136-
Intune supports two types of CA: **device-based CA*- and **app-based CA**, also known as [App Protection CA].
136+
Intune supports two types of CA: **device-based CA** and **app-based CA**, also known as [App Protection CA].
137137
Device-based CA blocks access to protected resources until the entire device is managed by Intune.
138138
App-based CA blocks access to protected resources until the specific app is managed by Intune App Protection Policies.
139139

@@ -155,7 +155,7 @@ The Intune App SDK for Android relies on the presence of the [Company Portal] ap
155155
> When the Company Portal app is not on the device, an SDK-integrated app behaves the same as a normal app that does not support Intune app protection policies.
156156
> Even if the Company Portal app is on the device, an SDK-integrated app behaves the same as a normal when the end user is not targeted with app protection policy.
157157
158-
The user is ***not**- required to sign into or even launch the Company Portal app for App Protection Policy to function.
158+
The user is ***not*** required to sign into or even launch the Company Portal app for App Protection Policy to function.
159159

160160
### Android versions
161161

@@ -195,7 +195,7 @@ To create a new account:
195195
Before you test app protection policy settings within your own application, it's helpful to familiarize yourself with how these settings behave inside other SDK-integrated applications.
196196

197197
> [!TIP]
198-
> If your app isn't listed in the Microsoft Endpoint Manager portal, you can target it with a policy by selecting the **more apps*- option and providing the package name in the text box.
198+
> If your app isn't listed in the Microsoft Endpoint Manager portal, you can target it with a policy by selecting the **more apps** option and providing the package name in the text box.
199199
> You must target your app with app protection policy and deploy the policy to a user to successfully test your integration.
200200
> Even if policy is targeted and deployed, your app will not properly enforce policies until it has successfully integrated the SDK.
201201

memdocs/intune/developer/app-sdk-android-phase2.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ ms.custom: intune-classic
3232

3333
# Intune App SDK for Android - Understand the MSAL Prerequisite
3434

35-
The Microsoft Intune App SDK for Android lets you incorporate Intune app protection policies (also known as **APP*- or MAM policies) into your native Java/Kotlin Android app. An Intune-managed application is one that is integrated with the Intune App SDK. Intune administrators can easily deploy app protection policies to your Intune-managed app when Intune actively manages the app.
35+
The Microsoft Intune App SDK for Android lets you incorporate Intune app protection policies (also known as **APP** or MAM policies) into your native Java/Kotlin Android app. An Intune-managed application is one that is integrated with the Intune App SDK. Intune administrators can easily deploy app protection policies to your Intune-managed app when Intune actively manages the app.
3636

3737
> [!NOTE]
3838
> This guide is divided into several distinct stages. Start by reviewing [Plan the Integration](..\developer\app-sdk-android-phase1.md).
3939
40-
# Stage 2: The MSAL Prerequisite
40+
## Stage 2: The MSAL Prerequisite
4141

4242
## Stage Goals
4343

@@ -66,7 +66,7 @@ To learn more about MSAL, see the [MSAL Wiki] and [list of MSAL libraries].
6666
## Register your Application with AAD
6767

6868
Before integrating MSAL into your Android application, follow the instructions to [register your application with Azure Active Directory].
69-
This will generate a **Client ID*- for your application.
69+
This will generate a **Client ID** for your application.
7070

7171
Next, follow the instructions to [give your app access to the Intune app protection service].
7272

@@ -117,12 +117,12 @@ These settings include:
117117
| Setting | Description | Required for MSAL? | Required by Intune? |
118118
| - | - | - | - |
119119
| `ClientID` | The AAD ClientID (also known as the "Application ID") for your app. <br> There's no default `ClientID`. Use the `ClientID` from [Register your Application with AAD] for your app. | Yes | No |
120-
| `Authority` | The AAD authority to issue a token. <br> By default, this value is the AAD public environment. If overridden, the AAD authority entered will issue the token for your application, which allows authentication to non-default environments, such as Sovereign clouds. | No | If your application requires a non-default authority, yes. **Most apps should not set the Authority parameter.*- |
121-
| `SkipBroker` | Boolean value for altering the default MSAL SSO behavior. <br> By default, this value is "false". | No | If your app doesn't support brokered authentication/device-wide SSO, yes and set `SkipBroker` to "true". **Most apps should not set the SkipBroker parameter.*- |
122-
| `NonBrokerRedirectURI` | [AAD redirect URI] to use in broker-less cases. By default, this value isn't present. | No | If the `SkipBroker` setting is set to "true" and your app requires a redirect URI, yes. **Most apps should not set the NonBrokerRedirectURI parameter.*- |
120+
| `Authority` | The AAD authority to issue a token. <br> By default, this value is the AAD public environment. If overridden, the AAD authority entered will issue the token for your application, which allows authentication to non-default environments, such as Sovereign clouds. | No | If your application requires a non-default authority, yes. **Most apps should not set the Authority parameter.** |
121+
| `SkipBroker` | Boolean value for altering the default MSAL SSO behavior. <br> By default, this value is "false". | No | If your app doesn't support brokered authentication/device-wide SSO, yes and set `SkipBroker` to "true". **Most apps should not set the SkipBroker parameter.** |
122+
| `NonBrokerRedirectURI` | [AAD redirect URI] to use in broker-less cases. By default, this value isn't present. | No | If the `SkipBroker` setting is set to "true" and your app requires a redirect URI, yes. **Most apps should not set the NonBrokerRedirectURI parameter.** |
123123

124124
> [!CAUTION]
125-
> Applications that do not integrate MSAL **must not*- include any of these 4 properties in the manifest.
125+
> Applications that do not integrate MSAL **must not** include any of these 4 properties in the manifest.
126126
127127
For more detail on non-Intune-specific MSAL configuration options, see [Android Microsoft Authentication Library configuration file].
128128

memdocs/intune/developer/app-sdk-android-phase3.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ ms.custom: intune-classic
3232

3333
# Intune App SDK for Android - Get started with MAM
3434

35-
The Microsoft Intune App SDK for Android lets you incorporate Intune app protection policies (also known as **APP*- or MAM policies) into your native Java/Kotlin Android app. An Intune-managed application is one that is integrated with the Intune App SDK. Intune administrators can easily deploy app protection policies to your Intune-managed app when Intune actively manages the app.
35+
The Microsoft Intune App SDK for Android lets you incorporate Intune app protection policies (also known as **APP** or MAM policies) into your native Java/Kotlin Android app. An Intune-managed application is one that is integrated with the Intune App SDK. Intune administrators can easily deploy app protection policies to your Intune-managed app when Intune actively manages the app.
3636

3737
> [!NOTE]
3838
> This guide is divided into several distinct stages. Start by reviewing [Plan the Integration](..\developer\app-sdk-android-phase1.md).
3939
40-
# Stage 3: Getting Started with MAM
40+
## Stage 3: Getting Started with MAM
4141

4242
## Stage Goals
4343

@@ -78,14 +78,14 @@ The Intune App SDK consists of the following files:
7878
## Referencing Intune App libraries
7979

8080
The Intune App SDK is a standard Android library with no external dependencies.
81-
**Microsoft.Intune.MAM.SDK.aar*- contains both the interfaces necessary for enabling app protection policies and the code necessary to interoperate with the Microsoft Intune Company Portal app.
81+
**Microsoft.Intune.MAM.SDK.aar** contains both the interfaces necessary for enabling app protection policies and the code necessary to interoperate with the Microsoft Intune Company Portal app.
8282

83-
**Microsoft.Intune.MAM.SDK.aar*- must be specified as an Android library reference:
83+
**Microsoft.Intune.MAM.SDK.aar** must be specified as an Android library reference:
8484

8585
1. Open your app project in Android Studio and go to **File > New > New module**.
8686
2. Select **Import .JAR/.AAR Package**.
8787
3. Select Microsoft.Intune.MAM.SDK.aar to create a module for the *.AAR- file type.
88-
4. Right-click the module or modules containing your app code and go to **Module Settings*- > **Dependencies tab*- > **+ icon*- > **Module dependency**.
88+
4. Right-click the module or modules containing your app code and go to **Module Settings** > **Dependencies tab** > **+ icon** > **Module dependency**.
8989
5. Select the MAM SDK AAR module you just created and select **OK**. This will ensure that your module compiles with the MAM SDK when you build your project.
9090

9191
### ProGuard
@@ -102,7 +102,7 @@ The SDK provides build tools (a plugin for Gradle builds and a command-line tool
102102
These tools transform the class files generated by Java compilation; they don't modify the original source code.
103103
You're required to use either the Gradle plugin or command-line tool.
104104

105-
**The build tooling alone is not sufficient to fully integrate your application.*-
105+
**The build tooling alone is not sufficient to fully integrate your application.**
106106
The tools perform [class and method replacements] only.
107107
They don't perform any more complex SDK integrations such as [Multi-Identity], [Registering for App Protection Policy], [Policy for limiting data transfer between apps and device or cloud storage locations], or [MSAL configuration], which must be completed before your app is fully Intune enabled.
108108
Carefully review the rest of this documentation for integration points relevant to your app.
@@ -171,10 +171,10 @@ The Gradle plugin has a dependency on [Javassist], which must be made available
171171
> [!NOTE]
172172
> Javassist versions may not be backwards compatible.
173173
> Generally, you should use the exact version expected by the MAM SDK:
174-
>| MAM SDK Version | Javassist version |
175-
>|-|-|
176-
>| ≥ 7.0.0 | 3.27.0-GA |
177-
>| < 7.0.0 | 3.22.0-GA |
174+
> | MAM SDK Version | Javassist version |
175+
> |-|-|
176+
> | ≥ 7.0.0 | 3.27.0-GA |
177+
> | < 7.0.0 | 3.22.0-GA |
178178
179179
Additionally, when consuming MAM SDK 8.0.0+, you must ensure the following is set in your Gradle configuration:
180180

@@ -326,8 +326,8 @@ This would have the following effects:
326326

327327
- the `product-foo-project` directory is rewritten to `mam-build\product-foo-project`
328328
- `bar.jar` is rewritten to `mam-build\libs\bar.jar`
329-
- `zap.jar` is **not*- rewritten because it is only listed in `--classpath`
330-
- The `com.contoso.SplashActivity` class is **not*- rewritten even if it is in `--input`
329+
- `zap.jar` is **not** rewritten because it is only listed in `--classpath`
330+
- The `com.contoso.SplashActivity` class is **not** rewritten even if it is in `--input`
331331

332332
> [!WARNING]
333333
> The build tool does not currently support aar files.
@@ -336,7 +336,7 @@ This would have the following effects:
336336
## Setting MAMApplication
337337
If your app creates a subclass of `android.app.Application`, then the build plugin / command line tool will transform your application class.
338338

339-
If your app doesn't subclass `android.app.Application`, then you **must*- set `"com.microsoft.intune.mam.client.app.MAMApplication"` as the `"android:name"` attribute in your AndroidManifest.xml's `<application>` tag.
339+
If your app doesn't subclass `android.app.Application`, then you **must** set `"com.microsoft.intune.mam.client.app.MAMApplication"` as the `"android:name"` attribute in your AndroidManifest.xml's `<application>` tag.
340340

341341
## Recommended Android best practices
342342

0 commit comments

Comments
 (0)