Connect-PSUServer after switching to OIDC

We are trying to connect to the PSU server after switching from Windows auth to OIDC but are running into the following error when trying to run Connect-PSUServer.

" [Response could not be deserialized to JSON"

We’ve tried changing Connect-PSUServer to use the app token but still have the same error. Previously it was set to “-UseDefaultCredentials” with windows auth and working.

The windows service is using a service account.

Anyone have a fix for this issue?

Product: PowerShell Universal
Version: 5.2.0