Forum Discussion

JeremyTBradshaw's avatar
JeremyTBradshaw
Steel Contributor
Jul 13, 2020
Solved

Guidance with Outlook App Configuration Policies and Conf.Keys for Android

First off, I'm referring to the Configuration Key com.microsoft.intune.mam.AllowedAccountUPNs, documented here https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/outlook-...
  • JeremyTBradshaw's avatar
    Jul 13, 2020

    FYI in case anyone else gets in their own way like I do/did...

     

    The answer is that we still use "valueString" as the type, but then we separate UPNs in our list using semicolon instead of comma.  I found this info here:

     

    https://docs.microsoft.com/en-us/mem/intune/apps/app-configuration-policies-use-android#allow-only-configured-organization-accounts-in-multi-identity-apps

     

    Specifically:

    Allow only configured organization accounts in multi-identity apps

    As the Microsoft Intune administrator, you can control which work or school accounts are added to Microsoft apps on managed devices. You can limit access to only allowed organization user accounts and block personal accounts on enrolled devices. For Android devices, use the following key/value pairs in a Managed Devices app configuration policy:

    Key: com.microsoft.intune.mam.AllowedAccountUPNs

    Values:

    • One or more ; delimited UPNs.
    • Only account(s) allowed are the managed user account(s) defined by this key.
    • For Intune enrolled devices, the {{userprincipalname}} token may be used to represent the enrolled user account.

    "Only account(s) allowed are the managed user account(s) defined by this key." is oddly-written but oh well.

Resources