New-PnPSite fails with "App-Only is currently not supported"

Respected Contributor

I have a script with the new-pnpsite cmdlet that has been working, I just ran it again I'm getting an error that App-Only is currently not supported.  Does anyone know what would cause this or how to fix it?



@Erwin van Hunen


It turns out that this problem occurs in 2.21.1712.2 when i roll back to 2.20.1711.0 my script works fine

1 Reply
Also fails in the latest version:
SharePointPnPPowerShellOnline 2.22.1801.0