- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
01-25-2023 10:47 AM
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?
03-15-2023 02:24 AM
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
03-15-2023 03:41 AM
@Daniel Ruck - appears safe member permissions are not being specified in the command?
You can refer to the command examples here: Add-PASSafeMember
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!

