Skip to main content

Hi folks,
we have a policy available in Self-Service, which executes a script that opens Microsoft Outlook and set some settings.

#!/bin/sh

#Get current User
currentuser=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name 😕 && ! /loginwindow/ { print $3 }')
echo $currentuser

#Runs Apple Script with current User
sudo -u $currentuser /usr/bin/osascript -e 'tell application "Microsoft Outlook" to set properties of exchange account 1 to {ldap server:"xxx.xxx.local", ldap use ssl:true, ldap port:"xxx"}'

When executed from Self-Service we are getting a pop-up asking for "Jamf wants to control access to Microsoft Outlook".

We've created a mobileconfig with PPPC but still get the pop-up.

Can someone give us a hint how we can solve this?

thx and regards!

Have you ever figured out how this works? I have the same issue with an Outlook Apple Script.

I have also tried giving every Application on the left "Accessibility" Access, but still...

 


No unfortunately not. :(


Hey @wfrank!


i find a solution, that worked for us:
PPPC Outlook SSL.mobileconfig 


 


Reply