Hi All. I am trialing Insight (Cloud) but still can't work out how to import assets into insight.
I have tried to connect via PowerShell\API key but get an error 'Invoke-RestMethod : The remote server returned an error: (403) Forbidden.'
Script:
$InsightURL = "https://TrialAccount.atlassian.net/rest/insight/1.0/objectschema/list"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
$Headers = @{
Authorization = "Bearer (APIKEYHERE)"
'Content-Type' = 'application/json'
}
Invoke-RestMethod -Uri $InsightURL -Headers $headers -Method GET
The SCCM importer doesn't work with cloud or I could just use that.
Any help would be great.