I recently made changes to Set-ExecutionPolicy to AllSigned. I am using self assigned singature and trying to run the follow signed script.
**** Connect to Office 365 ****
$LiveCred = Get-Credential
Get-DistributionGroupMember -Identity "accounting"
WARNING: Your connection has been redirected to the following URI: "https://ps.outlook.com/PowerShel
Can you used self assign scripts with o365?
That's because it's attempting to implicitly remote the O365 commands into your system, and the resulting shadow module doesn't get signed. Not really a workaround for that.
And even so, a self-signed certificate does nothing for you in terms of security. It isn't trusted, you can't manage revocation, etc. If you're just going to used self-signed, you're pretty much wasting your time with it from a security and integrity perspective anyway.
Thank you for the information. I expected you to say the things you have just wanted to verify it.
I have some research to do now.
You must be logged in to reply to this topic.