-
Posts
633 -
Joined
-
Last visited
-
claudeai says DEPLOYING THE FRESHSERVICE DISCOVERY AGENT TO macOS WITH INTUNE ================================================================ THE PROBLEM ----------- The FS-Agent.pkg comes with a configuration.json file. That file holds the AccountURI and RegistrationKey. Intune has no option to pass these to the installer. THE SOLUTION ------------ You don't need to pass anything to the installer. Let the PKG install as normal. Then use an Intune post-install script to write the config file to the place the agent actually reads it from: /Library/Freshservice-Agent/Freshservice-Discovery-Agent/conf/Configuration.json The agent runs as a LaunchDaemon from: /Library/LaunchDaemons/freshservice.agent.daemon.plist STEPS IN INTUNE --------------- 1. Go to Apps > macOS > Add. 2. Choose "macOS app (PKG)". (Do NOT use "Line-of-business app". Only the PKG type supports pre-install and post-install scripts.) 3. Upload FS-Agent.pkg. 4. On the scripts step, paste the script below into the POST-INSTALL script box. It runs as root. 5. Assign to a test group first. POST-INSTALL SCRIPT ------------------- Replace the JSON section with the exact contents of the configuration.json file Freshservice gave you. Key names are case-sensitive, so copy and paste rather than retyping. ------------------------- START OF SCRIPT ------------------------- #!/bin/zsh CONF_DIR="/Library/Freshservice-Agent/Freshservice-Discovery-Agent/conf" PLIST="/Library/LaunchDaemons/freshservice.agent.daemon.plist" mkdir -p "$CONF_DIR" # Paste the exact contents of your configuration.json below cat > "$CONF_DIR/Configuration.json" <<'EOF' { "accountUri": "https://yourtenant.freshservice.com", "registrationKey": "YOUR-KEY-HERE" } EOF chmod 644 "$CONF_DIR/Configuration.json" # Restart the daemon so it picks up the config and registers if [[ -f "$PLIST" ]]; then launchctl bootout system "$PLIST" 2>/dev/null launchctl bootstrap system "$PLIST" fi exit 0 -------------------------- END OF SCRIPT -------------------------- TESTING ON A MAC ---------------- Before a wide rollout, install on one test Mac and confirm: 1. The config file is in place and correct: sudo cat /Library/Freshservice-Agent/Freshservice-Discovery-Agent/conf/Configuration.json 2. The daemon is running: sudo launchctl list | grep freshservice 3. The device appears in Freshservice. If the conf path is different on your agent version, update the CONF_DIR line in the script to match. SECURITY NOTE ------------- The registration key sits inside the script, so anyone with Intune app admin rights can read it. This is usually acceptable, but worth knowing. FALLBACK OPTIONS ---------------- If the post-install script method gives you trouble: Option A - Repackage Build a new PKG with the JSON already placed in the right folder, using Composer, pkgbuild, or Whitebox Packages. Upload that to Intune instead. Option B - Shell script Deploy an Intune macOS shell script that runs "installer" itself and then writes the config file. Both work, but the PKG + post-install script method is the cleanest, and Intune still handles detection through the package receipt.
-
https://prettychairs.co.uk/royal-mail-post-box/ http://thepostboxcompany.co.uk/ ebay as loads https://www.ebay.co.uk/itm/405950261901?chn=ps&_ul=GB&google_free_listing_action=view_item trip to nz finds https://www.trademe.co.nz/a/search?search_string=royal mail post box
-
keep an eye on this thread
-
I have read it a cert issue with the drivers
-
Just fixed mine Lattitude 7410, needed to reinstall Dell ControlVault3 Driver and Firmware. all over reddit blaming some defender updates
-
Send to Mail Recipient broken on Latest ver. of Win 10?
markcuk replied to asm's topic in Windows 10
Need to get sendmaill.dll from a older version of windows 10 and copy to system32 and syswow64. I had a problem where the email picture did not work https://social.technet.microsoft.com/Forums/ie/en-US/e5d21dc6-3c10-423e-bb52-d27012b0e641/email-picture-not-working-properly-on-internet-explorerwindows-10-build-1607?forum=ieitprocurrentver this fixed my issue -
I did this last week and it downloaded el capitan to a 2012 macbook pro............
-
we did the wedding march from flash Gordon!
-
Hi I need the following help I need to set this key in GPO for office 2013 HKU\S-1-5-21-2341902835-2447356269-4272622596-1181\SOFTWARE\Microsoft\Office\16.0\Outlook\Profiles\Outlook\0a0d020000000000c000000000000046\00030499: 01 00 00 00 problem is not everyone as the profile called outlook, We have some with outlook2 and various other ones example HKU\S-1-5-21-2341902835-2447356269-4272622596-1181\SOFTWARE\Microsoft\Office\16.0\Outlook\Profiles\Outlook HKU\S-1-5-21-2341902835-2447356269-4272622596-1181\SOFTWARE\Microsoft\Office\16.0\Outlook\Profiles\Outlook2 any help much appreciated Thanks Mark
-
Hi All Anyone with the dell xps 13" and hates the adaptive brightness control, fix found here https://drive.google.com/file/d/0BwSnIxxl4kxkbXdSX2FkNE5OR1E/view thanks to this thread https://github.com/advancingu/XPS13Linux/issues/2
-
should ban cyclists owning go pro's (got you on camera! ha ha) idiots
-
I have sbs2011 and the installer always plays up! logging in as a different admin user usually does the trick Cheers Mark
-
Damn button! I had to **eset blocking it now**
-
http://www.edugeek.net/forums/hardware/36047-hp-laserjet-p2055dns-going-offline-not-responding-6.html#post553606
-
Had a few today and also yesterday, no attachments just random txt pulled from the web!

