The script below registers a Smart API for the SEM Web API and updates the application configuration files with a new Service ID.
Values shown in italics should be replaced by your own values.
powershell.exe -file "[path]\PostInstallation\AuthenticationConfiguration.ps1" -installationType "SEM_WebAPI" -oauthIssuerUrl "https://samadmin.MyDomain.com/sam/oauth/" -username "SemAdmin" -password "MyAdmin123" -client_id "10AABBCC-1234-5678-9ABC-DEF123456789" -client_secret "MyClientSecret123" -serviceDescriptionUrl "https://MyServerDomain/Mywebapi3.0/sem/v3/description" -Verbose