Posted on 07-13-2022 03:09 AM
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!
11-23-2022 05:04 AM - edited 11-23-2022 05:06 AM
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...
Posted on 06-05-2024 05:11 AM
No unfortunately not. :(