powershell-universal icon indicating copy to clipboard operation
powershell-universal copied to clipboard

5.0.10 - Send-PSUEvent partially "broken" since 5.0.9 changes

Open donlent opened this issue 4 months ago • 7 comments

Version

5.0.10

Severity

Critical

Environment

msi

Steps to Reproduce

Dear @adamdriscoll

Really sorry to bother again with new stuff but unfortunately since your changes documented here the Send-PSUEvent doesn't work anymore when used inside of modules :-( https://github.com/ironmansoftware/powershell-universal/issues/3810

This again breaks again some project functionality unfortunately. in 5.0.6 it used to work without problem and now I get this error message:

image

I tried adding -ComputerName, -AppToken, -TrustCertificate, -Integrated... various combinations but no success! Then I thought to rollback to a previous version before your changes (5.0.8) but unfortunately the DB schema seems to not "like" it and therefore I'm really stuck now. :-( Really hope that you find the source of the problem!

Additional Info: The appsettings.json contains this:

"Api": {
      "SecurityModel": "Permissive",
	  "TrustCertificate": true
  }

Unfortunately it doesn't help so don't know what it is.

Thanks a lot for your much appreciated help!!

Expected behavior

Send-PSUEvent should work as it used to work on 5.0.6

Actual behavior

Send-PSUEvent doesn't work anymore as it used to work from inside Modules and I wasn't able to find a workaround to get it to work.

Additional Environment data

No response

Screenshots/Animations

No response

donlent avatar Oct 14 '24 15:10 donlent