Posted on ‎11-17-2020 02:08 AM
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
Posted on ‎12-01-2020 07:17 PM
Try <integer> instead, with 1 for True and 0 for False.
Posted on ‎12-02-2020 02:32 AM
It doesn't seem to work.
But thank you anyway.
Posted on ‎12-04-2020 11:57 AM
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!
Posted on ‎12-04-2020 12:36 PM
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!
Posted on ‎03-01-2021 05:39 AM
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/>
Posted on ‎03-11-2021 06:18 AM
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".
Posted on ‎03-11-2021 12:02 PM
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.
Posted on ‎03-13-2021 03:31 PM
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 ?
Posted on ‎03-14-2021 11:26 AM
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.
Posted on ‎03-15-2021 02:54 AM
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).
Posted on ‎09-28-2021 09:00 AM
Did anyone have issues in getting the user variable? For me, it is appearing as the variable name.
Thank you
Posted on ‎10-06-2021 04:08 AM
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.
Posted on ‎06-19-2023 08:07 AM
Is there a way to set outlook as the default mail app ?
Posted on ‎06-20-2023 12:55 AM
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.
Posted on ‎06-20-2023 01:02 AM
Thanks Zamo, i cannot find a setting for it 🤷‍♀️