mbegan / Okta-PSModule

Okta API Powershell Wrapper Module
Other
102 stars 31 forks source link

oktaAddUserAdminTarget #12

Closed vikashdaya closed 6 years ago

vikashdaya commented 7 years ago

Hi Matt

This cmdlet doesn't work. I get the following error: E0000022 ; The endpoint does not support the provided HTTP method At C:\Program Files\WindowsPowerShell\Modules\okta\Okta.psm1:34 char:5

vikashdaya commented 7 years ago

Changed the Method to "PUT" and now I get the following error: E0000091 ; The provided role type was not the same as required role type. At C:\Program Files\WindowsPowerShell\Modules\okta\Okta.psm1:34 char:5

vikashdaya commented 7 years ago

tried using the "oktaAddUsertoRoles" cmdlet to assign User Admin role and target to a group. Role assignment works but group targeting doesn't.

mbegan commented 6 years ago

Roles are only able to be assigned to users