Outlook iOs App Configuration

t_santos
New Contributor II

Hello

I'm trying to set an app configuration for Outlook on iOs using :

<dict>
<key>com.microsoft.outlook.EmailProfile.AccountType</key>
<string>ModernAuth</string>
<key>com.microsoft.outlook.EmailProfile.EmailAccountName</key>
<string>Mail XXX</string>
<key>com.microsoft.outlook.EmailProfile.EmailAddress</key>
<string>$EMAIL</string>
<key>com.microsoft.outlook.EmailProfile.EmailUPN</key>
<string>$EMAIL</string>
<key>IntuneMAMAllowedAccountsOnly</key>
<string>Disabled</string>
<key>IntuneMAMUPN</key>
<string>$EMAIL</string>
</dict>

So far it's working perfectly.

But i want to enable/disable more settings.
So i followed the information available on microsoft website :
https://docs.microsoft.com/fr-fr/exchange/clients-and-mobile-in-exchange-online/outlook-for-ios-and-android/outlook-for-ios-and-android-configuration-with-microsoft-intune#deploying-configuration-scenarios-with-microsoft-endpoint-manager-for-unenrolled-devices

And when i try to add things like this it doesn't work.

<key>com.microsoft.outlook.mail.focusedInbox</key>
<boolean>false</boolean>
<key>com.Microsoft.Outlook.contacts.LocalSyncEnabled</key>
<boolean>false</boolean>
<key>com.Microsoft.Outlook.contacts.LocalSyncEnabled.UserChangeAllowed</key>
<boolean>false</boolean>
<key>com.Microsoft.Outlook.mail.DefaultSignatureEnabled</key>
<boolean>false</boolean>
<key>com.Microsoft.Outlook.mail.SuggestedRepliesEnabled</key>
<boolean>false</boolean>

The "boolean" part seems to be the problem.
Does anyone of you faced the same issue ? or having a solution maybe ?
Thank you

15 REPLIES 15

OJtheD
New Contributor II

Try <integer> instead, with 1 for True and 0 for False.

t_santos
New Contributor II

It doesn't seem to work.
But thank you anyway.

OJtheD
New Contributor II

I've been looking into this stuff some, myself... Another thing I've learned is that Capitalization does matter for these keys... I'm not sure whether that'll be helpful, but worth a try!

timlarsen
Contributor

Hey! I don't have any specific answers to your question, but I wanted to chime in and recommend you check out the MacAdmins workspace on Slack, specifically the #microsoft-office channel. This just seemed to me like the kind of thing that may have been asked there already by other admins. Good luck!

zamo
New Contributor III

I think it is too late for an answer but I found out how jamf is handling booleans in the app config.
This example here should need no additional words (and yes, this is everything):

<key>com.microsoft.outlook.Mail.FocusedInbox</key>
    <false/>

t_santos
New Contributor II

Thank you for your answer.
It's not too late, i had giving up on finding a solution.
But sadly, it doesn't work either, i have an error "incorrect format".

3c8435f649884c1eb877b6ceab932a63

zamo
New Contributor III

Try this:

<dict>
    <key>com.microsoft.outlook.EmailProfile.AccountType</key>
    <string>ModernAuth</string>
    <key>com.microsoft.outlook.EmailProfile.EmailAddress</key>
    <string>$EMAIL</string>
    <key>com.microsoft.outlook.EmailProfile.EmailUPN</key>
    <string>$EMAIL</string>
    <key>com.microsoft.outlook.Mail.FocusedInbox</key>
    <false/>
    <key>com.microsoft.outlook.Mail.OrganizeByThreadEnabled</key>
    <false/>
    <key>com.microsoft.outlook.Mail.DefaultSignatureEnabled</key>
    <false/>
    <key>IntuneMAMAllowedAccountsOnly</key>
    <string>Disabled</string>
    <key>IntuneMAMUPN</key>
    <string>$EMAIL</string>
</dict>

This is the config I use.
The username will be logged in automaticly (Office365), focused inbox is disabled by default, so are the threadorganisation and the default signature. The layout also have to look like that or you will get the incorrect format error.

VitorCostaUK
New Contributor III

Is it possible to generate the configuration without intune? Just to configure staff email addresses and focused inbox as off ?
And maybe to add a shared mailbox ?

zamo
New Contributor III

Yes it is. You can use the jamf appconfig generator to do this. Keep in mind that some of the entries made by the generator might be obsolete due to replacement wich can lead to some errormessages.
It makes sense to compare this attributes with the KB Article and delete every entry wich is not listed there.

Use this to disable the focused mailbox by default:

    <key>com.microsoft.outlook.Mail.FocusedInbox</key>
    <false/>

and this to use the mailbox set in jamf:

    <key>com.microsoft.outlook.EmailProfile.EmailAddress</key>
    <string>$EMAIL</string>

There is no way to open shared mailboxes with the appconfig as far as I know.

t_santos
New Contributor II

Thank you Zamo !
I don't know what i did wrong ... but copying your config worked perfectly (I even made some modifications and it still OK).

miguelfc
New Contributor III

Did anyone have issues in getting the user variable? For me, it is appearing as the variable name.

 

Thank you

 

zamo
New Contributor III

I think it only uses the e-mailadress for that. So $EMAIL should work instead.

At least with Microsoft 365 they don't use any special usernames for variables as far as I know.

usdawapple
New Contributor

Is there a way to set outlook as the default mail app ?

zamo
New Contributor III

As far as I know, only on the device itself.

Settings > Outlook > Standard-Mail-App

I've looked up for a global setting in jamf a while ago but haven't found any. Maybe they've added it since then.

Thanks Zamo, i cannot find a setting for it 🤷‍:female_sign: