Add-passafemember error 500

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Add-passafemember error 500

L0 Member

Trying to add members from AD using the following command:

 

Add-PASSafeMember -MemberName <NAME> -SafeName <SAFENAME> -UseGen1API -SearchIn <Domain>

 

returns with error 500:

 Invoke-WebRequest : The remote server returned an error: (500) Internal Server

 At line:216 char:19

+ ... $APIResponse = Invoke-WebRequest @PSBoundParameters -ErrorAction Stop

+                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   + CategoryInfo         : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException

   + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

 

How can I get the command to search the domain?

2 REPLIES 2

L5 Sessionator

Hi @Daniel Ruck​ 

 

Thank you for submitting this question to the Technical Community!

 

As the community has not answered this question for some time now, could you kindly share if you could resolve this issue and how? 

If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.

 

Thanks,

Gil

L5 Sessionator

@Daniel Ruck​ - appears safe member permissions are not being specified in the command?

You can refer to the command examples here: Add-PASSafeMember

  • 373 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!