Skip to main content
Question

First time open of office apps -> call company portal

  • January 10, 2020
  • 3 replies
  • 20 views

Forum|alt.badge.img+10

I would like that first time a user open any office application it will call company portal policy so the device can be registrated as we use conditional access.

I would rather not have it in my enrollment, as it should work without any prompts the basic software installation.

Any idea of how this is can be done ? - Office will be installed during enrollment, so don“t know if there is any scripting experts that can give some input or there may be even another way?

3 replies

Forum|alt.badge.img+10
  • Author
  • Contributor
  • January 12, 2020

Anyone?


Forum|alt.badge.img+9
  • New Contributor
  • January 13, 2020

Jamf can not take action based on an app being launched.


Forum|alt.badge.img+10
  • Valued Contributor
  • January 13, 2020

You could do some investigation and figure out if a new file is created upon first launch. I suspect there would be or at least a modified one. If there is then it is possible to set a launch agent/daemon to watch a path for changes. You could then use that to trigger a policy. Build in a cleanup routine to remove the launch agent/daemon once the policy is done. It is possible but would require a good bit of digging and a lot of testing. It really depends on when you need this policy to run.