
zicle (zicle) asked a question.
Is there a way to stop Okta from sending activation emails when creating users via the api connection with a powershell script? The users are auto activated in Okta however Okta still seems to send an activation email to the created user.

User activation you can control while creating the user. you can pass True or False. Regarding the send email functionality, it should not send the notification, there may be some issue with configuration. I have never tried with PowerShell but I have done it via rest api it works as expected.
Are you using OKTA APIs directly in powershell or u have installed okta PSModules ? If you are invoking the API s directly, you do have that option. If its via OKTA PS Modules, then while using New-OKTAUser you may need to pass some parameter as false I believe.
May be the below helps you..
https://unnieayilliath.com/2019/10/05/okta-api-bulk-user-creation-using-powershell/