Error message when running Import-PSSession cmdlet in Exchange online

‚ÄčIf, after running the Import-PSSession $Session cmd-let, you receive this error message:

Import-PSSession : Files cannot be loaded because the running of scripts is disabled on this system. Please provide a valid certificate with which to sign the files.

…then run this cmd-let prior to the one above:

Set-ExecutionPolicy Unrestricted