How to use pspas or rest API to update the device type and platform? I'm trying to update an account to a different platform from operating system to Directory device type.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

How to use pspas or rest API to update the device type and platform? I'm trying to update an account to a different platform from operating system to Directory device type.

L1 Bithead
3 REPLIES 3

L7 Applicator

You can export the platform , make the change in the xml, rezip and reimport.

Depending on your version , it may allow you to import even though it's already there (it will ask if you want to replace ), or you need to delete and reimport .

 

As long as the platform name remains the same it will re associate itself with the accounts , but please test .

L1 Bithead

I guess I should have been more specific. I am trying to update an account to a different platform which is under a different device type. It is currently in a "Operating System" Device type and I want to change to a new platform which is a "Directory" device type. This is the example command I ran and the result

 

set-pasaccount -AccountID $id -op replace -path /devicetype -value "Directory"

Invoke-PASRestMethod : [400] Property 'DeviceType' cannot be updated

Currently the REST API cannot do this.

You have to use the old (classic) PVWA UI) or I guess PACLI can be used as well.

  • 172 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!