Skip to content

Commit fd69683

Browse files
Merge pull request #250878 from henrymbuguakiarie/fq24-q1-pm-request-update-msal-android-shared-devices
New section: third party support
2 parents c8cfd9d + fe4bbad commit fd69683

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

articles/active-directory/develop/msal-android-shared-devices.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ms.custom: aaddev, identitypla | Azuretformtop40
1919

2020
Frontline workers such as retail associates, flight crew members, and field service workers often use a shared mobile device to do their work. That becomes problematic when they start sharing passwords or pin numbers to access customer and business data on the shared device.
2121

22-
Shared device mode allows you to configure an Android device so that it can be easily shared by multiple employees. Employees can sign in and access customer information quickly. When they're finished with their shift or task, they can sign out of the device and it will be immediately ready for the next employee to use.
22+
Shared device mode allows you to configure an Android device so that it can be easily shared by multiple employees. Employees can sign in and access customer information quickly. When they're finished with their shift or task, they can sign out of the device, and it will be immediately ready for the next employee to use.
2323

2424
Shared device mode also provides Microsoft identity backed management of the device.
2525

@@ -56,7 +56,7 @@ The following object model illustrates the type of object you may receive and wh
5656

5757
![public client application inheritance model](media/v2-shared-device-mode/ipublic-client-app-inheritance.png)
5858

59-
You'll need to do a type check and cast to the appropriate interface when you get your `PublicClientApplication` object. The following code checks for multiple account mode or single account mode, and casts the application object appropriately:
59+
You need to do a type check and cast to the appropriate interface when you get your `PublicClientApplication` object. The following code checks for multiple account modes or single account modes, and casts the application object appropriately:
6060

6161
```java
6262
private IPublicClientApplication mApplication;
@@ -83,7 +83,7 @@ The following differences apply depending on whether your app is running on a sh
8383

8484
## Why you may want to only support single-account mode
8585

86-
If you're writing an app that will only be used for frontline workers using a shared device, we recommend you write your application to only support single-account mode. This includes most applications that are task focused such as medical records apps, invoice apps, and most line-of-business apps. Only supporting single-account mode simplifies development because you won't need to implement the additional features that are part of multiple-account apps.
86+
If you're writing an app that will only be used for frontline workers using a shared device, we recommend you write your application to only support single-account mode. This includes most applications that are task focused such as medical records apps, invoice apps, and most line-of-business apps. Only supporting single-account mode simplifies development because you won't need to implement the other features that are part of multiple-account apps.
8787

8888
## What happens when the device mode changes
8989

@@ -101,13 +101,19 @@ These Microsoft applications support Azure AD's shared device mode:
101101
- [Microsoft Power BI Mobile](/power-bi/consumer/mobile/mobile-app-shared-device-mode) (preview)
102102
- [Microsoft Viva Engage](/viva/engage/overview) (previously [Yammer](/yammer))
103103

104+
## Third-party MDMs that support shared device mode
105+
106+
This third-party Mobile Device Management (MDM) that supports Azure AD's shared device mode:
107+
108+
- [VMware Workspace ONE](https://blogs.vmware.com/euc/2023/08/announcing-general-availability-of-shared-device-conditional-access-with-vmware-workspace-one-and-microsoft-entra-id.html)
109+
104110
## Shared device sign-out and the overall app lifecycle
105111

106-
When a user signs out, you'll need to take action to protect the privacy and data of the user. For example, if you're building a medical records app you'll want to make sure that when the user signs out previously displayed patient records are cleared. Your application must be prepared for data privacy and check every time it enters the foreground.
112+
When a user signs out, you need to take action to protect the privacy and data of the user. For example, if you're building a medical records app you want to make sure that when the user signs out previously displayed patient records are cleared. Your application must be prepared for data privacy and check every time it enters the foreground.
107113

108114
When your app uses MSAL to sign out the user in an app running on device that is in shared mode, the signed-in account and cached tokens are removed from both the app and the device.
109115

110-
The following diagram shows the overall app lifecycle and common events that may occur while your app runs. The diagram covers from the time an activity launches, signing in and signing out an account, and how events such as pausing, resuming, and stopping the activity fit in.
116+
The following diagram shows the overall app lifecycle and common events that may occur while your app runs. The diagram covers from the time an activity launch, signing in and signing out an account, and how events such as pausing, resuming, and stopping the activity fit in.
111117

112118
![Shared device app lifecycle](media/v2-shared-device-mode/lifecycle.png)
113119

0 commit comments

Comments
 (0)