0 votes

Has anyone used the Salesforce APIs to create and modify users accounts? Can they be used in Adaxes? We have setup SAML SSO to connect to Salesforce and want to set it up so that Adaxes creates and disables the accounts in Saleforce.

Thanks for any input

by (1.2k points)

1 Answer

0 votes
by (216k points)

Hello,

Salesforce provides a number of APIs based off web services using WSDL: https://help.salesforce.com/HTViewHelpD ... uage=en_US. Web services can be easily accessed from Adaxes with the help of PowerShell scripts.

How to call a WSDL web service in Adaxes
PowerShell cmdlet New-WebServiceProxy can be used to create a proxy object for a given web service. Using the proxy object, you can use and manage a web service. The following script calls the DoSomething method of a specific web service, passing the username of the user, on which the PowerShell script is executed, as a parameter.

$service = New-WebServiceProxy -uri http://www.company.com/Service.asmx?WSDL

$param = "%username%"
$service.DoSomething($param)

So, you can create PowerShell scripts that call methods and properties of Salesforce APIs from Adaxes, and use the scripts in Adaxes Business Rules, Custom Commands and Scheduled Tasks to run the scripts when a certain operation is performed in AD, on demand or on schedule.

Take a look at the following tutorials with examples on how you can integrate PowerShell scripts with Adaxes:
Run PowerShell Script after Creating a User
Autoenroll Users for Self-Password Reset (running a script on a schedule).

Also, this Adaxes SDK article can help you with your scripts: http://www.adaxes.com/sdk/?ServerSideScripting.html

Related questions

0 votes
2 answers

Right now, we are generating the request for create new users via Webpage, I would like to know if there is a possibility to generate this kind of request using the API or SDK

asked Apr 20, 2020 by jcvertiz_stk (20 points)
0 votes
1 answer

Good Evening I don't know if this is possible, but can we use the API and get a report from adaxes. The report is Reports\All Reports\Groups\Membership "Users' membership ... the groups and it will generate an API to adaxes and return a PDF report. Thank you

asked May 23, 2022 by Sandberg94 (340 points)
0 votes
1 answer

I have a fairly simple function that I want to convert to a report in Adaxes that others can use The PowerShell function as it currently exists function Get-Groups { [CmdletBinding( ... with errors or a blank report. So how can I just add values to the report?

asked Jan 10 by jcrook (100 points)
0 votes
0 answers

We would like users to be able to add their mobile number and carrier information from within the web console. Preferably, they would enter their mobile number in a ... ". This address would then be written to an extensionAttribute field in Active Directory.

asked Mar 2, 2016 by Kikaida (1.1k points)
0 votes
1 answer

We get Sharepoint Online requests for access to sites/folder/content. Is there a way to automate this task?

asked Jul 10, 2023 by dharry (20 points)
3,348 questions
3,049 answers
7,791 comments
545,060 users