Looks like there is a bug in the v1.3 script when trying to connect to the Security & Compliance center.
The credentials used work fine for connecting to Exchange Online and Azure AD, and work fine if I manually connect to the Security Center using the Connect-IPPSSession command.