Skip to main content
Solved

"Jamf" wants access to control "Microsoft Outlook

  • July 13, 2022
  • 3 replies
  • 51 views

BookMac
Forum|alt.badge.img+9

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!

Best answer by BookMac

Hey @wfrank!

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

 

3 replies

Forum|alt.badge.img+1
  • New Contributor
  • November 23, 2022

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

 


BookMac
Forum|alt.badge.img+9
  • Author
  • Jamf Heroes
  • June 5, 2024

No unfortunately not. :(


BookMac
Forum|alt.badge.img+9
  • Author
  • Jamf Heroes
  • Answer
  • January 23, 2025

Hey @wfrank!

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