How to: Create an Endpoint to get AD groups (Mid Server involved)

Vishal Jawalka1
Tera Expert

Synopsis: Create an endpoint to get AD groups utilizing the mid server to run the powershell script allocated in the server.

 

1. Create a Scripted Rest api with Base API path

 

VishalJawalka1_0-1744794556185.png

 

Relative path you can mention, Resource path will be added automatically

 

2. As you are try to retrieve Data using a third party app. Create HTTP GET Method using Resources in the related list

VishalJawalka1_1-1744794687121.png

 

3. Create your scripted REST api script, connecting the midserver and command to execute the powershell script

VishalJawalka1_2-1744794833051.png

 

4, you have established an Endpoint which can be tested from third party app.

 

note : Authentication can be defined based on methods which can be used ex : oauth, basic, digest, etc

 

 

 

 

0 REPLIES 0