I've tried the following but I an extremely helpful error message that says 'Invoke-SwisVerb : Unable to create application'
Invoke-SwisVerb -EntityName 'Orion.APM.SqlServerApplication' -Verb 'CreateApplication' -Arguments @($nodeid,$applicationtemplateid,$credentialsetid,1) -SwisConnection $swis
When I tried to supply an argument for the 'applicationSettings' like below I got the error message that says 'Invoke-SwisVerb : Verb Orion.APM.Application.CreateApplication cannot unpackage parameter 4 of type'
Invoke-SwisVerb -EntityName 'Orion.APM.SqlServerApplication' -Verb 'CreateApplication' -Arguments @($nodeid,$applicationtemplateid,$credentialsetid,1,@{PortType='Default';QueryTimeout=30;SelectedCredentialType='AutoDetect';SqlCredentialSetId=373;WindowsAuthentication="true";WmiCredentialSetId=373}) -SwisConnection $swis
Does anyone know how to create an appinsight for SQL application with the SDK? Any help is appreciated. I can't find any examples online.