sailpoint-oss / powershell-sdk

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

Bug fix for email template attributes Dto conversion check #68

Closed patrickboston closed 9 months ago

patrickboston commented 10 months ago

When using Get-BetaNotificationTemplates, it returns additional attributes slackTemplate and teamsTemplate which always seem to be null. ConvertFrom-BetaJsonToTemplateDto will not accept these parameters today in the JSON body that is passed, so you need to remove them first before being able to make this call successfully, which is required to call New-BetaNotificationTemplate -TemplateDto $dto. Just a small tedious thing when trying to move templates from one tenant to another.

image

patrickboston commented 10 months ago

Is this the correct place for this change, or should it be happening in api-specs as it seems this SDK is generated from those specs?

patrickboston commented 9 months ago

Closing since this should have been done in api-specs