Skip to main content

Hello guys,

 

I’m having issues with deploying the new version 3.5.0 of Freshservice Discovery Agent on Intune. Normally it was a simple task as it was just a msi file, but in the new version I need to add a token to the installation. I have the token, but I can't seem to get it to work in a powershell script to silently install it.

 

Has anyone tried installing the program with the token via powershell silently?

 

Thanks in advance

….

Exactly the same here: All Installation failed with severe error - looks like it worked before but now not.


https://support.freshservice.com/support/solutions/articles/223635-installing-discovery-agent-win-?_gl=1*rg4iy8*_gcl_au*MTcwMzA1NjY4Ni4xNzI3Nzc0ODI2*_ga*MTA3OTE2NzI3OC4xNzI3Nzc0ODI2*_ga_5S1FBQDGB1*MTcyNzc3NDgzMC4xLjEuMTcyNzc3NTgzNy42MC4wLjA.#:~:text=copy%20the%20registration%20token%20which%20will%20be%20used%20in%20the%20installation%20process.%20

 


Hi Dely,

I’ve had a similar issue when deploying Freshservice Discovery Agent 3.5.0 using Intune. Since the new version requires a token for installation, you’ll need to modify your PowerShell script to include it as part of the silent installation.

Here’s an example of a command that worked for me:

 

powershell

Copy code

msiexec /i "FreshserviceDiscoveryAgent.msi" TOKEN=YourTokenHere /quiet /norestart

Make sure to replace YourTokenHere with your actual token. If the token is correct, this should install the agent silently.

Also, ensure that the MSI and script are properly packaged and uploaded to Intune. Double-check that the token doesn't contain any extra spaces or invalid characters, as this could cause installation issues.

Let me know if this helps or if you're running into any specific errors!


actually it worked by me using this script.


Start-Process -FilePath ".\fs-windows-agent-3.5.0.msi" -ArgumentList "/quiet", "REGISTRATIONTOKEN=YourTokenHere"