Skip to main content
Question

creating a new user using powershell


Trying to create a user using powershell but getting an invalid field error. Anyone know what are the required fields to create a user? Any suggestions? Image is attached.

Did this topic help you find an answer to your question?

3 replies

Shafeer
Community Debut
  • Community Debut
  • 3 replies
  • August 15, 2024

Hi klingirling,

Can you please check the below API documentation. The fields marked in * are mandatory
https://api.freshservice.com/#create_a_requester

Also check your Powershell code for any potential syntax issues

Thanks,
Shafeer
Freshservice Team


Jane56
Community Debut
  • Community Debut
  • 1 reply
  • August 19, 2024

Thank you! I appreciate your guidance and support. I was encountering the same issue, and it turns out there was a syntax error in my PowerShell code.

 

  Hi klingirling,

Can you please check the below API documentation. The fields marked in * are mandatory
https://api.freshservice.com/#create_a_requester

Also check your Powershell code for any potential syntax issues

Thanks,
Shafeer
Freshservice Team


Shafeer
Community Debut
  • Community Debut
  • 3 replies
  • August 19, 2024

Let me know once you fix the Syntax issues. Please read the  API documentation as well

Thanks,
Shafeer


Reply