sailpoint-oss / powershell-sdk

PowerShell Module for accessing SailPoint IdentityNow APIs
https://developer.sailpoint.com/
MIT License
21 stars 15 forks source link

Export-BetaSpConfigDownload tries to pull creds from config.yaml file from SDK instead of config.json file #69

Closed chkmcheek closed 10 months ago

chkmcheek commented 10 months ago

I have a valid config.json file in the directory where I'm trying to run Export-BetaSpConfigDownload, but it appears it's trying to pull client creds from the yaml file that would normally be generated by the SDK

PS C:\Users\mcheek\OneDrive - Chesapeake Energy\Scripts\PS\sailpoint> Export-BetaSpConfigDownload -Id $job_id | ConvertTo-Json | Out-File -FilePath "C:\Temp\$($source_name) - $($source_id)" No clientid set for environment: prd No clientsecret set for environment: prd ClientId, ClientSecret or TokenUrl Missing. Please provide values in the environment or in ~/.sailpoint/config.yaml

chkmcheek commented 10 months ago

It seems that Export-BetaSpConfigDownload might have been associated with an older version of the SDK, and appears to have been replaced by Get-BetaSpConfigExport