Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Can I get an authorization token when my user has MFA activated?

AXPP
New Contributor
New Contributor

I want to use the Get Authorization Token API call (https://documenter.getpostman.com/view/23971061/2s8YzQXPvV#0b187550-a2a1-44cc-b294-5b9f9d76b660).

I got a read account for the Saviynt portal.

This is my PowerShell code for this call.

$Auth = Get-Credentials

$url = https://{customer-specific}.saviyntcloud.com/ECM/api/login

$body = @{

  "username" = $Auth.UserName

  "password" = $Auth.GetNetworkCredential().Password

} | ConvertTo-Json

$result = Invoke-RestMethod -Method Post -Uri $url -ContentType "application/json"

 The error message is:

Response status code does not indicate success: 400 ().

Does my user need some special permissions to be allowed to run REST API calls or is it possible to run REST calls when MFA is activated on a user?

2 REPLIES 2

mbinsale
Saviynt Employee
Saviynt Employee

Ensure with your admin you have the below privileges

Capture.JPGCapture1.JPG

SB
Saviynt Employee
Saviynt Employee

You will need to provide api permissions to the SAV role assigned to this user. 

To assign these permissions, you can navigate to Admin>SAV Roles.

Under the selected Role, navigate to Web Service Access and add the api permission.

sahil_0-1678747436604.png

 


Regards,
Sahil