
AlexR.51587 (Customer) asked a question.
Hi,
Is it possible to edit the settings in an application assignment against a user. For instance users have Office associated to them but we are forced by MS to have the Usage location field populated and I'd like to populate that field via powershell. I've looked at the api referrence and I can't see anything like this.
Thanks

Hello Alex,
You would have to make use of the following API endpoint, to update the assignment profile:
https://developer.okta.com/docs/api/resources/apps#update-application-profile-for-assigned-user
You can find multiple resources online for PowerShell specifically for how to use Restful API's. Here is a quick starting point:
https://blogs.technet.microsoft.com/heyscriptingguy/2018/02/21/powershell-and-the-rest-api-for-the-it-pro/
I hope this helps.
Thank you,
Bogdan Andrisan
Okta Customer Support