Deploy files to custom locations on MacsSolved

Participant
Discussion
1 week ago

Hey!

I’m trying to push an MS PowerPoint file to macOS devices using the File Management action. The action shows as successfully associated with the device, but the file never shows up at the target location: /Library/Group Containers/UBF8T346G9.Office/User Content/Templates

I even tried using a custom script, but still no luck – the file isn’t landing where it should. Any idea why this is happening?

Replies (1)

Marked SolutionPending Review
Hexnode Expert
1 week ago
Marked SolutionPending Review

Hi @aurora,

Here’s what’s going on: when you use the path

/Library/Group Containers/UBF8T346G9.Office/User Content/Templates

the file gets pushed to the system-level library. But Office apps on macOS actually keep their group container data in the user-level library. Since Hexnode’s File Management action doesn’t support dropping files directly into user libraries right now, the file doesn’t appear where you expect.

No worries though, you can work around this with a custom script that puts the file into the desired library. All you’ll need is a publicly downloadable link for the file, then just substitute it in the script below:

The script ensures the file is placed in the correct directory for the logged-in user. If you face any issues during implementation, feel free to reach out – we’ll be happy to help.

Cheers,
Ben Clarke
Hexnode UEM

Save