Skip to main content
Question

Outlook iOs App Configuration


Forum|alt.badge.img+3

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

Forum|alt.badge.img+1
  • New Contributor
  • 7 replies
  • December 2, 2020

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


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 6 replies
  • December 2, 2020

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


Forum|alt.badge.img+1
  • New Contributor
  • 7 replies
  • December 4, 2020

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!


Forum|alt.badge.img+9
  • Valued Contributor
  • 61 replies
  • December 4, 2020

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!


Forum|alt.badge.img+7
  • Contributor
  • 32 replies
  • March 1, 2021

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/>

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 6 replies
  • March 11, 2021

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".


Forum|alt.badge.img+7
  • Contributor
  • 32 replies
  • March 11, 2021

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.


Forum|alt.badge.img+4
  • Contributor
  • 20 replies
  • March 13, 2021

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 ?


Forum|alt.badge.img+7
  • Contributor
  • 32 replies
  • March 14, 2021

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.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 6 replies
  • March 15, 2021

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).


Forum|alt.badge.img+6
  • Contributor
  • 10 replies
  • September 28, 2021

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

 

Thank you

 


Forum|alt.badge.img+7
  • Contributor
  • 32 replies
  • October 6, 2021

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.


Forum|alt.badge.img+1
  • New Contributor
  • 2 replies
  • June 19, 2023

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


Forum|alt.badge.img+7
  • Contributor
  • 32 replies
  • June 20, 2023
usdawapple wrote:

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


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.


Forum|alt.badge.img+1
  • New Contributor
  • 2 replies
  • June 20, 2023
zamo wrote:

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 🤷‍♀️


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings